html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}


:root{
  --bg:#faf7f2;
  --white:#ffffff;
  --dark:#2f2a25;
  --gold:#d59a2d;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:'Poppins',sans-serif;
  background:var(--bg);
  color:var(--dark);
}

h1,h2,h3{font-family:'Playfair Display',serif;}

.header{
  position:fixed;top:0;width:100%;
  background:var(--bg);
  display:flex;justify-content:space-between;
  align-items:center;
  padding:18px 70px;
  z-index:100;
  border-bottom:1px solid #eee;
}
/* HEADER SHRINK */
.header {
  transition: all 0.3s ease;
}

.header.shrink {
  padding: 10px 70px;
  background: rgba(250,247,242,0.95);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.header.shrink .logo span {
  font-size: 18px;
}

.logo span{font-size:20px;font-weight:600;}
.logo small{display:block;color:var(--gold);letter-spacing:2px;}

nav a{
  margin-left:30px;
  text-decoration:none;
  color:#666;
  font-weight:500;
}
nav a.active, nav a:hover{color:var(--gold);}

.section{
  padding:120px 80px;
}

.section-header{
  text-align:center;
  margin-bottom:60px;
}
.section-header span{
  color:var(--gold);
  letter-spacing:3px;
  font-size:13px;
}
.section-header h2{
  font-size:44px;
  margin:10px 0;
}

.btn{
  display:inline-block;
  padding:14px 26px;
  text-decoration:none;
  border-radius:6px;
  font-weight:500;
}
.primary{background:var(--gold);color:#fff;}
.outline{border:1px solid var(--gold);color:var(--gold);}

footer{
  background:#2b2622;
  color:#aaa;
  text-align:center;
  padding:25px;
}

/* Floating buttons */
.float{
  position:fixed;
  right:25px;
  width:55px;height:55px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:22px;
  text-decoration:none;
  z-index:200;
}
.whatsapp{bottom:90px;background:#25D366;}
.call{bottom:25px;background:var(--gold);}
/* IMAGE SHOWCASE */
.image-showcase {
  padding: 100px 80px;
  background: #fff;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-item:hover img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  transition: opacity 0.4s ease;
}

.image-item:hover .image-overlay {
  opacity: 1;
}

/* PRE-FOOTER CTA */
.pre-footer {
  background: #3a332c;
  color: #fff;
  padding: 100px 80px;
  text-align: center;
}

.pre-footer h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.pre-footer p {
  opacity: 0.85;
  margin-bottom: 35px;
}

/* FOOTER UPGRADE */
footer {
  background: #2b2622;
  padding: 18px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-logo span {
  font-size: 20px;
  color: #fff;
}

.footer-logo small {
  display: block;
  color: var(--gold);
  letter-spacing: 2px;
}

.footer-links a,
.footer-contact p {
  display: block;
  color: #aaa;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 12px;
}
/* FORCE FOOTER TO BOTTOM */
.page-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
}
/* CONTACT PAGE PREMIUM */
.contact-section {
  padding-top: 160px;
}

.section-tag {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 13px;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-info h2 {
  font-size: 44px;
  margin: 10px 0 20px;
}

.contact-desc {
  color: #555;
  margin-bottom: 30px;
  line-height: 1.8;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  padding: 18px 20px;
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.contact-card span {
  font-size: 22px;
}

.contact-card strong {
  display: block;
  font-size: 15px;
}

.contact-card p {
  font-size: 14px;
  color: #666;
}

.contact-form-box {
  background: #fff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.contact-form-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 25px;
}

.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  padding: 14px 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
}

.contact-form-box textarea {
  height: 120px;
  resize: none;
}

.contact-form-box small {
  display: block;
  text-align: center;
  margin-top: 12px;
  color: #888;
  font-size: 13px;
}
/* ABOUT PAGE PREMIUM */
.about-section {
  padding-top: 160px;
}

.about-intro {
  max-width: 900px;
  margin: 0 auto 80px;
  text-align: center;
}

.about-intro h2 {
  font-size: 44px;
  margin: 15px 0 20px;
}

.about-intro p {
  color: #555;
  line-height: 1.9;
  font-size: 17px;
}

.about-stats {
  max-width: 1000px;
  margin: 0 auto 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stat-box {
  background: #fff;
  padding: 40px 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.05);
}

.stat-box h3 {
  font-size: 42px;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat-box span {
  color: #666;
}

.about-values {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.about-values h3 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.value-card {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.value-card h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.value-card p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
}
/* SCROLL ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.services-list {
  max-width: 700px;
  margin: 60px auto 0;
  padding: 0;
  list-style: none;
}

.services-list li {
  padding: 14px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  letter-spacing: 0.4px;
}
.services-grid {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}


/* ================================
   SERVICES GRID
================================ */
.services-grid {
  max-width: 1100px;
  margin: 60px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

/* ================================
   SERVICE CARD
================================ */
.service-card {
  position: relative;
  height: 220px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.15);
}

/* ================================
   FRONT (DEFAULT STATE)
================================ */
.service-front {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  letter-spacing: 0.4px;
  background: #fff;
  transition: opacity 0.3s ease;
}

/* ================================
   HOVER LAYER
================================ */
.service-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* FULL IMAGE */
.service-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* IMAGE ZOOM */
.service-card:hover .service-image img {
  transform: scale(1.12);
}

/* ================================
   TEXT OVERLAY (BOTTOM)
================================ */
.service-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: #fff;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0)
  );
}

.service-info h4 {
  font-size: 18px;
  margin: 0 0 6px;
}

.service-info p {
  font-size: 14px;
  line-height: 1.45;
  max-width: 90%;
  opacity: 0.9;
}

/* ================================
   HOVER SWITCH
================================ */
.service-card:hover .service-front {
  opacity: 0;
}

.service-card:hover .service-hover {
  opacity: 1;
}

/* ================================
   MOBILE FALLBACK
================================ */
@media (max-width: 768px) {
  .service-card {
    height: 200px;
  }

  .service-front {
    display: none;
  }

  .service-hover {
    opacity: 1;
    position: relative;
  }
}
/* ===== WORK GALLERY ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 60px;
}

.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Hover (subtle – professional) */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

/* ================================
   MOBILE & TABLET RESPONSIVE
   Improvements for header, nav, grids, forms
================================ */
@media (max-width: 1024px) {
  .header { padding: 12px 30px; }
  .section { padding: 80px 30px; }
  .section-header h2 { font-size: 34px; }

  .image-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  /* Header becomes stacked and nav becomes horizontally scrollable */
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 18px;
  }

  .logo { margin-bottom: 8px; }

  nav {
    width: 100%;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  nav a { margin-left: 0; white-space: nowrap; padding: 8px 6px; }

  .section { padding: 60px 18px; }
  .section-header h2 { font-size: 28px; }

  /* Image showcase -> 2 columns on phones */
  .image-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .image-item { border-radius: 10px; }

  /* Services grid -> 2 columns */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .service-card { min-height: 180px; }

  /* Gallery -> 2 columns */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  /* Contact layout stacks vertically */
  .contact-grid { grid-template-columns: 1fr; gap: 18px; padding: 0 12px; }
  .contact-info, .contact-form-box { padding: 18px; }

  /* Footer stacks */
  .footer-grid { grid-template-columns: 1fr; gap: 18px; padding: 20px; }

  /* Make buttons full width where appropriate */
  .btn { padding: 12px 16px; font-size: 15px; }

  /* Reduce large text sizes */
  .pre-footer h2 { font-size: 28px; }
  .section-header p, .pre-footer p { font-size: 15px; }

  /* Ensure page content spacing is reasonable */
  .page-content { padding-bottom: 60px; }
}

@media (max-width: 420px) {
  .header { padding: 8px 12px; }
  .logo span { font-size: 18px; }
  .section-header h2 { font-size: 22px; }

  .image-grid { gap: 8px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 140px; }

  nav { gap: 8px; }
}

/* NAV TOGGLE BUTTON */
.nav-toggle{
  display:none;
  background:transparent;
  border:0;
  font-size:26px;
  line-height:1;
  color:var(--dark);
  cursor:pointer;
}

@media (max-width: 768px){
  /* hide default nav and show toggle */
  .nav-toggle{ display:block; position: absolute; right: 18px; top: 14px; }
  nav{
    display:none;
    width:100%;
    background:var(--bg);
    position: absolute;
    left:0;
    top:60px;
    padding: 12px 18px 18px 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    z-index:150;
    border-bottom:1px solid rgba(0,0,0,0.04);
  }

  .header.nav-open nav{ display:block; }

  nav a{ display:block; padding:10px 0; border-bottom:1px solid rgba(0,0,0,0.03); color:var(--dark); }
  nav a.active, nav a:hover{ color:var(--gold); }

  /* make floating buttons slightly left to avoid overlap */
  .float{ right:14px; }
}

/* Images: allow variable height on very small screens */
@media (max-width: 420px){
  .gallery-item img, .image-item img { height: auto; }
  .gallery-item img { max-height: 320px; }
}
