/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

body {
  padding-top: 80px; /* offset for fixed navbar */
  background: #f4f5f7;
  color: #111;
  overflow-x: hidden;
}

/* ================= NAVBAR ================= */
.navbar {
   position: fixed;
  top: 0;
  width: 100%;
  background-color: #d6d0b0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 40px;
  z-index: 1000;
  animation: slideDown 0.8s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}


.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-size: 28px;
  font-weight: bold;
  color: #111;
}

.logo img {
  height: 200px;   /* Controls logo size */
  width: auto;
  background-color: #012a2a;
  
}

.logo span {
  font-size: 20px;
  font-weight: bold;
  color: rgb(99, 85, 4);
  margin-left: 8px;
}

.navbar nav {
  display: flex;
  align-items: center;
}

.navbar nav a {
  margin-left: 20px;
  color: #111;
  text-decoration: none;
  font-weight: 600;
  transition: color .3s, transform .3s;
}

.navbar nav a:hover {
  color: #fff;
  transform: translateY(-2px);
}


/* HAMBURGER BUTTON (Hidden on Desktop) */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}
/* ===== NAV SOCIAL ===== */
.nav-social {
  display: flex;
  align-items: center;
}

.nav-social a {
  margin-left: 15px;
  padding: 6px 14px;
  background: rgba(0,0,0,0.1);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  transition: all .3s ease;
}

.nav-social a:hover {
  background: linear-gradient(135deg, #013a3a, #2b2f38);
  color: gold;
  transform: translateY(-2px);
}



/* ================= HERO ================= */

/* HERO SECTION */
.hero {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;

    /* Background image + optional dark overlay */
    background: url('images/1_after.webP') no-repeat center center;
    background-size: cover;
    height: 90vh;
    background-position: center;
}

/* HERO CONTENT ON TOP */
.hero-content {
    position: relative;
    z-index: 2;
}

/* TEXT STYLING */
.hero-content h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* BUTTON */
.hero-content button {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 14px 34px;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
}

.hero-content button:hover {
    background: #ff69b4;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        height: 70vh;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .hero-content p {
        font-size: 16px;
    }
}

/* ================= CAROUSEL ================= */
.carousel {
  overflow: hidden;
  background: #012a2a;
  color: gold;
}

.carousel-track {
  display: flex;
  animation: slide 12s infinite;
}

.slide {
  min-width: 100%;
  text-align: center;
  padding: 30px 20px;
  font-size: 26px;
}

/* ================= WHY US ================= */
.why-us {
  padding: 80px 20px;
  text-align: center;
  color: #b5a759;;
}

.why-us h2 {
  font-size: 38px;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  gap: 25px;
  margin-top: 40px;
  grid-template-columns: 1fr;
}



.card {
  padding: 25px;
  border-radius: 15px;
  background: linear-gradient(135deg, #ffd700, #c9a14a);
  transition: transform .4s ease, box-shadow .4s ease, background .4s ease;
  text-align: center;
  color: black;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #ffc10742, #b0892d);
}

.card .icon {
  font-size: 40px;
  margin-bottom: 10px;
  display: block;
}

.card h3 {
  margin: 15px 0 10px;
  font-size: 20px;
}

.card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ================= GALLERY ================= */
.gallery {
  padding: 100px 20px 80px;
  text-align: center;
}

.gallery h2 {
  font-size: 42px;
  margin-bottom: 50px;
}

.gallery-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr;
}


@media (min-width: 468px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  width: 100%;
  height: 280px;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}


/* After image - default visible */
.gallery-card .after {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* Before image - hidden initially */
.gallery-card .before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1) rotate(0deg);
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
}

/* Hover effect: show before image and animate */
.gallery-card:hover .before {
  opacity: 1;
  transform: scale(1.05) rotate(8deg);
  filter: brightness(1.2);
}

/* Hover effect on after image (optional zoom/brightness) */
.gallery-card:hover .after {
  transform: scale(1.1);
  filter: brightness(0.9);
}

/* Card itself moves slightly and gets shadow on hover */
.gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Overlay text */
.gallery-card .overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: gold;
  font-weight: bold;
  font-size: 18px;
  text-align: left;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
  transition: all 0.3s ease;
}

/* Optional: overlay text color on hover */
.gallery-card:hover .overlay {
  color: #fff;
}


/* ================= TESTIMONIALS ================= */
.testimonials {
  padding: 80px 20px;
  background: #012a2a;
  text-align: center;
  color: gold;
}

.testimonials h2 {
  margin-bottom: 40px;
  font-size: 32px;
}

.testimonial-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr;
}


.testimonial-card {
  background: linear-gradient(165deg, #f1d531, #7b5607);
  padding: 30px;
  border-radius: 20px;
  color: black;
  transition: transform .4s ease, box-shadow .4s ease;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 15px;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4);
}

/* ================= FOOTER ================= */
.footer {
  background: rgb(166, 142, 5);
  padding: 30px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
}

