/* Luxe Studio Replica Theme */

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #f5f1e8;
    --accent-color: #d4a574;
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --white: #ffffff;
    --gradient-overlay: linear-gradient(135deg,
            rgba(44, 44, 44, 0.8),
            rgba(212, 165, 116, 0.3));
    --nav-height: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    background: url('images/hero_bg.jpg') center/cover no-repeat;
    /* Fallback if image missing */
    background-color: #333;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
    /* Slight shadow for readability */
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 600px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.4);
    /* Subtle shadow */
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 3rem;
    text-align: center;
}

.section-subtitle {
    display: block;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.btn {
    padding: 0.875rem 2rem;
    font-weight: 500;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.btn-outline-light {
    border-width: 2px;
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    transition: 0.4s;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1050 !important;
    /* Always on top */
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.6rem;
    /* Slightly smaller to fit */
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6), 0 0 25px rgba(255, 255, 255, 0.4);
    /* Elegant white glow shadow */
    white-space: nowrap;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--primary-color);
    text-shadow: none;
}

.nav-link {
    color: var(--white);
    font-weight: 600;
    margin: 0 0.5rem;
    /* Reduced margin */
    position: relative;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    /* Prevent wrapping */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.9);
    /* Strong shadow for readability */
}

.nav-link:hover {
    color: var(--white);
    /* Keep text white on hover */
}

.navbar.scrolled .nav-link:hover {
    color: var(--primary-color);
    /* Keep dark text dark on hover when scrolled */
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: 0.3s;
    transform: translateX(-50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    background-color: var(--white);
    mask: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Cards & Services */
.service-card {
    background: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    text-align: center;
    height: 100%;
    transition: 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Adding background images capability */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    /* Default text white */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* Dark overlay by default so image is visible */
    z-index: 1;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    background: rgba(0, 0, 0, 0.75);
    /* Darker overlay on hover */
}

.service-card>* {
    position: relative;
    z-index: 2;
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
}

.service-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Shadow for icon pop */
}

/* About Image */
.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    background: url('images/about_bg.jpg') center/cover;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--accent-color);
    z-index: -1;
    display: none;
    /* Hide simplistic border, use clean image */
}

/* FAQ Accordion */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.accordion-button {
    font-weight: 600;
    color: var(--primary-color);
    background: #fff;
    box-shadow: none !important;
    padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background: #fff;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--white);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.bg-light {
    background-color: var(--secondary-color) !important;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-control {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .navbar>.container {
        justify-content: flex-start !important;
    }

    .navbar-brand {
        font-size: 1rem !important;
        margin-right: 0;
        letter-spacing: 0;
    }

    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
        padding: 0.4rem;
        margin-right: 10px;
        /* Space between toggler and logo */
    }

    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-collapse {
        background: var(--primary-color);
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .nav-link {
        padding: 1rem 0;
        text-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: var(--white) !important;
        /* Always white in mobile menu */
    }

    .nav-link:hover {
        color: var(--accent-color) !important;
        /* Gold on hover even in mobile */
    }

    .navbar.scrolled .navbar-toggler {
        background-color: var(--primary-color);
        border-radius: 4px;
    }

    /* Hero Responsive */
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
        /* Reduced padding for mobile */
    }

    .section-title {
        font-size: 2rem !important;
    }

    .about-image {
        height: 300px;
        /* Fixed height for mobile about image */
        margin-bottom: 30px;
    }

    .process-step {
        padding: 1rem 0.5rem;
    }

    .step-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px 0 !important;
    }

    .navbar-brand {
        font-size: 1rem !important;
        letter-spacing: 1px;
    }
}

/* Feature specific backgrounds */
.service-card.zipper {
    background-image: url('images/feature_zipper.jpg');
}

.service-card.glass {
    background-image: url('images/feature_glass.jpg');
}

.service-card.led {
    background-image: url('images/feature_led.jpg');
}

.service-card.app {
    background-image: url('images/feature_app.jpg');
}

.service-card.heat {
    background-image: url('images/feature_heat.jpg');
}

.service-card.cool {
    background-image: url('images/feature_cool.jpg');
}

/* Process Section */
.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(212, 165, 116, 0.1);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    font-family: 'Playfair Display', serif;
}

.process-step h4 {
    margin-top: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -10px;
}

.testimonial-author h5 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
}

.testimonial-author span {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* AOS Tweaks */
[data-aos] {
    transition-duration: 1000ms !important;
}

.service-card.carport {
    background-image: url('images/carport.jpg');
}