/*---------------------------------------------------------------------------*/
/*-------------------------------Root-Config---------------------------------*/
/*---------------------------------------------------------------------------*/
        :root {
            --primary-color: #2c7744;
            --secondary-color: #c9e4ca;
            --accent-color: #e76f51;
            --dark-color: #1a2e1b;
            --light-color: #d8d9da;
        --heading-font: 'BlackBones', serif; /* Your custom font */
        --body-font: 'Overpass', sans-serif;   /* Your custom font */
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html, body {
            margin: 0;
            padding: 0;
            width: 100%;
            height: 100%;
            /*background: rgba(0,0,0,0.2);*/
            /*overflow-x: hidden;  Prevent horizontal scroll */
        }
        
         h3, h4 {
            font-family: 'Playfair Display', serif;
            font-weight: 700;
        }
        
        h1, h2{
            font-family: 'BlackBones'; 
            font-weight: 700;
        }

/*---------------------------------------------------------------------------*/
/*-----------------------------Header-Section--------------------------------*/
/*---------------------------------------------------------------------------*/
        header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 20px;
            background: rgba(255, 255, 255, 0.9);
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 1s ease;
            z-index: 1000;
            font-family: 'BlackBones';
        }
        
        header.scrolled {
            padding: 10px 20px; /* Smaller padding when scrolled */
        }
        
        header .logo img {
            height: 60px; /* Initial logo size */
            transition: all 1s ease;
        }
        
        header.scrolled .logo img {
            height: 40px; /* Smaller logo when scrolled */
        }
        
        nav ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 20px;
        }
        
        nav ul li {
            display: inline;
        }
        
        nav ul li a {
            text-decoration: none;
            color: #333;
            font-weight: bold;
            font-size: 24px;
            transition: color 0.3s ease;
        }
        
        nav ul li a:hover {
            color: #ff6f61; /* Beachy coral color */
        }

        .mobile-menu {
            display: none;
            cursor: pointer;
        }
        
        .mobile-menu div {
            width: 25px;
            height: 3px;
            background-color: white;
            margin: 5px;
            transition: all 0.3s ease;
        }
        
                main {
            padding-top: 100px; /* Same as header height */
        }

/*---------------------------------------------------------------------------*/
/*-----------------------background-slideshow--------------------------------*/
/*---------------------------------------------------------------------------*/

        .background-slideshow {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            overflow: hidden;
            z-index: -1; 
                filter: sepia(90%) blur(4px); /* Sepia tone and blur for a vintage look */
        }
        
        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        
        .slide.active {
            opacity: 0.4;.
                background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 40%, rgba(0, 0, 0, 0) 100%), 
                        url(''); /* Active slide with corner fade */
        }
        
.logo-overlay {
    position: fixed;           /* fixed so it stays above background */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;      /* clicks pass through */
    z-index: 1;                /* above background */
}

.logo-overlay img {
    max-width: 60%;      
    max-height: 60%;
    opacity: 0.1;             /* 30% transparency */
}
/*---------------------------------------------------------------------------*/
/*------------------------------Hero-Section---------------------------------*/
/*---------------------------------------------------------------------------*/

        .hero-section {
            position: relative;
            padding-top:100px;
            background: rgba(0,0,0,0.5);
            height: 100vh; 
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: white;
            overflow: hidden;
            transition: opacity 0.3s ease-in-out;
                /* Add a gradient fade effect */
            -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
            mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 80%, rgba(0,0,0,0) 100%);
}
        
        .hero-content {
            position: relative;
            z-index: 2; 
            animation: fadeInUp 1.5s ease-out;
            font-family: "Overpass", sans-serif;
        }
        
        .hero-title {
            font-size: 60px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 1s forwards 0.5s;
        }
        
        .hero-subtitle {
            font-size: 24px;
            margin: 0;
            opacity: 0;
            transform: translateY(20px);
            animation: fadeInUp 2s ease-out forwards; /* Ensures it stays visible */
        }
        
        
      

