/* Reset default browser styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3{
    font-family: 'Playfair Display', serif;

}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 0;
}

/* Header (Navbar) */
.navbar {
    background-color: white; /* Transparent background */
    padding: 0;
    position: fixed;  /* Fixes navbar to the top of the page */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
    box-shadow: none; /* Ensure no shadow when transparent */
    height: 119px;
    
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}



.navbar .logo {
    font-size: 0.1rem;
    color: black;
    font-weight: bold;
}

/* Logo Image */
.navbar .logo img {
    height: 70px;  /* Further reduced logo height */
    width: auto;   /* Maintain aspect ratio */
}

/* Make sure the links are fully transparent too */
.nav-links a {
    color: black;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
    background-color: transparent; /* Ensures no background on the links */
    padding: 10px; /* Remove padding in links to avoid any unwanted background */
    font-size: large;
}

.nav-links a:hover {
    color: orange;
}


.hero-slider {
    position: relative;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
    margin-top: 119px;
    height: 490px;
    
}

/* Remove any unwanted space below */
.hero-slider::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: transparent;
}

.hero-image {
    position: absolute;
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; /* add this to prevent tiling */
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-image.active {
    opacity: 1;
    z-index: 1;
}

/* Remove the previous individual positioning */
.arrow-button.prev, 
.arrow-button.next {
    position: static;
    transform: none;
}

/* Combined navigation container */
.slider-nav-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 20;
    background: rgba(0, 0, 0, 0.1);
    padding: 10px 20px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

/* Arrow buttons */
.arrow-button {
    background: none;
    color: white;
    border: none;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.arrow-button:hover {
    transform: scale(1.2);
}

/* Dots container */
.slider-dots-container {
    display: flex;
    gap: 10px;
}

/* Individual dots */
.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
}











/* Mission Section - Single Line & Perfectly Centered */
.mission-section {
    background-color: #f8f8f8;
    padding: 3rem 0;
    text-align: center; /* Center everything */
    overflow-x: auto; /* Allows horizontal scrolling if needed */
    white-space: nowrap; /* Prevent any wrapping */
    justify-content: center;
  }
  
  .mission-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #222;
  }
  
  .mission-content {
    display: inline-block; /* Makes container shrink-to-fit */
    white-space: nowrap; /* Prevents text wrapping */
    text-align: center; /* Centers text within container */
    max-width: 100%; /* Prevents overflow */
  }
  
  .mission-statement {
    display: inline-block; /* Needed for nowrap to work */
    font-size: 1.6rem;
    white-space: nowrap; /* Force single line */
    margin: 0 auto; /* Center horizontally */
  }
  
  /* Styling the images container */
  .mission-images {
    display: flex;
    justify-content: center; /* centers items horizontally */
    align-items: center;      /* centers items vertically if needed */
    margin-top: 2rem;
    flex-wrap: wrap;          /* allows wrapping on smaller screens */
    width: 100%;    
    gap: 2rem;
  }
  
  .mission-image {
    width: 45%; /* ✅ Two images will fit side by side with some spacing */
    flex: 0 1 auto;           /* prevents stretching */
    overflow: hidden;

  }
  
  .mission-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    transition: transform 0.3s ease;

  }

  .mission-image:hover img {
    transform: scale(1.03);
  }
  
  /* Quotation marks (keep your existing style) */
  .mission-statement p::before,
  .mission-statement p::after {
    content: '"';
    font-size: 2rem;
    color: #222;
    position: relative;
    top: 0.3rem;
  }
  






/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;

    
  }
  
  .about-text h2 {
    text-align: left;
    color: #222;
    font-size: 2rem;
    margin-bottom: 1rem;


  }
  
  .about-text p {
    margin-bottom: 1rem;
    line-height: 1.7;
    font-size: 1.2rem;


  }
  
  .credentials {
    margin-top: 2rem;
  }
  
  .credentials p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.8rem;
    color: #444;
  }
  
  .credentials i {
    color: green;
  }

  
  .about-image {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    width: 70%;
    margin: 0 auto; /* Center the image horizontally */
    justify-self: center; /* Ensures image stays centered within its grid cell */




  }
  
  .about-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.3s ease;
  }
  
  .about-image:hover img {
    transform: scale(1.03);
  }
  
  .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: 600;
  }
  
  .image-caption span {
    display: block;
    font-weight: normal;
    font-size: 0.9em;
    margin-top: 5px;
    color: #ccc;
  }
  













/* About section Styles */
.section {
    padding: 0;
    background-color: white;
    color: #333;
}

/* Light background section */
.section.light {
    background-color: #f9f9f9;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.section .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: #222;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.section .btn:hover {
    background-color: #444;
}




