:root {
    --primary-text: #151515;
    --secondary-action: #111111;
    --secondary-action-hover: #333333;
    --bg-white: #FFFFFF;
    --bg-light-gray: #F5F5F5;
    --bg-off-white: #EFF1F3;
    --font-main: 'Poppins', sans-serif;
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--primary-text);
    background-color: var(--bg-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--secondary-action);
    /* Audit value */
    color: #fff;
    padding: 16px 32px;
    /* Audit value */
    border-radius: 8px;
    /* Audit value */
    font-weight: 500;
    /* Audit value */
    font-size: 15px;
    /* Remove hover transform for strict adherence? Original doesn't have it listed as critical, keeping for feel but removing if user complains */
}

.btn-primary:hover {
    background-color: var(--secondary-action-hover);
    transform: translateY(-1px);
}

/* Header */
.navbar {
    position: sticky;
    top: 0;
    background-color: #fff;
    /* Ensure solid white */
    z-index: 1000;
    padding: 0;
    /* Audit value */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16);
    /* Audit value */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Audit value */
    padding: 10px 20px;
    /* Add some padding to container since navbar has 0 */
}

.logo img {
    height: 36px;
    /* Audit value */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    gap: 0;
    /* Removing gap, using padding on links instead */
}

.nav-links a {
    font-weight: 400;
    /* Audit value */
    font-size: 14px;
    /* Audit value */
    color: #000;
    /* Audit value */
    padding: 10px 16px;
    /* Audit value */
}

.nav-links a:hover {
    color: #555;
}

.hamburger {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        /* simple hide for pending mobile menu implementation */
    }

    .hamburger {
        display: block;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
    /* No background color or image on the section itself in original */
}

/* Remove the gray background shape as it's not in the original spec */
.hero-bg-shape {
    display: none;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 54px;
    /* Exact gap from audit */
    max-width: 1200px;
    /* Force max-width */
}

.hero-content {
    flex: 1;
    max-width: 500px;
    /* Keep this to ensure text wrapping matches */
}

.hero-content h1 {
    font-size: 40px;
    /* Audit value */
    line-height: 56px;
    /* Audit value */
    font-weight: 600;
    /* Audit value */
    margin-bottom: 16px;
    /* Audit value */
    color: var(--primary-text);
}

.hero-subtext {
    font-size: 18px;
    /* Audit value */
    line-height: 40px;
    /* Audit value */
    color: var(--primary-text);
    /* Audit says black, not #555 */
    margin-bottom: 32px;
}

.hero-features-list {
    margin-top: 24px;
}

.hero-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
    /* Audit value */
    font-size: 14px;
    /* Audit value */
    font-weight: 500;
}

.hero-features-list i {
    color: #111;
    /* Fallback green */
    /* Implementation note: In original these are images. Keeping icon for now but color matched */
}

/* Comparison Slider */
.hero-visual {
    flex: 1.2;
    position: relative;
    /* Ensure it doesn't overflow container incorrectly */
}

.comparison-slider {
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/10; Use aspect ratio for consistency */
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.label {
    position: absolute;
    top: 20px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    z-index: 10;
}

.after-image .label {
    right: 20px;
}

.before-image .label {
    left: 20px;
}

/* The magic for clipping the "Before" image */
.before-image {
    width: 100%;
    /* Initial state */
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

/* Slider Handle styling */
.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    /* Let clicks pass through to the range input */
}

/* Custom rounded handle in the middle */
.handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    color: #333;
    font-size: 12px;
    gap: 2px;
}

.slider-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 20;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-features-list {
        justify-content: center;
    }

    .hero-visual {
        width: 100%;
        max-width: 500px;
        /* Optional: limit width on tablets */
        margin: 0 auto;
    }

    .comparison-slider {
        height: 300px;
        width: 100%;
        /* Ensure it takes full width of parent */
    }
}

/* General Section Styles */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light-gray);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: var(--primary-text);
}

.section-header p {
    color: #666;
    font-size: 18px;
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.benefit-card {
    padding: 30px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.05);
    /* Light green */
    color: #111;
    /* Darker green for icon */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .benefit-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.benefit-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.benefit-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--secondary-action);
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 24px;
    position: relative;
    z-index: 2;
}

.process-step h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.process-step p {
    color: #666;
}

/* Connecting line for process steps (desktop only) */
@media (min-width: 769px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 15%;
        right: 15%;
        height: 2px;
        background-color: #ddd;
        z-index: 1;
        transform: translateY(-50%);
    }
}

@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        gap: 20px;
    }
}

/* Gallery Section */
.gallery-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-item {
    flex: 0 0 100%;
    width: 100%;
    padding: 0 50px;
    /* Space for buttons */
    box-sizing: border-box;
}