/*---------------------------------------------------------------------------*/
/*------------------------------about-section--------------------------------*/
/*---------------------------------------------------------------------------*/


        .about-section {
            position: relative;
            padding: 20px 0;
            overflow: hidden;
        }
        
        .about-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        
        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 42px;
            color: var(--dark-color);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }
        
        .section-title p {
            font-size: 18px;
            color: #666;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .about-grid {
            display: grid;
            grid-template-columns: 1;
            gap: 40px;
            margin-top: 50px;
        }
        
        .about-card {
            background-color: rgba(255,255,255, 0.75);
            border-radius: 10px;
            border-style:groove;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: all 0.3s ease;
        }
        
        .about-card i {
            font-size: 50px;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        .about-card h3 {
            font-size: 24px;
            margin-bottom: 15px;
        }
        
        .about-card p {
            font-size: 16px;
            color: #666;
            line-height: 1.5;
           font-family: "Overpass", sans-serif;
        }
        
        
/*---------------------------------------------------------------------------*/
/*-----------------------------article-Section-------------------------------*/
/*---------------------------------------------------------------------------*/    
/* === STYLES FOR ARTICLES ON HOME PAGE (index.php) - REFINED FOR HARDCODED HTML === */

/* Wrapper for the entire articles section */
.home-articles-section-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

/* The main "card" containing the section title and the grid of articles */
.home-articles-section {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: var(--card-radius, 10px);
    padding: 40px 35px;
    box-shadow: var(--card-shadow, 0 10px 30px rgba(0, 0, 0, 0.1));
    margin-bottom: 40px;
}

/* Section Title styling */
.home-articles-section .section-title {
    text-align: center;
    margin-bottom: 50px;
}
.home-articles-section .section-title h2 {
    font-family: var(--heading-font);
    font-size: 2.8rem;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}
.home-articles-section .section-title h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}
.home-articles-section .section-title p {
    font-size: 1.15rem;
    color: var(--meta-text-color, #666);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid for the article preview cards */
.home-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Styling for each .article-preview card */
.article-preview {
    background: var(--card-bg, #ffffff);
    border-radius: var(--card-radius, 8px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    padding: 20px; /* Padding directly on the card */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%; /* For equal height cards if grid supports it */
}

.article-preview:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Styling for elements INSIDE .article-preview */
.article-preview > a > img { /* Image wrapped in an anchor */
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
    border-radius: calc(var(--card-radius, 8px) - 5px);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.article-preview:hover > a > img {
    transform: scale(1.06);
}

.article-preview h3 { /* Article Title (H3) */
    font-family: var(--heading-font);
    font-size: 1.35rem;
    color: var(--primary-color);
    margin: 0 0 8px 0;
    line-height: 1.35;
    font-weight: 600;
}
.article-preview h3 a {
    text-decoration: none;
    color: inherit;
}
.article-preview h3 a:hover {
    color: var(--link-hover-color, #A62D26);
}

.article-preview p.date-meta { /* Date Paragraph */
    font-family: var(--body-font);
    font-size: 0.78rem;
    color: var(--meta-text-color, #7f8c8d);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-preview > p:not(.date-meta) { /* Excerpt/Content Paragraphs, excluding the date */
    font-family: var(--body-font);
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.55;
    margin: 0 0 18px 0;
    flex-grow: 1; /* Pushes the "Read More" button down */
}
/* Remove bottom margin from the last paragraph if 'Read More' is directly after */
.article-preview > p:not(.date-meta):last-of-type {
    /* This might conflict if "Read More" is also a <p>.
       It's safer to ensure the excerpt is the element with flex-grow
       and the button has margin-top: auto.
       Let's rely on the flexbox behavior.
    */
}


.article-preview a.button-link { /* "Read More" Link */
    display: inline-block;
    padding: 9px 18px;
    background-color: var(--accent-color, #3498DB);
    color: white !important;
    text-decoration: none;
    border-radius: var(--card-radius, 5px);
    font-weight: 600;
    margin-top: auto; /* Crucial for pushing to the bottom */
    align-self: flex-start; /* Aligns to left */
    transition: background-color 0.2s ease, transform 0.2s ease;
    font-size: 0.85rem;
}
.article-preview a.button-link:hover {
    background-color: #2980b9; /* Darker accent */
    transform: translateY(-1px);
}

/* "View All Articles" Link Styling */
.view-all-articles-link {
    text-align: center;
    margin-top: 30px;
}
.view-all-articles-link .button { /* Assuming .button is a global style */
    /* Your existing .button styles should apply here */
    /* If not, copy them from the previous example */
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--secondary-color, #FFC300);
    color: var(--dark-color, #2c3e50) !important;
    text-decoration: none;
    border-radius: var(--card-radius, 5px);
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.view-all-articles-link .button:hover {
    background-color: #e0a800;
    transform: translateY(-2px);
}
/*---------------------------------------------------------------------------*/
/*-----------------------------flyer-Section---------------------------------*/
/*---------------------------------------------------------------------------*/        
        
        .flyer-section {
            position: relative;
            padding: 20px 0;
            overflow: hidden;
        }
        
        .flyer-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .flyer-card {
            background-color: rgba(255,255,255, 0.75);
            border-radius: 10px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: all 0.3s ease;
            font-family: "Overpass", sans-serif;
        }
        
        .flyer-gallery {
            margin-top: 20px;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
        }
        
        .flyer-item img {
            border: 2px solid #ccc;
            border-radius: 8px;
            max-width: 100%;
        }
        
        .flyer-card h1{
            font-size: 40px;
        }
        
        .flyer-item {
            width: 300px;
            text-align: center;
        }
        
        .flyer-item a {
            text-decoration: none;
            color: #333;
        }
        
        .flyer-item p {
            margin-top: 10px;
            font-size: 14px;
            color: #333;
        }

        
        
/*---------------------------------------------------------------------------*/
/*----------------------------contact-section--------------------------------*/
/*---------------------------------------------------------------------------*/

/* Contact & Location Section */

        .contact-section {
            position: relative;
            padding: 20px 0;
            overflow: hidden;
        }
        
        .contact-content {
            position: relative;
            z-index: 2;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title h2 {
            font-size: 42px;
            color: var(--dark-color);
            margin-bottom: 20px;
            position: relative;
            display: inline-block;
        }
        
        .section-title h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
        }

        .contact-card {
            background-color: rgba(255,255,255, 0.75);
            border-radius: 10px;
            padding: 40px 30px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            text-align: center;
            transition: all 0.3s ease;
            font-family: "Overpass", sans-serif;
        }
        
        .contact-container {
            display: flex;
            gap: 40px;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .map-container {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .map-container iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
        
        .contact-info {
            flex: 1;
            padding: 20px;
            background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
            border-radius: 10px;
        }
        
        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: #333;
        }
        
        .contact-info p {
            font-size: 16px;
            color: #555;
            margin-bottom: 10px;
        }
        
        .contact-info a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .contact-info a:hover {
            color: var(--accent-color);
        }
        
        .social-links {
            list-style: none;
            padding: 0;
            margin: 0 0 20px;
        }
        
        .social-links li {
            display: inline;
            margin-right: 10px;
        }
        
        .social-links a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .social-links a:hover {
            color: var(--accent-color);
        }
        
        .opening-hours {
            margin-bottom: 20px;
        }
        
        .opening-hours p {
            font-size: 16px;
            color: #555;
            margin-bottom: 5px;
        }
        
        .status {
            font-size: 18px;
            font-weight: bold;
        }
        
        .status .open {
            color: var(--primary-color);
        }
        
        .status .closed {
            color: var(--accent-color);
        }        
        
        
/*---------------------------------------------------------------------------*/
/*-----------------------------Footer-Section--------------------------------*/
/*---------------------------------------------------------------------------*/

        footer {
            background: rgba(255, 255, 255, 0.8);
            padding: 20px;
            text-align: center;
            margin-top: 40px;
            box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
        }
        
        footer .social-media {
            margin-bottom: 10px;
            font-family:var(--body-font);
        }
        
        footer .social-media a {
            text-decoration: none;
            color: #333;
            margin: 0 10px;
            font-size: 18px;
            transition: color 0.3s ease;
        }
        
        footer .social-media a:hover {
            color: #ff6f61; /* A beachy coral color */
        }
        
        footer p {
            margin: 0;
            font-size: 14px;
            color: #555;
        }


/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .map-container, .contact-info {
        flex: 1 1 100%;
    }
}
/*---------------------------------------------------------------------------*/
/*--------------------------Fonts Section-------------------------------*/
/*---------------------------------------------------------------------------*/
    @font-face {
  font-family: 'BlackBones'; /* Choose a name for your font */
  src:url('fonts/BlackBones.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
    


        
/*---------------------------------------------------------------------------*/
/*--------------------------Animations Section-------------------------------*/
/*---------------------------------------------------------------------------*/
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Override for mobile to force visibility and opacity */
@media (max-width: 768px) {
    .hero-subtitle {
        visibility: visible !important;
        opacity: 1 !important;
        animation: fadeInUp 2s ease-out forwards !important;
    }

    /* Adjust text size for mobile */
    .hero-title {
        font-size: 40px; /* Reduce font size */
    }

    .hero-subtitle {
        font-size: 18px; /* Smaller subtitle font size for mobile */
    }

    /* Add some padding to the top of the hero section to avoid overlap with header */
    .hero-section {
        padding-top: 80px; /* Adjust as needed */
    }
}
