/* Basic Reset and Body Styling */
body {
    margin: 0;
    font-family: 'Modern', sans-serif; /* Default font */
    line-height: 1.6;
    color: #333; /* Mild dark color for text */
    background-color: #f4f4f4; /* Mild background color */
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

/* Custom Fonts (using Google Fonts links from HTML) */
/* SITKA, Display, Modern, Cinzel are linked in HTML */
/* For '5th Avenue', you might need to use @font-face if it's a local font */
/* Example @font-face (replace with actual font file path and name) */
/*
@font-face {
    font-family: '5th Avenue';
    src: url('path/to/5th_avenue.woff2') format('woff2'),
         url('path/to/5th_avenue.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
*/

h1, h2, h3 {
    font-family: 'SITKA', serif; /* SITKA for titles */
    color: #5a2d2d; /* Mild accent color */
}

p, ul, li {
    font-family: 'Display', sans-serif; /* Display for paragraphs and lists */
}

/* Specific sections might use Cinzel or 5th Avenue as needed */
/* Example:
#founder h2 {
    font-family: 'Cinzel', serif;
}
*/


/* Header Styling - Modified for full viewport height, background, and centered content */
header {
    min-height: 100vh; /* Set minimum height to 100% of viewport height */
    background-image: url('WhatsApp Image 2025-05-11 at 15.31.30 (2).jpeg'); /* Replace with your actual header background image */
    background-size: cover; /* Cover the entire header area */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent repeating */
    position: relative; /* Needed for absolute positioning of overlay or content */
    color: #fff; /* Default text color for header content */
    display: flex; /* Use flexbox to center content */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    text-align: center; /* Center text within header */
    overflow: hidden; /* Hide overflow */
    padding: 20px; /* Add some padding */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

/* Optional: Add an overlay for better text readability */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Darker semi-transparent overlay for better contrast */
    z-index: 1; /* Place above background image but below content */
}


/* Styling for the <center> tag used in the header - position content above overlay */
header center {
    position: relative; /* Position above the ::before overlay */
    z-index: 2; /* Ensure content is above the overlay */
    max-width: 1000px; /* Example max width for content */
    width: 100%; /* Take full width up to max-width */
    margin: 0 auto; /* Center the block element */
    display: flex; /* Use flexbox within center for layout */
    flex-direction: column; /* Stack items vertically */
    align-items: center; /* Center items horizontally */
    gap: 20px; /* Space between elements */
    padding: 20px; /* Add padding */
    /* Removed translucent background from here */
}

header nav {
    display: flex; /* Use flexbox for layout within nav */
    flex-direction: column; /* Stack nav items vertically */
    align-items: center; /* Center nav items horizontally */
    gap: 20px; /* Space between nav items (logo, title/address, links, icons) */
    width: 100%; /* Ensure nav takes full width within center */
}

.logo {
    margin-bottom: 10px; /* Add space below logo */
}

.logo img {
    width: 150px; /* Set a fixed width for the logo */
    height: 150px; /* Set a fixed height for the logo */
    border-radius: 50%; /* Make the image circular */
    object-fit: cover; /* Ensure the image covers the circle without distortion */
    border: 5px solid rgba(255, 255, 255, 0.5); /* Optional: Add a subtle border */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Optional: Add a subtle shadow */
}

.title {
    margin-bottom: 5px; /* Space between title and address */
}

.title h1 {
    margin: 0; /* Remove default margin */
    font-size: 3.5em; /* Make title even bigger */
    color: #fff; /* White color for visibility */
    font-family: 'SITKA', serif; /* Apply SITKA font */
    text-align: center; /* Center text within its div */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7); /* Add stronger text shadow for readability */
}

.Address h2 {
    margin: 0; /* Remove default margin */
    font-size: 1.3em; /* Increase address font size */
    color: #eee; /* Lighter color for address */
    font-family: 'Display', sans-serif; /* Apply Display font */
    text-align: center; /* Center text within its div */
    font-weight: normal; /* Address might not need bold */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Add stronger text shadow */
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Use flexbox for list items */
    gap: 15px; /* Space between list items */
    flex-wrap: wrap; /* Allow list items to wrap */
    justify-content: center; /* Center list items if they wrap */
}

header nav ul li a {
    text-decoration: none;
    color: #fff; /* White color for navigation links */
    font-weight: bold;
    transition: color 0.3s ease;
    font-family: 'Modern', sans-serif; /* Apply Modern font */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add text shadow */
}

header nav ul li a:hover {
    color: #ffd700; /* Gold color on hover for contrast */
}

.header-icons {
    display: flex; /* Use flexbox for icons */
    gap: 15px; /* Space between icons */
    align-items: center; /* Vertically align icons */
}

.header-icons a {
    color: #fff; /* White color for icons */
    font-size: 1.5em; /* Increase icon size */
    transition: color 0.3s ease;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add text shadow */
}

.header-icons a:hover {
    color: #ffd700; /* Gold color on hover */
}

/* Section Styling */
.section {
    padding: 80px 20px; /* Add padding top/bottom, left/right */
    /* Adjust margin-top to push content below the full-height header */
    margin-top: 0; /* Remove margin-top from .section */
    text-align: center;
    position: relative; /* Needed for background image positioning */
    overflow: hidden; /* Hide overflow for animations */
}

/* Adjust the margin-top for the very first section after the header */
/* This targets the #home section specifically if it's the first after header */
body > .section:first-of-type {
     margin-top: 0; /* Remove margin-top from the first section */
}

