/* ============================================================
   ANICO Construction and Cleaning — style.css
   Brand: #F5C518 (gold) | #1E2A3A (dark blue) | #FFFFFF
   Fonts: Montserrat (headings) + Open Sans (body)
   ============================================================ */

/* ─── CSS Custom Properties ───────────────────────────────── */
:root {
  --gold:        #F5C518;
  --gold-hover:  #D4A800;
  --dark:        #1E2A3A;
  --dark-soft:   #253345;
  --text:        #2D2D2D;
  --text-muted:  #6c757d;
  --white:       #ffffff;
  --bg-light:    #f8f9fa;
  --border:      #dee2e6;
  --radius:      10px;
  --shadow:      0 4px 20px rgba(0,0,0,.10);
  --shadow-hover:0 8px 36px rgba(0,0,0,.18);
  --transition:  .3s ease;
  --font-head:   'Montserrat', sans-serif;
  --font-body:   'Open Sans', sans-serif;
}

/* ─── Base ───────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-hover); }
img { max-width: 100%; display: block; }

/* ─── Utility classes ────────────────────────────────────── */
.text-gold   { color: var(--gold)  !important; }
.text-dark   { color: var(--dark)  !important; }
.bg-dark-anico { background: var(--dark) !important; }
.bg-gold     { background: var(--gold) !important; }

.section-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* ─── Buttons ────────────────────────────────────────────── */
.btn-anico-gold {
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: .6rem 1.6rem;
  transition: var(--transition);
}
.btn-anico-gold:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,197,24,.4);
}

.btn-anico-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  border: 2px solid var(--white);
  border-radius: 50px;
  padding: .6rem 1.6rem;
  transition: var(--transition);
}
.btn-anico-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

/* ─── Navbar ─────────────────────────────────────────────── */
.anico-navbar {
  background: var(--dark);
  padding: .75rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.anico-navbar.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.3);
}
.navbar-brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.anico-navbar .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  color: rgba(255,255,255,.85) !important;
  padding: .5rem .75rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.anico-navbar .nav-link:hover,
.anico-navbar .nav-link.active {
  color: var(--gold) !important;
  background: rgba(245,197,24,.08);
}
.lang-toggle {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .06em;
}

/* ─── Hero Section ───────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: .35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30,42,58,.85) 0%, rgba(30,42,58,.6) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
}
.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero-title span { color: var(--gold); }
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  max-width: 600px;
  margin-bottom: 2.2rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ─── About Section ──────────────────────────────────────── */
.about-section { padding: 5rem 0; background: var(--white); }
.about-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-image-wrap img { width: 100%; height: 450px; object-fit: cover; }
.about-content { padding: 1.5rem 0; }
.about-text { color: var(--text); margin-bottom: 2rem; font-size: 1.05rem; }
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--bg-light);
  border: 2px solid var(--gold);
  border-radius: 50px;
  padding: .45rem 1rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  color: var(--dark);
}
.trust-badge i { color: var(--gold); }

/* ─── Services Section ───────────────────────────────────── */
.services-section { padding: 5rem 0; background: var(--bg-light); }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}
.service-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--gold);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 1rem;
  flex-shrink: 0;
}
.service-card-body h5 {
  font-size: 1.1rem;
  margin-bottom: .6rem;
}
.service-card-body p {
  color: var(--text-muted);
  font-size: .92rem;
  flex: 1;
}
.service-card-body .btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ─── Portfolio Section ──────────────────────────────────── */
.portfolio-section { padding: 5rem 0; }
.portfolio-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .portfolio-grid { grid-template-columns: 1fr; } }

.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,42,58,.78);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.2rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h6 { color: var(--white); font-family: var(--font-head); font-size: .95rem; margin-bottom: .2rem; }
.portfolio-overlay span { color: var(--gold); font-size: .8rem; font-weight: 600; }

/* Portfolio grid: overlay action icons */
.portfolio-overlay-icons { display: flex; gap: .5rem; }
.portfolio-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  color: #fff;
  font-size: .85rem;
  transition: background var(--transition);
}
.portfolio-icon-btn:hover { background: var(--gold); color: var(--dark); }

/* Portfolio grid card as link — remove default link decoration */
a.portfolio-item {
  text-decoration: none;
  display: block;
}
a.portfolio-item:hover { text-decoration: none; }

/* ─── Portfolio Page: Filter Buttons ─────────────────────── */
.filter-btn {
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .82rem;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: .5rem;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

/* ─── Testimonials Section ───────────────────────────────── */
.testimonials-section {
  padding: 5rem 0;
  background: var(--dark);
}
.testimonials-section .section-title { color: var(--white); }
.testimonial-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
  color: var(--white);
}
.testimonial-stars { color: var(--gold); font-size: 1rem; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; margin-bottom: 1.5rem; opacity: .9; font-size: .97rem; }
.testimonial-client strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.testimonial-client span { font-size: .82rem; color: var(--gold); }
.swiper-pagination-bullet { background: rgba(255,255,255,.5); }
.swiper-pagination-bullet-active { background: var(--gold); }

