/* CSS Variables & Reset */
:root {
    --bg-dark: #0f1012;
    --bg-card: #1a1c20;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #ffd700;
    /* Gold from logo */
    --accent-hover: #e6c200;
    --btn-text: #000000;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

.text-accent {
    color: var(--accent-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--btn-text);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: inline-block;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 16, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    /* Space them out */
    align-items: center;
    position: relative;
    height: 80px;
    /* Slightly taller for the car icon */
}

.logo-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1001;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    /* subtle shadow for readability */
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1002;
    pointer-events: none;
    /* Prevent accidental clicks when hidden */
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown-menu li {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-secondary);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: var(--glass-bg);
    color: var(--accent-color);
}

.nav-social {
    display: flex;
    gap: 15px;
    margin-left: 10px;
    align-items: center;
}

.nav-social a {
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.nav-social a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

.nav-links li a:not(.btn-primary):hover {
    color: var(--accent-color);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('hero-bg-rolls.png');
    /* Rolls Royce Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 16, 18, 0.8), rgba(15, 16, 18, 0.95));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 600;
    color: var(--accent-color);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-secondary);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Gallery Placeholder */
/* Gallery Updates */
/* Gallery Updates */
.gallery-category {
    margin-bottom: 40px;
}

.gallery-category h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.gallery-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns */
    gap: 30px;
    /* Bigger gap to separate */
}

.gallery-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Force 2 columns */
    gap: 30px;
}

.gallery-featured {
    margin-bottom: 50px;
}

.transformations h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--text-primary);
    border-left: 3px solid var(--accent-color);
    padding-left: 15px;
}

.gallery-item {
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    /* CRITICAL: prevents overlap */
    position: relative;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the box nicely */
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
    /* Increased zoom on hover */
}

/* Interior Grid - Show full images */
.gallery-grid-2 .gallery-item img {
    object-fit: contain;
    background: #0f1012;
    transform: scale(1.2);
    /* Zoom in slightly as requested */
}

.gallery-item.featured {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.gallery-item.featured img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

/* Before & After Styles */
.comparison-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.comparison-item {
    flex: 1;
    height: 220px;
    /* Reduced height to "zoom out" (show more width) */
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed to contain so FULL image is visible */
    object-position: center;
    transition: transform 0.5s ease;
    background: #000;
    /* Black background for any empty space */
}

.gallery-item:hover img {
    transform: scale(1.15);
    /* Increased zoom on hover */
}

.comparison-item:hover img {
    transform: scale(1.15);
    /* Increased zoom on hover */
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* Hero section background */
.hero {
    background-image: url('hero-bg-rolls.png');
    /* Restored Rolls Royce */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.label-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 10;
}

.label-badge.before {
    background-color: rgba(255, 59, 48, 0.8);
    /* Red tint for Before */
    color: white;
}

.label-badge.after {
    background-color: rgba(40, 205, 65, 0.8);
    /* Green tint for After */
    color: white;
}

@media (max-width: 768px) {

    .gallery-grid-3,
    .gallery-grid-2 {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .comparison-row {
        flex-direction: column;
    }

    .comparison-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .comparison-item {
        width: 100%;
        height: 250px;
    }
}

/* Contact */
.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
    /* allow wrapping on small screens */
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.contact-method i {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.contact-method h4 {
    margin-bottom: 5px;
}

.contact-method a {
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-method a:hover {
    color: var(--accent-color);
}

.contact-form {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    flex: 1;
    max-width: 900px;
    /* Limit width */
    min-width: 300px;
    /* Try to make it square-ish if content allows, but height auto is safer */
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-main);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.block {
    display: block;
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.checkbox-option {
    display: block;
    cursor: pointer;
    position: relative;
}

.checkbox-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-check {
    display: block;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 500;
}

.checkbox-option:hover .custom-check {
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.checkbox-option input:checked~.custom-check {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.checkbox-option input:checked~.custom-check::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    float: right;
}

/* Sub-Page Styles */
.sub-hero {
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    margin-bottom: 50px;
}

.sub-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.sub-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* Page Content */
.page-content {
    padding: 50px 0;
}

.page-section {
    margin-bottom: 80px;
}

.page-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.page-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
}

.list-check li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

.list-check li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--accent-color);
}

/* Footer */
footer {
    padding: 30px 0;
    background: #000;
    border-top: 1px solid var(--glass-border);
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 30px;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        transition: var(--transition);
        border-bottom: 1px solid var(--glass-border);
        overflow-y: auto;
        max-height: calc(100vh - 80px);
        /* Allow scrolling if menu is long */
    }

    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding-left: 20px;
        /* Indent sub-menu */
        display: none;
        /* Hidden by default on mobile, toggled via JS if we want, or just always show */
    }

    /* Only show dropdown when parent is active (toggled by JS) */
    .dropdown.active .dropdown-menu {
        display: block;
        position: relative;
        /* Ensure it flows in document */
    }

    .dropdown-menu li a {
        padding: 10px 0;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .mobile-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    /* Fix background images on mobile */
    .hero,
    .sub-hero {
        background-attachment: scroll !important;
    }

    .section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .reviews-grid,
    .why-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-form {
        padding: 25px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-method {
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-links a {
        margin: 0 10px;
    }
}

/* Why Choose Us Section */
.why-choose-us {
    margin-bottom: 80px;
}

.section-header-left {
    text-align: center;
    margin-bottom: 50px;
}

.section-header-left h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
}

.why-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    /* Video narrower, Text wider (shorter height) */
    gap: 40px;
    align-items: stretch;
    /* Force equal height for both columns */
}

.why-media {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    /* Fill the grid cell */
    width: 100%;
    /* aspect-ratio removed to allow stretch */
    /* Force Square Shape removed */
    /* min-height removed */
    border: 1px solid var(--glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Removed transform transition */
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.play-overlay i {
    font-size: 30px;
    color: white;
    margin-left: 5px;
}

.play-overlay:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.1);
}

.why-benefits {
    display: flex;
    flex-direction: column;
    gap: 25px;
    /* Increased spacing */
    justify-content: center;
    height: 100%;
    /* Ensure it fills height for stretch */
}

.benefit-card {
    background: #1a1a1a;
    padding: 20px;
    /* Reduced from 30px */
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
    /* Reduced from 20px */
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.benefit-card i {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-top: 5px;
}

.benefit-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.benefit-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.text-link {
    color: var(--accent-color);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-media {
        height: 300px;
        min-height: auto;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    /* background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.5)); */
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-initial {
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.reviewer-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.stars {
    color: #ffd700;
    /* Gold for stars */
    font-size: 0.9rem;
}

.text-facebook {
    color: #1877F2;
    /* Facebook Blue */
    font-size: 1.5rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-style: italic;
}