/* ============================================= */
/*       BRANDING & HIGH-END COLOR PALETTE       */
/* ============================================= */
:root {
    --font-headline: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
    --color-black: #1a1a1a;
    --color-gold: #D4AF37;
    --color-white: #FFFFFF;
    --color-light-bg: #f9f6f0;
    --text-grey: #4a4a4a;
}

/* ============================================= */
/*            GLOBAL RESET & DEFAULTS            */
/* ============================================= */
*, *::before, *::after { box-sizing: border-box; }
html{ scroll-behavior:smooth;}
body, h1, h2, h3, h4, p, ul, li { margin: 0; padding: 0; }
body {
    font-family: var(--font-body);
    color: var(--text-grey);
    line-height: 1.6;
    background-color: var(--color-white);
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
a { text-decoration: none; color: inherit; }
section { padding: 5rem 0; }
h2 { text-align: center; font-family: var(--font-headline); font-size: 2.5rem; margin-bottom: 2rem; color: var(--color-black); }
.visually-hidden { position: absolute !important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

/* ============================================= */
/*                  HEADER & NAV                 */
/* ============================================= */
.site-header { position: fixed; width: 100%; top: 0; z-index: 1000; background-color: var(--color-white); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.top-bar { background-color: var(--color-black); color: var(--color-white); padding: 0.5rem 0; font-size: 0.9rem; }
.top-bar-container { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 1rem; }
.top-bar a { color: var(--color-white); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo-img { height: 70px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu a { font-weight: bold; color: var(--color-black); transition: color 0.3s ease; }
.nav-menu a:hover { color: var(--color-gold); }
.btn-nav { background-color: var(--color-gold); color: var(--color-black); border-radius: 5px; padding: 10px 20px; transition: background-color 0.3s ease; }
.btn-nav:hover { background-color: #c5a230; color: var(--color-black); }

/* Hamburger Menu */
.hamburger { display: none; cursor: pointer; }
.hamburger span { display: block; width: 25px; height: 3px; margin: 5px 0; background-color: var(--color-black); transition: all 0.3s ease-in-out; }

/* ==========================================================================
   Dropdown Menu - Universal & Mobile First
   ========================================================================== */

/* Dropdown Menu - Desktop */
.has-dropdown { position: relative; }

/* The class name here is now CORRECT */
.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-white);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 5px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* The class name here is now CORRECT */
.has-dropdown:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* The class name here is now CORRECT */
.dropdown-submenu li a {
    padding: 0.75rem 1.5rem;
    display: block;
    white-space: nowrap;
}
/* ============================================= */
/*                  HERO SECTION                 */
/* ============================================= */
.hero { background: url('../Images/chicken-catering-atlantic.PNG') center center/cover no-repeat; height: 100vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-white); }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.5); }
.hero-content { position: relative; background: rgba(0, 0, 0, 0.6); padding: 2.5rem; border-radius: 5px; }
.hero-content h2 { font-size: 3.5rem; color: var(--color-white); }
.hero-content p { font-size: 1.2rem; margin-top: 1rem; margin-bottom: 2rem; max-width: 500px;  margin-left:auto; margin-right:auto;}
.cta-btn { background-color: var(--color-gold); color: var(--color-black); padding: 15px 35px; font-size: 1.1rem; font-weight: bold; border-radius: 5px; transition: all 0.3s ease; }
.cta-btn:hover { background-color: var(--color-white); color: var(--color-black); transform: translateY(-3px); }

/* ============================================= */
/*           MAIN CONTENT SECTIONS               */
/* ============================================= */
main { padding-top: 122px; } /* Height of header (32px + 90px) */
.intro-services .section-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-card { background: #fff; border: 1px solid #eee; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.service-card img { width: 100%; height: 220px; object-fit: cover; }
.card-content { padding: 1.5rem; flex-grow: 1; display: flex; flex-direction: column; }
.card-content h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-content p { flex-grow: 1; margin-bottom: 1.5rem; }
.btn-secondary { background-color: var(--color-light-bg); color: var(--color-black); padding: 10px 20px; border-radius: 5px; font-weight: bold; align-self: flex-start; transition: background-color 0.3s ease; }
.btn-secondary:hover { background-color: var(--color-gold); }

/* Testimonials */
.testimonials { background-color: var(--color-white); }
.testimonial-content { max-width: 800px; margin: 0 auto; text-align: center; }
.testimonial-content blockquote { font-family: var(--font-headline); font-size: 1.6rem; font-style: italic; color: var(--color-black); border-left: 4px solid var(--color-gold); padding-left: 2rem; margin: 0 auto 1rem; text-align: left; }
.testimonial-content cite { font-weight: bold; color: var(--text-grey); font-style: normal; }

/* Gallery Teaser */
.gallery-teaser { background-color: var(--color-light-bg); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 3rem; }
.gallery-item { overflow: hidden; border-radius: 8px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item img:hover { transform: scale(1.05); }
.gallery-cta { text-align: center; }
.btn-primary { background-color: transparent; color: var(--color-gold); padding: 12px 28px; font-weight: bold; border: 2px solid var(--color-gold); border-radius: 5px; transition: all 0.3s ease; }
.btn-primary:hover { background-color: var(--color-gold); color: var(--color-black); }

/* Final CTA */
.final-cta { background-color: var(--color-light-bg); text-align: center; }
.final-cta h2 { color: var(--color-black); font-size: 2.8rem; }
.final-cta p { font-size: 1.2rem; margin: 1rem auto 2.5rem; max-width: 600px; }
.btn-cta { background-color: var(--color-gold); color: var(--color-black); padding: 18px 40px; font-size: 1.2rem; border-radius: 5px; font-weight: bold; transition: all 0.3s ease; }
.btn-cta:hover { background-color: var(--color-black); color: var(--color-white); transform: translateY(-3px); }

/* ============================================= */
/*                   FOOTER                      */
/* ============================================= */
.site-footer { background-color: var(--color-black); color: #a9b4c2; padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-bottom: 3rem; }
.footer-column h4 { color: var(--color-white); font-size: 1.2rem; margin-bottom: 1.25rem; }
.footer-column p, .footer-column li { font-size: 0.95rem; }
.footer-column a:hover { color: var(--color-gold); }
.social-icons { display: flex; gap: 0.75rem; }
.social-icons a { color: var(--color-black); background-color: var(--color-gold); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; font-weight: bold; transition: all 0.3s ease; }
.social-icons a:hover { background-color: var(--color-white); transform: scale(1.1); }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 2rem; color: #8c9bab; }
.footer-bottom {
    display: flex;
    justify-content: space-between; /* Pushes items to opposite ends */
    align-items: center;
    flex-wrap: wrap; /* Allows items to stack on small screens */
    gap: 1rem; /* Adds space between items if they wrap */
    
    border-top: 1px solid #3e5165;
    padding-top: 2rem;
    color: #8c9bab;
    text-align: center; /* Center text for when it wraps on mobile */
}

/* Styling for the text itself */
.copyright,
.designer-credit {
    margin: 0;
    font-size: 0.85rem; /* Make the text slightly smaller and subtle */
}

/* Styling for your clickable link */
.designer-credit a {
    color: var(--color-gold); /* Use the brand's gold for your link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.designer-credit a:hover {
    color: var(--color-white); /* Make it brighter on hover */
    text-decoration: underline;
}

/*
  This makes the footer credit stack nicely on mobile devices.
*/
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column; /* Stack items vertically */
        justify-content: center; /* Center them */
        gap: 0.5rem; /* Reduce the space between them */
    }
}


/* ============================================= */
/*          RESPONSIVE DESIGN (BREAKPOINT)       */
/* ============================================= */
@media (max-width: 992px) {
    .nav-menu { position: fixed; left: -100%; top: 0; height: 100vh; width: 280px; flex-direction: column; background-color: var(--color-black); box-shadow: 2px 0 10px rgba(0,0,0,0.2); transition: left 0.4s ease-in-out; padding-top: 100px; align-items: flex-start; gap: 0; }
    .nav-menu.active { left: 0; }
    .nav-item { width: 100%; }
    .nav-menu a { color: var(--color-white); display: block; padding: 1rem 2rem; width: 100%; }
    .nav-menu a:hover { color: var(--color-gold); background-color: #2a2a2a; }
    .btn-nav { text-align: center; margin: 1rem 2rem; width: calc(100% - 5rem)!important; }
    .hamburger { display: block; z-index: 1001; }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); background-color: var(--color-black); }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); background-color: var(--color-black); }
    
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 576px) {
    .footer-grid { grid-template-columns: 1fr; }
    .top-bar { display: none; } /* Hide top bar on very small screens */
    main { padding-top: 90px; } /* Adjust padding since top bar is gone */
}



