/* ==========================================================================
   1. RESET & SYSTEM DEFENSIFS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden; /* Strict defense against right-side breaking elements */
    scroll-behavior: smooth;
}
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333333;
}

/* ==========================================================================
   2. DESKTOP NAVIGATION & DROPDOWN STRUCTURE
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease, padding 0.3s ease;
}
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    padding: 10px 80px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo img {
    height: 70px;
    width: auto;
    display: block;
}
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
}
.nav-links li {
    position: relative;
    padding: 0 20px;
}
.nav-links li a {
    text-decoration: none;
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    transition: 0.3s ease;
}
.nav-links li a:hover {
    color: #f3ce7e;
}


/* Desktop Hover Triggers */
/* --- Dropdown System --- */
.dropdown {
    position: relative;
}
.dropbtn {
    cursor: pointer;
    color: white;
    background: transparent;
    border: none;
    font-family: 'Playfair Display', serif;
    font-size: 17px;
    font-weight: 500;
    padding: 0;
    transition: 0.3s ease;
}
.dropbtn:hover {
    color: #f3ce7e;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0; /* Aligns to right edge of the button to prevent desktop screen overflow */
    left: auto;
    background-color: rgba(255, 255, 255, 0.98);
    width: 260px;
    box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
    list-style: none;
    padding: 15px 0;
    border-radius: 4px;
    z-index: 1002;
}
.dropdown-content li {
    padding: 0;
    width: 100%;
}
.dropdown-content li a {
    color: #222;
    font-family: 'Poppins', sans-serif;
    padding: 10px 25px;
    display: block;
    font-size: 14px;
    text-align: left; /* Clean default text reading structure */
}
.dropdown-content li a:hover {
    background-color: #f8f8f8;
    color: #b08d57;
    padding-left: 30px;
}
@media (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}
.dropdown.open .dropdown-content {
    display: block;
}

/* --- Mobile Nav Controllers --- */
.menu-toggle {
    display: none;
}
.menu-icon {
    display: none;
    cursor: pointer;
    width: 32px;
    height: 24px;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
}
.menu-icon span {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ==========================================================================
   3. HERO FRAME INTERFACE
   ========================================================================== */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.1);
    animation: fadeSlider 20s infinite;
}
.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }
.slide:nth-child(4) { animation-delay: 15s; }

@keyframes fadeSlider {
    0% { opacity: 0; transform: scale(1.1); }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; transform: scale(1.0); }
    100% { opacity: 0; }
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-content {
    color: white;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}
.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: 400;
    line-height: 1.2;
}
.hero-content h1 span {
    font-weight: 800;
    color: #f3ce7e;
}
.hero-content p {
    font-size: 1.3rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ==========================================================================
   4. INFINITE TRACK GALLERY SYSTEM
   ========================================================================== */
.decorations-container {
    padding: 100px 80px;
    background: #ffffff;
    width: 100%;
    overflow: hidden;
}
input[name="cat-switch"] {
    display: none;
}
.decorations-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 50px;
}
.head-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #333;}

.category-nav label {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-left: 30px;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
    font-weight: 500;
}
#wedding:checked ~ .decorations-header label[for="wedding"],
#birthday:checked ~ .decorations-header label[for="birthday"],
#balloon:checked ~ .decorations-header label[for="balloon"] {
    color: #b08d57;
    border-bottom: 2px solid #b08d57;
}
.gallery-view {
    position: relative;
    width: 100%;
    min-height: 450px;
}
.slider-wrapper {
    display: none;
    width: 100%;
}
#wedding:checked ~ .gallery-view #wedding-gallery,
#birthday:checked ~ .gallery-view #birthday-gallery,
#balloon:checked ~ .gallery-view #balloon-gallery {
    display: block;
}
.image-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: autoScroll 25s linear infinite;
}
.img-box {
    width: 320px;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.image-track:hover {
    animation-play-state: paused;
}
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.view-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 60px;
}
.view-more-btn {
    text-decoration: none;
    color: #222;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
    text-align: center;
}
.btn-line {
    width: 40px;
    height: 2px;
    background: #b08d57;
    margin: 8px auto 0;
    transition: 0.5s ease;
}
.view-more-btn:hover .btn-line {
    width: 100%;
}