/* Adjust comparison slider within gallery to fit */
.gallery-item .comparison-slider {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Specific buttons for gallery to position them appropriately */
.gallery-prev {
    left: 0;
}

.gallery-next {
    right: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        padding: 0;
    }

    .gallery-prev {
        left: 10px;
        background: rgba(255, 255, 255, 0.8);
    }

    .gallery-next {
        right: 10px;
        background: rgba(255, 255, 255, 0.8);
    }
}

/* Design Styles Section */
.styles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.style-card {
    position: relative;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}

.style-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.style-card:hover img {
    transform: scale(1.05);
}

.style-label {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

/* Pricing Section */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    border: 1px solid transparent;
}

.pricing-card.featured {
    border-color: var(--secondary-action);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--secondary-action);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.pricing-header {
    margin-bottom: 30px;
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-text);
}

.price span {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.pricing-sub {
    color: #666;
    margin-top: 5px;
}

.pricing-features {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #444;
}

.pricing-features i {
    color: var(--secondary-action);
    /* Actually, for checkmarks, maybe darker green? Original uses secondary color */
    color: #111;
}

.btn-outline {
    border: 2px solid #ddd;
    color: var(--primary-text);
    width: 100%;
}

.btn-outline:hover {
    border-color: var(--secondary-action);
    background-color: transparent;
    /* Keep outline style or fill? Let's verify. Usually fill on hover. */
    background-color: #f9f9f9;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Responsive Pricing */
@media (max-width: 900px) {
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* Comparison Section */
.comparison-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    font-size: 20px;
    color: var(--primary-text);
}

.comparison-table td {
    color: #555;
    font-size: 16px;
}

.comparison-table .highlight {
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 600;
    color: #000;
}

.comparison-table th.highlight {
    background-color: var(--secondary-action);
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

/* Testimonials Section */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
    /* Add padding for shadow */
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--secondary-action);
    transition: all 0.3s ease;
    z-index: 5;
}

.slider-btn:hover {
    background: var(--secondary-action);
    color: #fff;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

.testimonial-content p {
    font-size: 20px;
    font-style: italic;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    margin-bottom: 2px;
    font-size: 16px;
}

.testimonial-author span {
    font-size: 14px;
    color: #777;
}

/* CTA Section */
.section-cta {
    background-color: #111;
    color: #fff;
    padding: 100px 0;
}

.section-cta h2 {
    color: #fff;
    margin-bottom: 15px;
}

.section-cta p {
    color: #ccc;
    margin-bottom: 30px;
    font-size: 18px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Footer */
.footer {
    background-color: #000;
    color: #fff;
    padding: 80px 0 30px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 30px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    /* White logo */
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #999;
}

.footer-col ul li a:hover {
    color: #fff;
}

.footer-col p {
    color: #999;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    background: var(--secondary-action);
    color: #000;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    color: #666;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
    position: absolute;
    bottom: 20px;
    width: 100%;
    z-index: 10;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.gallery-slider {
    padding-bottom: 40px;
}

/* Order Page Styles */
.section-order {
    padding-top: 50px;
    background-color: var(--bg-light-gray);
    min-height: 80vh;
}

.order-form {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.section-desc {
    color: #666;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary-action);
    outline: none;
}

/* Style Selector */
.style-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.style-option {
    cursor: pointer;
    position: relative;
    /* Ensure it contains the absolute label if any, though we are not using absolute now */
}

.style-option input {
    display: none;
}

.furnishing-label {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #eee;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.style-option input:checked+.furnishing-label {
    border-color: var(--secondary-action);
    background-color: rgba(166, 223, 80, 0.1);
    color: var(--secondary-action);
}

.style-option:hover .furnishing-label {
    border-color: #ccc;
}

/* Upload Area */
.upload-area {
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fafafa;
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--secondary-action);
    background-color: rgba(166, 223, 80, 0.05);
}

.upload-area i {
    font-size: 48px;
    color: #ccc;
    margin-bottom: 15px;
}

.upload-area p {
    color: #666;
    font-size: 16px;
}

.upload-area span {
    color: var(--secondary-action);
    font-weight: 600;
    text-decoration: underline;
}

/* Photo Details Card */
.photo-detail-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.photo-preview {
    width: 150px;
    height: 150px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.photo-card-content {
    flex: 1;
}

.photo-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.photo-name {
    font-weight: 600;
    font-size: 16px;
}

.remove-photo {
    color: #ff4d4d;
    cursor: pointer;
    font-size: 14px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
}

@media (max-width: 768px) {
    .order-form {
        padding: 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .photo-detail-card {
        flex-direction: column;
    }

    .photo-preview {
        width: 100%;
        height: 200px;
    }
}