/* ============================================= */
/*          PAGE HEADER (Used on all pages)      */
/* ============================================= */
.page-header {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0.5rem auto 0;
}


/* ============================================= */
/*           EVENTS CATERING PAGE STYLES         */
/* ============================================= */

/* Main section container for each event type (e.g., Wedding, Corporate) */
.event-type-section {
    padding: 6rem 0;
    overflow: hidden; /* Recommended for sections with alternating layouts */
}

/* Adds a light, warm background to alternating sections for visual separation */
.alt-bg {
    background-color: var(--color-light-bg);
}

/* The main two-column grid for image and text content */
.event-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem; /* Creates a spacious, premium feel between image and text */
}

/* Modifier class to flip the order of the columns (Image on the right) */
.event-grid.reverse {
    direction: rtl; /* This flips the order of the grid columns */
}
/* We must reset the text direction for the content inside the reversed grid */
.event-grid.reverse > * {
    direction: ltr;
}

/* Styling for the image container */
.event-image img {
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

/* Styling for the text description container */
.event-description h2 {
    text-align: left; /* Overrides the global h2 center-align for a classic look */
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.event-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: var(--text-grey);
}

/* The main "Call to Action" button within these sections */
.btn-primary {
    display: inline-block;
    background-color: transparent;
    color: var(--color-gold);
    padding: 14px 30px;
    font-weight: bold;
    border: 2px solid var(--color-gold);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}


/* ============================================= */
/*      RESPONSIVENESS FOR EVENTS PAGE           */
/* ============================================= */
@media (max-width: 992px) {
    .event-grid {
        grid-template-columns: 1fr; /* Stack the columns on top of each other */
        gap: 3rem;
    }

    /* Reset the direction for mobile stacking */
    .event-grid.reverse {
        direction: ltr;
    }

    /* On mobile, center the text for a cleaner look */
    .event-description {
        text-align: center;
    }

    .event-description h2 {
        text-align: center;
    }
}


/* ============================================= */
/*           SHARED PAGE HEADER STYLES           */
/* (Used on Gallery, Consultation, Team, etc.)   */
/* ============================================= */
.page-header {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-headline);
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-white);
}