/* Add padding-top to the first section to account for the fixed header if needed,
   but since the header is full height, the next section starts below it naturally.
   If you want a small gap, you could add margin-top to the first section. */


.section .content {
    max-width: 1000px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.8); /* Translucent white background for content */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left; /* Align text left within content box */
}

/* Home Section Specifics - Keep existing styles but adjust positioning if needed */
#home {
    /* min-height: 100vh; */ /* Removed as header is now full height */
    padding-top: 80px; /* Standard section padding */
    color: #333; /* Revert to default text color for content sections */
    text-align: center;
    display: block; /* Revert display */
    align-items: flex-start; /* Revert alignment */
    justify-content: flex-start; /* Revert justification */
    flex-direction: row; /* Revert direction */
}

#home .background-image {
    /* Keep or remove based on whether you want a background image on this section too */
    /* If you want a different background for this section, keep and update the image */
    /* If not, you can remove this rule or set display: none; */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('your-background-image.jpg'); /* Replace or remove */
    background-size: cover;
    background-position: center;
    z-index: -1; /* Place behind content */
    opacity: 0.6; /* Translucent effect */
}

#home .content {
    background-color: rgba(255, 255, 255, 0.8); /* Translucent white background for content */
    color: #333; /* Revert to default text color */
    padding: 30px; /* Standard padding */
}

#home h1, #home h2 {
    color: #5a2d2d; /* Revert to default title color */
}


.btn {
    display: inline-block;
    background-color: #8b4513; /* Mild button color */
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #a0522d; /* Darker hover color */
}

/* About Us Section Specifics */
#about ul {
    list-style: disc;
    margin-left: 20px;
}

#about li strong {
    color: #5a2d2d; /* Highlight key points */
}

/* Founder Section Specifics */
.founder-layout {
    display: flex;
    align-items: center;
    gap: 40px; /* Space between image and text */
}

.founder-image {
    flex: 1; /* Takes up 1 part of the flex container */
    text-align: center;
}

.founder-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Optional: rounded corners for image */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.founder-text {
    flex: 2; /* Takes up 2 parts of the flex container */
}

/* Photo Gallery Section Specifics */
#gallery .gallery-slider {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Snap to images */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    gap: 20px; /* Space between images */
    padding-bottom: 20px; /* Add some padding at the bottom */
}

#gallery .gallery-slider img {
    flex: 0 0 auto; /* Prevent shrinking, allow basis */
    width: 300px; /* Set a fixed width for slider images */
    height: 200px; /* Set a fixed height */
    object-fit: cover; /* Cover the area without distorting aspect ratio */
    border-radius: 8px;
    scroll-snap-align: start; /* Snap to the start of the image */
    transition: transform 0.5s ease; /* Smooth transition for potential hover effects */
}

/* Contact Us Section Specifics */
#contact ul {
    list-style: none;
    padding: 0;
}

#contact li {
    margin-bottom: 10px;
}

/* Animations (Initial states - JavaScript will add classes to trigger) */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-in.appear {
    opacity: 1;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-left.appear {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-right.appear {
    opacity: 1;
    transform: translateX(0);
}


/* Responsive Design */
@media (max-width: 992px) {
    .title h1 {
        font-size: 3em; /* Adjust title size */
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px; /* Adjust header padding */
    }

    header center {
        padding: 15px; /* Adjust center padding */
        gap: 15px; /* Adjust gap */
    }

    .logo img {
        width: 120px; /* Adjust logo size */
        height: 120px;
    }

    .title h1 {
        font-size: 2.5em; /* Adjust title size */
    }

    .Address h2 {
        font-size: 1.1em; /* Adjust address size */
    }

    header nav ul {
        gap: 10px; /* Adjust nav link gap */
    }

    .header-icons {
        gap: 10px; /* Adjust icon gap */
    }

    .section {
        padding: 60px 15px;
    }

    .section .content {
        padding: 20px;
    }

    .founder-layout {
        flex-direction: column; /* Stack founder image and text vertically */
        gap: 50px;
    }

    .founder-image, .founder-text {
        flex: none; /* Remove flex basis */
        width: 200%; /* Full width */
    }

    #gallery .gallery-slider img {
        width: 250px; /* Smaller width for gallery images on smaller screens */
        height: 180px;
    }
}

@media (max-width: 480px) {
     .logo img {
        width: 100px; /* Further reduce logo size */
        height: 100px;
    }

    .title h1 {
        font-size: 2em; /* Further reduce title size */
    }

    .Address h2 {
        font-size: 1em; /* Further reduce address size */
    }

    header nav ul li a, .header-icons a {
        font-size: 0.9em;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1.2em;
    }

    .btn {
        padding: 8px 15px;
        font-size: 0.9em;
    }

    #gallery .gallery-slider img {
        width: 200px; /* Even smaller width */
        height: 150px;
    }
}
.fade-in {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.fade-in.appear {
  opacity: 1;
}

.zoom-in {
  transform: scale(0.5);
  transition: transform 0.5s ease-out;
}

.zoom-in.loaded {
  transform: scale(1);
}

.slide-in {
  transform: translateX(100%);
  transition: transform 0.5s ease-out;
}

.slide-in.appear {
  transform: translateX(0);
}

.animate {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
;


.gallery-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  gap: 20px;
  padding-bottom: 20px;
}

.gallery-slider img {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  transition: transform 0.5s ease;
}

.gallery-slider img:hover {
  transform: scale(1.1);
}
