* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #111; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 999;
    transition: all 0.4s ease-in-out;
    background: transparent;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

header .logo img {
    max-height: 50px;
    width: auto;
    transition: opacity 0.4s;
}

header nav a {
    color: #fff;
    text-decoration: none;
    margin: 0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.4s;
}

header.scrolled nav a {
    color: #111;
}

.logo-link {
    text-decoration: none;
}

header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    transition: color 0.4s;
}

header.scrolled .logo-text {
    color: #753442;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.dropdown {
    position: relative;
    display: inline-block;
    padding: 20px 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(255, 255, 255, 0.98);
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 10px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown:hover .dropdown-content,
.dropdown.active .dropdown-content {
    display: block;
    opacity: 1;
    animation: fadeInDropdown 0.3s forwards;
}

@keyframes fadeInDropdown {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

.dropdown-content a {
    color: #111 !important; 
    margin: 0 !important;
    padding: 12px 20px !important;
    text-decoration: none;
    display: block;
    font-size: 0.8rem !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.2s ease, padding-left 0.2s ease !important;
}

.dropdown-content a:hover {
    background-color: #f4f4f4;
    padding-left: 25px !important;
}

.content-wrapper {
    position: relative;
    z-index: 10;
    background-color: #fff;
    margin-bottom: 80vh;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

#section-1 {
    height: 100vh;
    width: 100%;
    position: relative;
    background-color: #000;
}

.slideshow, .hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; 
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.slide.active { opacity: 1; z-index: 2; }

.hero-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
    z-index: 3;
}

.video-controls {
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 20;
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}

.scroll-prompt {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: bounce 2s infinite ease-in-out;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
    40% { transform: translate(-50%, -15px); }
    60% { transform: translate(-50%, -7px); }
}

#section-2 {
    background-color: #fcfcfc;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.welcome-text { text-align: center; margin-bottom: 80px; }
.welcome-text h2 { font-size: 2rem; font-weight: 300; text-transform: uppercase; letter-spacing: 2px; }
.welcome-text .highlight { font-family: 'Playfair Display', serif; font-size: 4.5rem; display: block; text-transform: capitalize; font-weight: 600; color: #111; margin-top: 10px; }

.services-layout { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.services-left, .services-right { flex: 1; }
.services-left h3, .services-right h3 { font-size: 2.5rem; margin-bottom: 20px; font-family: 'Playfair Display', serif; }
.services-left p, .services-right p { line-height: 1.8; color: #555; font-size: 1.1rem; }

.proudly-servicing {
    margin-top: 40px;
}

.proudly-servicing h4 {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-weight: 600;
    margin-bottom: 15px;
}

.servicing-logos {
    display: flex;
    align-items: center;
    gap: 30px;
}

.servicing-logos img {
    max-height: 45px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.servicing-logos img:hover {
    opacity: 1;
}

.services-right { position: relative; height: 500px; }
.image-stack { position: relative; width: 100%; height: 100%; }
.stack-img { position: absolute; border-radius: 8px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); object-fit: cover; cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, z-index 0.3s ease;}
.img-top { width: 250px; height: 300px; top: 0; left: 0; z-index: 3; }
.img-middle { width: 280px; height: 320px; top: 50%; transform: translateY(-50%); right: 0; z-index: 2; }
.img-bottom { width: 260px; height: 280px; bottom: 0; left: 15%; z-index: 4; }

#section-3 {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/assets/images/cleena_1.jpg');
    background-size: cover;
    background-position: center 75%;
    z-index: 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.curtain-content { max-width: 800px; padding: 0 20px; }
.curtain-content h2 { font-family: 'Playfair Display', serif; font-size: 3.5rem; margin-bottom: 20px; }
.curtain-content p { font-size: 1.2rem; line-height: 1.8; color: #ddd; }

.pcu-image-stack {
    position: relative;
    width: 100%;
    height: 450px;
}

.pcu-img {
    position: absolute;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pcu-top-left {
    top: 0;
    left: 0;
    width: 46%;
    height: 65%;
    z-index: 1;
}

.pcu-top-right {
    top: 0;
    right: 0;
    width: 46%;
    height: 65%;
    z-index: 1;
}

.pcu-bottom-center {
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 45%; 
    z-index: 2;
    object-fit: contain; 
    box-shadow: none; 
    background: transparent;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

.pcu-top-left:hover, .pcu-top-right:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    z-index: 10;
}

.pcu-bottom-center:hover {
    transform: scale(1.05);
    box-shadow: none;
    filter: drop-shadow(0 20px 35px rgba(0,0,0,0.3));
    z-index: 10;
}

.img-top:hover, .img-bottom:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    z-index: 10;
}

.img-middle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 20px 45px rgba(0,0,0,0.3);
    z-index: 10;
}

#section-4 {
    position: relative;
    z-index: 10;
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 50px;
    box-shadow: 0 -20px 50px rgba(0,0,0,0.3); 
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-top: 80px;
}

.logo-row img {
    max-width: 150px;
    height: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.logo-row img:hover {
    opacity: 1;
}

#section-5 {
    position: relative;
    z-index: 10;
    background-color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    object-fit: contain;
}

.close-modal {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #999;
}

.contact-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-top: 120px; 
}

.contact-layout {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    width: 100%;
}

.contact-text {
    flex: 1;
    padding-right: 40px;
}

.contact-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #111;
}

.contact-desc {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 50px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.method {
    display: flex;
    flex-direction: column;
}

.method-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    font-weight: 600;
    margin-bottom: 5px;
}

.method-detail {
    font-size: 1.1rem;
    color: #111;
    font-weight: 500;
    line-height: 1.5;
}

.contact-form-wrapper {
    flex: 1;
    background: #fafafa;
    padding: 60px;
    border-radius: 4px;
}

.sleek-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    position: relative;
}