.page-header p {
    font-size: 1.2rem;
    color: #ccc;
    max-width: 600px;
    margin: 0.5rem auto 0;
}


/* ============================================= */
/*              GALLERY PAGE STYLES              */
/* ============================================= */
.gallery-page-content {
    padding: 5rem 0;
}

.full-gallery-grid {
    display: grid;
    /* Creates 3 columns on desktop, 2 on tablet, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.gallery-item-full {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.gallery-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.gallery-item-full img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}


/* ============================================= */
/*            CONSULTATION PAGE STYLES           */
/* ============================================= */
.contact-page-content {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Form takes up more space */
    gap: 4rem;
}

/* Form Styling */
.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--color-black);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.btn-submit {
    background-color: var(--color-gold);
    color: var(--color-black);
    padding: 15px 35px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--color-black);
    color: var(--color-white);
}

/* Direct Info Styling */
.contact-info h3 {
    font-family: var(--font-headline);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gold);
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.contact-info a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: bold;
}
.contact-info a:hover {
    text-decoration: underline;
}

/* --- FORM STATUS MESSAGES --- */
.form-success {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
}
.form-error {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
}


/* ============================================= */
/*             MEET THE TEAM PAGE STYLES         */
/* ============================================= */
.owner-profile {
    text-align: center;
    padding: 5rem 0;
}
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid var(--color-gold);
}
.owner-profile h2 { margin-bottom: 0.25rem; font-size: 2.5rem; }
.owner-profile h3 { font-family: var(--font-body); font-size: 1.2rem; font-weight: normal; color: var(--text-grey); margin-bottom: 1.5rem; }
.bio { max-width: 700px; margin: 0 auto; }