.contact-section {
    padding: 3rem 0;
    text-align: center;
    font-size: 1.2rem;     
}













/* Gallery Section */
.gallery-preview {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.gallery-item {
    width: 100%;
    height: 300px;
    background-color: #ccc;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
}












.license-section {
    text-align: center;
    padding: 1rem 0;
    background-color: #f9f9f9;

  }
  
  .license-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #222;
  }
  
  .license-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
  }
  
  .license-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
  }
  
  .license-logo img {
    width: 100px;
    height: 100px;
    margin-bottom: 0.8rem;
  }

/* Make the 4th logo larger without affecting layout */
.license-logos .license-logo:nth-child(4) img {
    width: 200px;  /* Increase the size */
    height: 200px; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures the image doesn't stretch or distort */
  }

  .license-logos .license-logo:nth-child(3) img {
    width: 200px;  /* Increase the size */
    height: 200px; /* Maintain aspect ratio */
    object-fit: contain; /* Ensures the image doesn't stretch or distort */
  }

  .license-logo p {
    font-size: 1rem;
    color: #333;
    text-align: center;
    line-height: 1.4;
    white-space: nowrap;

  }
  







/* Footer */
.footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
}









/* Exterior Section */
.exterior-section, .interior-section {
    background-color: #f8f8f8;
    padding: 3rem 0;
    text-align: center;
    margin-top: 119px;

  }
  
  .exterior-section h2, .interior-section h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 2rem;
  }
  
  .image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1.5rem;
  }
  

  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  .gallery-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  
  /* Hover effect to zoom images */
  .gallery-item:hover img {
    transform: scale(1.05); /* Slight zoom effect */
  }


  /* Lightbox Modal (hidden by default) */
.lightbox-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background */
    overflow: hidden;
    justify-content: center;
    align-items: center;
    cursor: pointer; /* Allows click outside to close */

  }



  /* Modal Content */
  .modal-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: default; /* Prevents clicking on modal content to close */

  }
  
  .modal-image {
    width: 800px;
    max-height: 80vh;
    object-fit: contain;
  }
  

  /* Navigation buttons (next/prev) */
  .modal-navigation {
    position: absolute;
    top: 50%;
    width: 1000px;
    display: flex;
    justify-content: space-between;
  }
  
  .prev-btn, .next-btn {
    background: none;
    color: white;
    border: none;
    font-size: 1.8rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
  }
  



















@media screen and (max-width: 768px) {
    /* Navbar adjustments for mobile */
    .navbar .container {
        display: flex; /* <-- This was likely missing */
        flex-direction: column;
        align-items: center;
        padding: 0.5rem 0; /* Adjust padding to prevent overflow */

    }

    .nav-links a {
        color: black;
        margin: 0 15px;
        text-decoration: none;
        font-weight: bold;
        background-color: transparent; /* Ensures no background on the links */
        padding: 5px; /* Remove padding in links to avoid any unwanted background */
        font-size: small;
    }

   

 

    .navbar .logo {
        font-size: 1.2rem; /* Adjust logo size for mobile */
    }

    .hero-slider {
        height: 25vh; /* Reduce height to avoid zoom feel */
    }

    /* Hero image adjustments */
    .hero-image {
        background-size: contain; /* Use cover to fit images on smaller screens */
    }

    .slider-nav-container {
        bottom: 20px;
        gap: 10px;
        padding: 8px 15px;
    }

    .arrow-button {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    /* Gallery adjustments */
    .gallery-preview {
        flex-direction: column;
        align-items: center;
    }

    .gallery-item {
        height: 250px; /* Adjust gallery image size for mobile */
    }

    /* Section adjustments */
    .section h2 {
        font-size: 1.5rem; /* Adjust font size for headings */
    }

    .section .btn {
        padding: 0.6rem 1.2rem; /* Adjust button size for mobile */
    }

    /* Footer adjustments */
    .footer {
        padding: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
      }
      
      .about-image {
        order: 1;
        margin-bottom: 2rem;
      }
      
      .about-text h2 {
        text-align: center;
      }

      .mission-section, 
      .mission-content,
      .mission-statement {
        white-space: normal; /* Allow wrapping on mobile */
      }

      .mission-image {
        width: 100%; /* Makes images more prominent on smaller screens */
    }

      .exterior-section h2, .interior-section h2 {
        font-size: 1.5rem; /* Adjust heading size on small screens */
      }

      .modal-image, .modal-content {
        width: 90%;  /* Make the popup content take up more space on smaller screens */
        height: auto;
        padding: 15px;  /* Reduce padding for mobile devices */
      }

      .modal-navigation {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        height: auto;
      }


}