.footer-menu {
  margin: 15px 0;
  display: flex;
  flex-wrap: wrap;   /* allow wrapping if too many links */
  justify-content: center; /* center links horizontally */
  gap: 12px;         /* space between links */

}

.footer-menu a {
  text-decoration: none;
  font-weight: 600;
  color: black;
  transition: color .3s ease;
  display: inline-block;  /* keep horizontal */
  margin: 0;              /* remove extra vertical margin */
}

.footer-menu a:hover {
  color: white;
}

.social {
  margin-top: 10px;
}

.social a {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 8px;
  background: rgba(0,0,0,0.1);
  border-radius: 20px;
  font-weight: bold;
  color: black;
  text-decoration: none;
  transition: all .3s ease;
}

.social a:hover {
  background: #012a2a;
  color: gold;
  transform: translateY(-3px);
}

/* ================= ANIMATIONS ================= */
@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

/* CONTACT PAGE */
.contact-page {
    padding: 80px 20px;
    text-align: center;
    background: #f9f9f9;
}

.contact-page h1 {
    font-size: 38px;
    margin-bottom: 50px;
}

/* CARDS – ALWAYS SIDE BY SIDE */
.cards-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: nowrap;   /* ❗ prevents stacking on desktop/tablet */
}

/* CARD STYLE */
.info-card {
    background: #ffffff;
    padding: 40px;
    width: 420px;
    border-radius: 16px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12); /* shadow */
}

.info-card h2 {
    color: #d4af37;
    margin-bottom: 25px;
}

/* EMAIL */
.info-card a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    color: #ff69b4;
}

/* HOURS TABLE */
.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* MAP */
.map-wrapper {
    margin: 60px auto 0;
    width: 70%;
}

.map-wrapper iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 16px;
}

/* ONLY SMALL DEVICES STACK */
@media (max-width: 640px) {
    .cards-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 500px;
    }

    .map-wrapper {
        width: 100%;
    }
}

/* ================= POPUP ================= */
.popup-success {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: gold;
  color: #111;
  padding: 30px 40px;
  border-radius: 15px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0,0,0,.5);
  z-index: 2000;
  display: none;
}


/* ================= RESPONSIVE ================= */

/* ========== LARGE DESKTOP (1200px+) ========== */
@media (min-width: 1200px) {

  .cards {
    grid-template-columns: repeat(4, 1fr);
  }

}


/* ========== TABLET & SMALL DESKTOP (768px+) ========== */
@media (min-width: 768px) {

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

}


/* ========== DESKTOP NAVBAR (993px+) ========== */
@media (min-width: 993px) {

  .menu-toggle {
    display: none;
  }

  .navbar nav {
    display: flex;
    gap: 25px;
  }

  .nav-social {
    display: flex;
    gap: 5px;
  }
  .logo img {
    height: 100px;               /* bigger logo on mobile */
    width: auto;
    margin-bottom: 6px;
    margin-top: 4px;         /* space between image & text */
   border-radius: 15px; 
}

}


/* ========== TABLET & MOBILE (992px and below) ========== */
@media (max-width: 992px) {

  /* Hamburger visible */
  .menu-toggle {
    display: block;
    font-size: 38px;
    cursor: pointer;
  }

  /* Hide nav + social by default */
.navbar nav {
  display: none;
  flex-direction: column;   /* menu vertical */
  width: 100%;
  text-align: center;
  padding: 15px 0;
}

.nav-social {
  display: none;
  flex-direction: row;      /* ✅ social stays horizontal */
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 15px 0;
}


  /* Show when active */
  .navbar nav.active,
  .nav-social.active {
    display: flex;
  }

  /* Stack navbar */
  .navbar {
    flex-wrap: wrap;
  }

  .navbar nav a,
  .nav-social a {
    padding: 10px 0;
  }

  /* Contact page fix */
  .contact-grid {
    flex-direction: column;
    gap: 40px;
  }
  .logo img {
    height: 100px;               /* bigger logo on mobile */
    width: auto;
    margin-bottom: 6px;
    margin-top: 4px;         /* space between image & text */
   border-radius: 15px; 
}

}


/* ========== MOBILE (768px and below) ========== */
@media (max-width: 768px) {

  .hero h1 {
    font-size: 36px;
  }

  .navbar {
    padding: 15px 20px;
  }

  .footer-menu a {
    display: block;
    margin: 8px 0;
  }

  .gallery h2 {
    font-size: 32px;
  }

  .gallery-card img {
    height: 250px;
  }

  /* Logo scaling */
  .logo {
    flex-direction: column;     /* image on top, text below */
    align-items: center;        /* center both */
    text-align: center;
  }

  .logo img {
    height: 100px;               /* bigger logo on mobile */
    width: auto;
    margin-bottom: 6px;
    margin-top: 4px;         /* space between image & text */
   border-radius: 15px; 
}

  .logo span {
    display: none;
  }

}