.team-grid-section { background-color: var(--color-light-bg); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.team-member { text-align: center; }
.team-member img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }
.team-member h4 { font-size: 1.5rem; }
.team-member span { color: var(--text-grey); }


/* ============================================= */
/*                   MENUS PAGE                  */
/* ============================================= */
.menu-content { padding: 5rem 0; }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 4rem; }
.menu-card { border: 1px solid #ddd; padding: 2rem; border-radius: 8px; }
.menu-card h3 { text-align: left; margin-bottom: 1.5rem; }
.menu-card ul { list-style: none; padding: 0; }
.menu-card li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.menu-card li::before { content: '•'; color: var(--color-gold); font-weight: bold; position: absolute; left: 0; }

.custom-menu-cta { text-align: center; background-color: var(--color-light-bg); padding: 3rem; border-radius: 8px; }
.custom-menu-cta h3 { font-size: 2rem; }
.custom-menu-cta p { max-width: 600px; margin: 1rem auto 2rem; }


/* ============================================= */
/*             BLOG & SINGLE POST PAGES          */
/* ============================================= */
/* Blog Listing Page */
.blog-listing { padding: 5rem 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.post-card { background: var(--color-white); border: 1px solid #eee; border-radius: 8px; overflow: hidden; }
.post-card-image-link img { width: 100%; height: 220px; object-fit: cover; }
.post-card-content { padding: 1.5rem; }
.post-card-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.post-card-content h3 a:hover { color: var(--color-gold); }
.read-more { font-weight: bold; color: var(--color-gold); }

/* Single Post Page */
.single-post .post-header { height: 50vh; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; background-size: cover; background-position: center; }
.post-header-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; }
.post-header h1 { font-size: 3.5rem; color: var(--color-white); max-width: 800px; }
.post-meta { color: #ccc; margin-top: 1rem; }

.post-content { padding: 5rem 0; }
.content-body { max-width: 750px; margin: 0 auto; }
.content-body p { margin-bottom: 1.5rem; font-size: 1.1rem; line-height: 1.8; }
.content-body h2 { text-align: left; font-size: 2rem; margin-top: 3rem; margin-bottom: 1rem; }


/* ============================================= */
/*       RESPONSIVENESS FOR NEW PAGE SECTIONS    */
/* ============================================= */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { margin-top: 3rem; }
    .menu-grid { grid-template-columns: 1fr; }
    
  /* ============================================= */
    /*           MOBILE DROPDOWN COLOR FIX           */
    /* ============================================= */
    .dropdown-submenu li a {
        color: var(--color-black) !important;
    }
    .dropdown-submenu li a:hover {
        color: var(--color-gold) !important;
        background-color: var(--color-light-bg);
    }
}

/* ============================================= */
/*           FINAL RESPONSIVE POLISH & FIXES     */
/* ============================================= */

/*
   FIX #1: CTA BUTTON ON MOBILE
   This targets the main "Call to Action" button, but only on smaller screens.
*/
@media (max-width: 480px) {
    .btn-cta {
        /*
          Prevents the text from wrapping by telling it not to break onto a new line.
          This will force the button to be as wide as its text.
        */
        white-space: nowrap;

        /*
          Slightly reduce padding and font size on the smallest screens
          to ensure it fits comfortably.
        */
        padding: 16px 30px;
        font-size: 1.1rem;
    }
}