/* ==========================================================================
   5. ABOUT & FEATURE CONTENT BRICKS
   ========================================================================== */
.about-styling {
    padding: 100px 80px;
    background: #ffffff;
    width: 100%;
}
.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}
.about-text { flex: 1; }
.sub-heading {
    color: #b08d57;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}
.main-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #222;
    margin-bottom: 25px;
    line-height: 1.2;
}
.description {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.features-list { list-style: none; margin-top: 30px; }
.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
}
.features-list li span {
    color: #b08d57;
    font-weight: 700;
    margin-right: 15px;
}
.about-images { flex: 1; }
.img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.grid-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.grid-item.tall { grid-row: span 2; height: 500px; }
.grid-item:not(.tall) { height: 242px; }

/* ==========================================================================
   6. PARALLAX CORE SYSTEM
   ========================================================================== */
.counter-parallax {
    position: relative;
    width: 100%;
    background-color: #111;
    background-image: url('Images/background footer img.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.parallax-overlay {
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    min-height: 60vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 8%;
}
.counter-content {
    color: white;
    text-align: center;
    max-width: 1000px;
    width: 100%;
}
.counter-sub {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 50px;
    font-weight: 300;
}
.stats-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    width: 100%;
}
.stat-item { flex: 1; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 700;
    color: #f3ce7e;
}
.stat-label {
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================================================
   7. HYBRID COMMITMENT MODULES
   ========================================================================== */
.four-image-section {
    padding: 120px 8%;
    background-color: #fdfbf7;
    width: 100%;
}
.hybrid-container {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1300px;
    margin: 0 auto;
}
.info-left { flex: 1; }
.info-heading {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 25px;
    line-height: 1.1;
}
.info-para {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}
.info-right {
    flex: 1;
    display: flex;
    justify-content: center;
}
.image-grid-four {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.grid-box {
    width: 220px;
    height: 220px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.grid-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.box-1 { animation: float 6s ease-in-out infinite; }
.box-2 { animation: float 6s ease-in-out infinite 1s; }
.box-3 { animation: float 6s ease-in-out infinite 2s; }
.box-4 { animation: float 6s ease-in-out infinite 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* ==========================================================================
   8. MINIMAL EDITORIAL MODULES
   ========================================================================== */
.about-minimal {
    padding: 100px 8%;
    background: #ffffff;
    width: 100%;
}
.minimal-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}
.minimal-visual, .minimal-content { flex: 1; }
.image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.label-sub {
    color: #b08d57;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
}
.heading-best {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin: 15px 0 25px;
}
.gold-text { color: #b08d57; }
.description-box p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ==========================================================================
   9. call action system
   ========================================================================== */
.cta-section {
    background: #000000;
    color: white;
    text-align: center;
    padding: 80px 20px;
    width: 100%;
}
.cta-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}
.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}
.cta-btn {
    display: inline-block;
    background: #25d366;
    color: #f5f9f5;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ==========================================================================
   10. INTERACTIVE SYSTEM FOOTER
   ========================================================================== */
.site-footer {
    background: #111;
    color: #bbb;
    padding: 80px 8% 0;
    width: 100%;
}
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 50px;
    max-width: 1300px;
    margin: 0 auto;
}
.footer-col { flex: 1; }
.footer-title {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
    font-size: 1.2rem;
}
.enquiry-list p, .contact-info {
    margin-bottom: 15px;
    line-height: 1.6;
}
.footer-icon {
    margin-right: 10px;
    color: #b08d57;
}
.instagram-link a {
    color: #f3ce7e;
    text-decoration: none;
}
.landmark-text {
    display: block;
    margin-top: 10px;
    font-style: italic;
    color: #888;
}
.footer-bar {
    border-top: 1px solid #222;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   11. MEDIA BREAKPOINTS & VIEWPORT DEFENSES
   ========================================================================== */
@media (max-width: 1200px) {
    .navbar, .navbar.scrolled { padding: 15px 40px; }
    .decorations-container, .about-styling, .four-image-section, .about-minimal { padding: 80px 4%; }
    .hybrid-container { gap: 40px; }
    .grid-box { width: 180px; height: 180px; }
}

@media (max-width: 992px) {
    .main-heading, .info-heading, .heading-best { font-size: 2.3rem; }
    .about-container, .hybrid-container, .minimal-container, .footer-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    .about-text, .about-images, .info-left, .info-right, .minimal-visual, .minimal-content {
        width: 100%;
        flex: none;
        text-align: center;
    }
    .features-list li { justify-content: center; }
    .img-grid { max-width: 600px; margin: 0 auto; }
}

@media (max-width: 768px) {
    /* Mobile Hamburger Menu System Configuration */
    .menu-icon { 
        display: flex; 
    }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 340px;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 0;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }
    .nav-links li { 
        margin: 12px 0; 
        width: 100%; 
        text-align: center; 
        padding: 0;
    }
    .nav-links li a { 
        font-size: 20px; 
        display: block;
        padding: 8px 0;
    }
    
    /* Responsive Accordion Dropdown Engine */
    .dropdown {
        width: 100%;
        text-align: center;
    }
    .dropbtn {
        font-size: 20px;
        width: 100%;
        padding: 8px 0;
        text-align: center;
    }
    .dropdown-content { 
        position: relative; 
        top: 0;
        right: auto;
        width: 100%; 
        background: transparent; 
        box-shadow: none; 
        padding: 10px 0;
        border-radius: 0;
    }
    .dropdown-content li a { 
        color: #ddd; 
        text-align: center; /* Completely aligns text nicely in mobile viewports */
        font-size: 16px;
        padding: 8px 20px;
    }
    .dropdown-content li a:hover {
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 20px; /* Removes desktop left offset drift on hover */
    }

    /* Input checkbox triggers for mobile menu expansion */
    #menu-toggle:checked ~ .nav-links { 
        right: 0; 
    }
    #menu-toggle:checked + .menu-icon span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
    #menu-toggle:checked + .menu-icon span:nth-child(2) { opacity: 0; }
    #menu-toggle:checked + .menu-icon span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

    /* Parallax Background Override for Mobile Scroll Performance */
    .counter-parallax { 
        background-attachment: scroll;
        width: 100%;
    }
    .parallax-overlay {
        padding: 50px 20px;
    }
    .stats-grid {
        flex-direction: column;
        gap: 35px;
    }
    .stat-number { font-size: 3.2rem; }

    /* Image Gallery Track Custom Viewport Defenses */
    .decorations-header {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }
    .category-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .category-nav label {
        margin: 0;
        font-size: 1rem;
    }
    .img-box { 
        width: 250px; 
        height: 330px; 
    }

    /* Grid Framework Balancing */
    .image-grid-four {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        max-width: 460px;
        margin: 0 auto;
    }
    .grid-box {
        width: 100%;
        height: 180px;
    }
    .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 480px) {
    .navbar, .navbar.scrolled { padding: 10px 20px; }
    .logo img { height: 50px; }
    .head-title, .main-heading, .info-heading, .heading-best { font-size: 1.8rem; }
    .image-grid-four {
        grid-template-columns: 1fr;
        max-width: 280px;
    }
    .grid-box { height: 240px; }
    .grid-item.tall { height: 350px; }
    .grid-item:not(.tall) { height: 167px; }
    .cta-section h3 { font-size: 1.6rem; }
}