* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Cormorant Garamond', serif;
  scroll-behavior: smooth;
}

  /* Navbar Styles */
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 10, 10, 0.45); /* dark, semi-transparent */
    backdrop-filter: blur(8px);         /* blurred background effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    padding: 0 30px;
    position: fixed;
    top: 0;
    width: 100%;
    height: 120px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* deeper shadow */
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
  }
  
  .navbar .logo {
    display: flex;
    align-items: center;
    flex: 0;
    margin-left: 60px;
  }
  
  .navbar .logo img {
    height: 260px;
    margin-top: 10px;
  }
  
  .nav-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-right: 60px;
  }
  
  .nav-buttons .nav-item {
    display: flex;
    align-items: center;      /* vertically centers icon & text */
    justify-content: center;
    flex-direction: row;      /* icon and text side-by-side */
    text-decoration: none;
    color: white;
    font-size: 18px;
    transition: none;
  }
  
  .nav-buttons .nav-item:hover {
    color: #98C78A;
  }
  
  .nav-buttons .nav-icon {
    width: 60px;               /* or keep 60px if you prefer big icons */
    height: 60px;
    object-fit: contain;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInSlideLeft 0.6s forwards;
    margin-right: -4px;        /* brings icon and text closer */
    position: relative;
    top: 1px;                  /* adjust to vertically center icon if needed */
  }
  
  
  /* Fade-in from left */
  @keyframes fadeInSlideLeft {
    0% {
      opacity: 0;
      transform: translateX(-30px);
    }
    100% {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  
  .nav-buttons .nav-text {
    opacity: 0;
    transform: translateX(-20px);
    white-space: nowrap;
    transition: all 0.3s ease;
    margin-left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease, margin-left 0.3s ease, color 0s ease;
  }
  
  /* When .show-text is triggered after 1.5s */
  .nav-buttons .nav-item.show-text .nav-text {
    opacity: 1;
    transform: translateX(0);
    margin-left: 12px;
  }

  .location-block {
    position: relative;
    padding-bottom: 80px;
    z-index: 1;
  }
  
  .location-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('locationsgranite.png') no-repeat center top;
    background-size: cover;
    opacity: 0.5; /* Adjust opacity as needed */
    z-index: -1;
  }
  
  
  .map-header {
    background: transparent;
    color: #2F6C3F;
    padding: 140px 60px 40px; 
    text-align: center; /* center the text */
  }
  
  .map-header.slim-left .text-wrapper {
    max-width: 800px;
    margin: 0 auto; /* center horizontally */
  }
  
  
  .map-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2f2f2f;
  }
  
  .map-header .map-subtext {
    font-size: 1.7rem;
    color: #2f2f2f;
    font-weight: 700;
    line-height: 1.6;
  }
  @keyframes fadeInUpText {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .map-header h2,
  .map-header .map-subtext {
    opacity: 0;
    animation: fadeInUpText 1s ease-out forwards;
  }
  
  /* Stagger the paragraph slightly after the heading */
  .map-header .map-subtext {
    animation-delay: 0.4s;
  }  
  
  .map-container {
    position: relative;
    overflow: hidden;
    width: 100%; /* full screen width */
    margin-left: calc(-50vw + 50%);
    padding-top: 40%; /* adjust aspect ratio */
    max-width: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  }
  
  .map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  .clean-map iframe {
    border: 0;
    width: 100%;
    height: 450px;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }

  .location-details {
    background-size: 100% auto; /* Fill full width, maintain height ratio */
    width: 100%;               /* Force full screen width */
    position: relative;
    z-index: 1;
    padding: 0px 20px 80px;
    color: #2F6C3F;
    text-align: left;
    overflow: hidden;          /* Prevent content overflow if necessary */
  }
  
  .location-details::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3); /* ⬅️ Reduce this value */
    z-index: -1;
  }
  
  .location-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .location-text,
  .location-contact {
    flex: 1;
    min-width: 280px;
  }
  
  .location-text h3,
  .location-contact h3 {
    font-size: 2.4rem;
    margin-bottom: 16px;
    color: #2F6C3F;
  }
  
  .location-text p,
  .location-contact p {
    font-size: 1.4rem;
    color: #444;
    line-height: 1.8;
  }
  
  .get-directions {
    display: inline-block;
    margin-top: 20px;
    padding: 14px 28px;
    background-color: #2F6C3F;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  
  .get-directions:hover {
    background-color: #245730;
  }
  
  
  /* Optional subtle entrance */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

  .refined-footer {
    background-color: #fdfdfd;
    color: #2f2f2f;
    font-family: 'Segoe UI', sans-serif;
    font-size: 16px;
    padding: 60px 40px 30px;
  }
  
  .footer-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    flex-wrap: wrap;
  }
  
  .footer-col {
    flex: 1;
    min-width: 220px;
  }
  
  .footer-col.wide {
    flex: 2;
  }
  .footer-col strong {
    display: inline-block;
    margin-top: 16px;
  }
  
  
  .footer-col h4 {
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-weight: 600;
  }
  
  .footer-col p,
  .footer-col a {
    color: #2f2f2f;
    line-height: 1.6;
    text-decoration: none;
  }
  .footer-col p + h4 {
    margin-top: 24px; /* or whatever value feels right */
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col ul li {
    margin-bottom: 10px;
  }
  
  .footer-col a:hover {
    text-decoration: underline;
  }
  
  .footer-bar {
    border-top: 1px solid #ddd;
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    font-size: 15px;
    color: #555;
  }
  /* ========================== */
/* 📱 PHONE-LIKE DEVICES ONLY */
/* ========================== */
@media screen and (orientation: portrait) and (max-width: 767px) {

  /* Navbar */
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 16px;
    align-items: flex-start;
  }

  .navbar .logo {
    margin-left: 0;
    margin-bottom: 10px;
  }

  .navbar .logo img {
    height: 140px;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 12px;
    margin-right: 0;
    width: 100%;
  }

  .nav-buttons .nav-item {
    justify-content: flex-start;
    font-size: 16px;
  }

  .nav-buttons .nav-icon {
    width: 36px;
    height: 36px;
  }

  /* Map header */
  .map-header {
    padding: 120px 20px 30px;
  }

  .map-header h2 {
    font-size: 1.8rem;
  }

  .map-header .map-subtext {
    font-size: 1.1rem;
    line-height: 1.5;
    padding: 0 10px;
  }

  /* Map container */
  .map-container {
    padding-top: 65%;
    margin-left: 0;
  }

  .clean-map iframe {
    height: 300px;
    border-radius: 6px;
  }

  /* Location Details */
  .location-wrapper {
    flex-direction: column;
    gap: 40px;
    padding: 0 10px;
  }

  .location-text h3,
  .location-contact h3 {
    font-size: 1.6rem;
  }

  .location-text p,
  .location-contact p {
    font-size: 1rem;
  }

  .get-directions {
    padding: 12px 20px;
    font-size: 1rem;
  }

  /* Footer */
  .footer-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .footer-col {
    min-width: 100%;
  }

  .footer-col h4 {
    font-size: 18px;
  }

  .footer-bar {
    font-size: 14px;
  }
}


/* ======================================= */
/* 💻 TABLET & LAPTOPS (Landscape Devices) */
/* ======================================= */
@media screen and (orientation: landscape), screen and (min-width: 768px) {

  .map-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }

  .map-header .map-subtext {
    font-size: clamp(1rem, 1.6vw, 1.7rem);
  }

  .location-text p,
  .location-contact p {
    font-size: clamp(1rem, 1.3vw, 1.4rem);
  }

  .get-directions {
    font-size: clamp(0.9rem, 1vw, 1.1rem);
  }

  .footer-col h4 {
    font-size: clamp(1rem, 1.1vw, 1.25rem);
  }

  .footer-bar {
    font-size: clamp(0.9rem, 1vw, 1rem);
  }
}