.sleek-form input, 
.sleek-form textarea {
    width: 100%;
    padding: 10px 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: #111;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    transition: border-color 0.3s;
}

.sleek-form textarea {
    resize: none;
    height: 100px;
}

.sleek-form label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1.1rem;
    color: #888;
    pointer-events: none;
    transition: 0.3s ease all;
}

.sleek-form input:focus ~ label,
.sleek-form input:not(:placeholder-shown) ~ label,
.sleek-form textarea:focus ~ label,
.sleek-form textarea:not(:placeholder-shown) ~ label {
    top: -20px;
    font-size: 0.85rem;
    color: #111;
    font-weight: 500;
}

.sleek-form input:focus,
.sleek-form textarea:focus {
    border-bottom: 1px solid #111;
}

.sleek-btn {
    align-self: flex-start;
    padding: 18px 45px;
    background: transparent;
    color: #111;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid #111;
    cursor: pointer;
    transition: all 0.4s ease;
    border-radius: 2px;
}

.sleek-btn:hover {
    background: #111;
    color: #fff;
}

footer {
    background-color: #050505;
    color: #888;
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-status {
    display: none;
    margin-bottom: 30px;
    padding: 15px 20px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-status.show {
    display: block;
}

#section-before-after {
    position: relative;
    z-index: 10;
    background-color: #fcfcfc;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: hidden;
}

.ba-container {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ba-row {
    position: relative;
    width: 180px; 
    height: 250px;
}

.ba-row.row-1 { margin-left: 0; transition-delay: 0s; z-index: 1; }
.ba-row.row-2 { margin-left: 15%; margin-top: -30px; transition-delay: 1.6s; z-index: 2; }
.ba-row.row-3 { margin-left: 30%; margin-top: -30px; transition-delay: 3.2s; z-index: 3; }

.ba-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.ba-img:hover {
    transform: scale(1.03); 
}

.ba-before {
    position: relative;
    z-index: 2;
}

.ba-after {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: left 0.8s ease-out, opacity 0.8s ease-out;
}

.ba-row.visible .ba-after {
    left: 105%;
    opacity: 1;
}

.ba-row.visible.row-1 .ba-after { transition-delay: 0.8s; }
.ba-row.visible.row-2 .ba-after { transition-delay: 2.4s; }
.ba-row.visible.row-3 .ba-after { transition-delay: 4.0s; }

#section-about {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)), url('/assets/images/cleena_2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.about-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.about-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.about-lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #ddd;
}

.about-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.about-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.about-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: #fff;
}

.about-col p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
}

/* mobile compatability */

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    header.scrolled {
        padding: 10px 20px;
    }
    nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    header nav a {
        margin: 0;
        font-size: 0.75rem;
    }
    
    .container {
        padding: 60px 20px;
    }

    .welcome-text h2 { font-size: 1.5rem; }
    .welcome-text .highlight { font-size: 2.8rem; }
    .services-left h3, .services-right h3 { font-size: 1.8rem; text-align: center; }
    .services-left p, .services-right p { text-align: center; font-size: 1rem; }
    .curtain-content h2 { font-size: 2rem; }
    .contact-text h2 { font-size: 2.5rem; text-align: center; }
    .contact-desc { text-align: center; }

    .services-layout {
        flex-direction: column;
        gap: 50px;
    }

    .services-right {
        height: 350px; 
        width: 100%;
    }
    .img-top { width: 50%; height: 60%; }
    .img-middle { width: 55%; height: 65%; right: 0; }
    .img-bottom { width: 50%; height: 55%; left: 10%; }

    .pcu-image-stack {
        position: relative;
        width: 100%;
        height: 100%;
    }
    
    .logo-row {
        flex-wrap: wrap;
        gap: 30px;
        margin-top: 50px;
    }
    .logo-row img {
        max-width: 110px;
    }

    .contact-container {
        padding-top: 80px;
    }
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }
    .contact-text {
        padding-right: 0;
    }
    .contact-methods {
        align-items: center;
    }
    .contact-form-wrapper {
        padding: 30px 20px;
    }

    .ba-row {
        width: 130px;
        height: 180px;
    }
    
    .ba-row.row-1 { margin-left: -70%; margin-top: 0; }
    .ba-row.row-2 { margin-left: -50%; margin-top: -20px; }
    .ba-row.row-3 { margin-left: -30%; margin-top: -20px; }
    
    .ba-container {
        align-items: flex-start;
        margin-bottom: 40px;
    }

    .about-grid {
        flex-direction: column;
        gap: 40px;
    }

    .about-header h2 {
        font-size: 2.2rem;
    }

    .about-img {
        height: 220px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .proudly-servicing { text-align: center; }
    .servicing-logos { justify-content: center; }
    
    .dropdown-content {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
        text-align: center;
        display: none; 
        margin-top: 15px;
        border-radius: 4px;
        min-width: 200px;
    }
    
    .dropdown:hover .dropdown-content,
    .dropdown.active .dropdown-content {
        animation: none;
    }
    
    .dropdown-content a {
        color: #fff !important; 
        padding: 10px !important;
    }
    
    header.scrolled .dropdown-content a {
        color: #111 !important;
    }
}