/* 
 * Luxury Renovation Theme
 * Design System & Core Styles
 */

:root {
    /* Colors - Dark Luxury */
    --color-primary: #121212;
    /* Very dark charcoal/black */
    --color-secondary: #1e1e1e;
    /* Slightly lighter surface */
    --color-accent: #d4af37;
    /* Metallic Gold */
    --color-accent-hover: #b5952f;
    /* Darker Gold */
    --color-text: #f5f5f5;
    /* Off-white */
    --color-text-muted: #a0a0a0;
    /* Light gray */
    --color-white: #ffffff;
    --color-border: #333333;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
    color: var(--color-accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center {
    text-align: center;
}

.text-accent {
    color: var(--color-accent);
}

.uppercase {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-accent);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-accent);
}


/* ... (Previous Styles) ... */

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: background-color var(--transition-fast), padding var(--transition-fast);
}

.site-header.scrolled {
    background-color: rgb(18, 18, 18);
    /* Solid Dark Background */
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.main-nav a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width var(--transition-fast);
}

.main-nav a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Hero Image: Dark Modern Living Room */
    background-image: url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fallback gradient if image missing */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 90%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 4.5rem;
    }
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Sections Base */
.section {
    position: relative;
}

.padding-y {
    padding: var(--spacing-xl) 0;
}

.bg-darker {
    background-color: var(--color-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    /* Starte hidden */
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--color-secondary);
        padding: 5rem 2rem;
        transition: right var(--transition-fast);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
        padding: 0 2rem;
    }
}

/* Process Section */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.process-card {
    background: var(--color-secondary);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--color-accent);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.process-card h3 {
    margin-bottom: 1rem;
    color: var(--color-accent);
}

.text-muted {
    columns: var(--color-text-muted);
}

/* Calculator Component */
.calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-secondary);
    padding: 3rem;
    border: 1px solid var(--color-accent);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

.calc-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .calc-form {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }

    .form-group:nth-child(3) {
        /* Radio group spans full width */
        grid-column: span 2;
    }

    .calc-form button {
        grid-column: span 2;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.form-group input[type="number"],
.form-group select {
    padding: 1rem;
    background: var(--color-primary);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
}

.radio-group {
    display: flex;
    gap: 1.5rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.radio-option input[type="radio"] {
    accent-color: var(--color-accent);
    width: 20px;
    height: 20px;
}

.calc-result {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
    transition: opacity var(--transition-fast);
}

.calc-result.hidden {
    display: none;
    opacity: 0;
}

.price-range {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-accent);
    margin: 1rem 0;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}


/* ... (Previous Styles) ... */

/* Projects Gallery */
.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    height: 300px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--color-white);
}

.gallery-overlay p {
    color: var(--color-accent);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card {
    background: var(--color-secondary);
    padding: 2rem;
    border-radius: 4px;
    /* Slight rounded */
    border: 1px solid var(--color-border);
    text-align: center;
}

.stars {
    color: var(--color-accent);
    letter-spacing: 5px;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.review-card .author {
    font-weight: 600;
    color: var(--color-text-muted);
}

/* Footer Extended */
.site-footer {
    background-color: #000;
    color: #888;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.footer-col h3 {
    color: var(--color-white);
    font-size: 1.5rem;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    font-weight: 700;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form input {
    padding: 0.5rem;
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: #fff;
}

/* About Section Styles (Appended) */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.lead {
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 2rem 0;
}

.feature-list li {
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.about-image img {
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--color-secondary);
}