/* ─── CTA Banner ─────────────────────────────────────────── */
.cta-section {
  padding: 5rem 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px; left: -60px;
  width: 300px; height: 300px;
  background: var(--gold);
  opacity: .05;
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -40px;
  width: 400px; height: 400px;
  background: var(--gold);
  opacity: .04;
  border-radius: 50%;
}
.cta-section h2 { font-size: 2.4rem; color: var(--white); margin-bottom: .75rem; }
.cta-section p  { color: rgba(255,255,255,.75); font-size: 1.05rem; max-width: 600px; margin: 0 auto 2rem; }

/* ─── Page Banner (inner pages) ──────────────────────────── */
.page-banner {
  background-color: var(--dark);
  background-size: cover;
  background-position: center;
  padding: 4.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* dark overlay so text stays readable over any photo */
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 30, 44, 0.68);
  z-index: 0;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-banner p  { color: rgba(255,255,255,.82); margin-top: .5rem; }
.page-banner::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  z-index: 1;
}

/* ─── Contact Page ───────────────────────────────────────── */
.contact-section { padding: 4rem 0; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .35rem;
  padding: .3rem .75rem;
  background: #25D366;
  color: #fff;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .15s;
  line-height: 1;
}
.wa-btn:hover {
  background: #1da851;
  color: #fff;
  transform: translateY(-1px);
}
.nav-tabs .nav-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--text-muted);
  border: none;
  border-bottom: 3px solid transparent;
  padding: .75rem 1.5rem;
  font-size: .95rem;
}
.nav-tabs .nav-link.active {
  color: var(--dark);
  border-bottom-color: var(--gold);
  background: transparent;
}

/* ─── Forms ──────────────────────────────────────────────── */
.form-control, .form-select {
  border: 2px solid var(--border);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,197,24,.18);
  outline: none;
}
.form-label {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  color: var(--dark);
  margin-bottom: .35rem;
}

/* ─── Footer ─────────────────────────────────────────────── */
.anico-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
}
.footer-brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--gold);
}
.footer-tagline { font-size: .88rem; opacity: .7; margin-top: .25rem; }
.footer-heading {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
}
.footer-links li {
  margin-bottom: .5rem;
}
.footer-links a {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: color var(--transition);
}
.footer-links a::before {
  content: '▸ ';
  color: var(--gold);
  font-size: .7rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-contact-list {
  list-style: none;
  padding: 0;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  margin-bottom: .9rem;
  font-size: .9rem;
  color: rgba(255,255,255,.75);
}
.footer-contact-list i {
  color: var(--gold);
  margin-top: .2rem;
  flex-shrink: 0;
}
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--gold); }
.footer-contact-list a.wa-footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: .9rem;
  vertical-align: middle;
  margin-left: .4rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .2s;
}
.footer-contact-list a.wa-footer-btn:hover { background: #1da851; color: #fff; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: .9rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
}
.footer-divider { border-color: rgba(255,255,255,.1); }
.footer-copy  { color: rgba(255,255,255,.5); }
.footer-badge { color: rgba(255,255,255,.5); }

/* ─── Modal / Lightbox ───────────────────────────────────── */
.modal-portfolio img {
  width: 100%; height: 340px;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

/* ─── Login Page ─────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.login-card {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
}
.login-logo {
  text-align: center;
  margin-bottom: 2rem;
}
.login-logo img { height: 70px; margin: 0 auto .75rem; }
.login-logo h2 {
  font-size: 1.5rem;
  color: var(--dark);
}

/* ─── Responsive adjustments ─────────────────────────────── */
@media (max-width: 991px) {
  .hero-section { min-height: 75vh; }
  .about-image-wrap img { height: 320px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 1.8rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════
   Portfolio Detail Page
═══════════════════════════════════════════════════════════ */

/* Carousel image */
.portfolio-carousel-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
@media (max-width: 576px) { .portfolio-carousel-img { height: 230px; } }

/* Thumbnail strip */
.portfolio-thumbs { gap: .5rem; }
.portfolio-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: .6;
  transition: opacity .25s, border-color .25s;
}
.portfolio-thumb:hover,
.portfolio-thumb.active { opacity: 1; border-color: var(--gold); }

/* YouTube video wrapper */
.portfolio-video-wrap { margin-top: 0; }

/* Project info stat boxes */
.portfolio-stat-box {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: #f4f6f8;
  border-radius: 8px;
  padding: .45rem .85rem;
  font-size: .875rem;
  color: var(--dark);
  font-weight: 500;
}
