/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2c2c2c;
    --secondary-color: #5a5a5a;
    --accent-color: #b8956a;
    --text-dark: #1f1f1f;
    --text-light: #7a7a7a;
    --text-mid: #555;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --bg-cream: #f5f5f3;
    --border: #e0dedb;
    --shadow: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===================== HEADER ===================== */
.header {
    background: var(--bg-white);
    color: var(--text-dark);
    padding: 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}

.logo span {
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    display: block;
    margin-top: 1px;
}

.nav {
    display: flex;
    gap: 0;
}

.nav a {
    color: var(--text-mid);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 18px;
}

.nav a:hover {
    color: var(--text-dark);
    background: none;
}

/* Language Selector */
.language-selector {
    display: flex;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    margin-left: 20px;
}

.lang-btn {
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    color: var(--text-light);
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: var(--transition);
}

.lang-btn:last-child {
    border-right: none;
}

.lang-btn:hover {
    background: var(--bg-light);
    color: var(--text-dark);
}

.lang-btn.active {
    background: var(--primary-color);
    color: #fff;
}

/* ===================== HERO ===================== */
.hero {
    background: var(--bg-cream);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(160deg, #f0ede8 0%, #faf9f7 60%, #ede8e0 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    padding: 0 20px;
}

.hero-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 40px;
    color: var(--text-light);
    font-weight: 300;
    letter-spacing: 0.02em;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    display: inline-flex;
}

.hero-features span {
    font-size: 0.8rem;
    padding: 12px 24px;
    border-right: 1px solid var(--border);
    color: var(--text-mid);
    letter-spacing: 0.06em;
    font-weight: 400;
    background: rgba(255,255,255,0.7);
}

.hero-features span:last-child {
    border-right: none;
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 42px;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: none;
    box-shadow: none;
}

/* ===================== SECTIONS ===================== */
.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
    margin-bottom: 60px;
}

/* ===================== PRODUCTS ===================== */
.products {
    padding: 100px 0;
    background: var(--bg-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
}

.product-card {
    background: var(--bg-white);
    overflow: hidden;
    transition: var(--transition);
}

.product-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-cream);
}

.product-image {
    height: 280px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.04);
}

.product-info {
    padding: 28px;
    border-top: 1px solid var(--border);
}

.product-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.05rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 300;
    margin-bottom: 18px;
    line-height: 1.6;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 18px;
    letter-spacing: 0.03em;
}

.btn-order {
    width: 100%;
    padding: 11px;
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0;
}

.btn-order:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

/* ===================== SERVICES ===================== */
.services {
    padding: 100px 0;
    background: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
}

.service-card {
    background: var(--bg-white);
    padding: 50px 40px;
    text-align: left;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:last-child {
    border-right: none;
}

.service-card:hover {
    transform: none;
    box-shadow: none;
    background: var(--bg-cream);
}

.service-icon {
    font-size: 1.8rem;
    margin-bottom: 24px;
    display: block;
}

.service-card h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 24px;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 0.88rem;
    font-weight: 300;
}

.service-card li:last-child {
    border-bottom: none;
}

.service-card li strong {
    color: var(--text-dark);
    font-weight: 500;
}

/* ===================== CONTACT ===================== */
.contact {
    padding: 100px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-light);
    margin: 36px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.contact-info h3:first-child {
    margin-top: 0;
}

.contact-info p {
    color: var(--text-mid);
    margin-bottom: 6px;
    font-size: 0.9rem;
    font-weight: 300;
}

.contact-form {
    background: var(--bg-cream);
    padding: 50px;
    border: 1px solid var(--border);
}

.contact-form h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 0;
    margin-bottom: 18px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    transition: var(--transition);
    border-radius: 0;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-light);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-bottom-color: var(--text-dark);
}

.contact-form textarea {
    resize: none;
    min-height: 100px;
}

/* ===================== FOOTER ===================== */
.footer {
    background: var(--primary-color);
    color: rgba(255,255,255,0.6);
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 6px;
    color: #fff;
    letter-spacing: 0.03em;
}

.footer-logo p {
    opacity: 0.5;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    opacity: 0.4;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ===================== MODAL ===================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.modal-content {
    background: var(--bg-white);
    margin: 6% auto;
    padding: 50px;
    width: 90%;
    max-width: 480px;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    border-radius: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    position: absolute;
    right: 24px;
    top: 20px;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    line-height: 1;
    font-weight: 300;
}

.close:hover {
    color: var(--text-dark);
}

.modal-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

#selectedSofa {
    color: var(--text-light);
    font-weight: 300;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.modal-content form input,
.modal-content form textarea {
    width: 100%;
    padding: 12px 0;
    margin-bottom: 14px;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
    border-radius: 0;
}

.modal-content form input:focus,
.modal-content form textarea:focus {
    border-bottom-color: var(--text-dark);
}

.modal-content form input::placeholder,
.modal-content form textarea::placeholder {
    color: var(--text-light);
}

.deposit-info {
    background: var(--bg-cream);
    padding: 16px 20px;
    margin: 20px 0;
    border-left: 2px solid var(--accent-color);
}

.deposit-info p {
    margin-bottom: 4px;
    font-size: 0.85rem;
    color: var(--text-mid);
}

/* ===================== ADMIN ===================== */
.admin-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 2000;
    overflow-y: auto;
}

.admin-content {
    max-width: 780px;
    margin: 60px auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: 0;
}

.admin-content h2 {
    color: var(--text-dark);
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 400;
    margin-bottom: 30px;
    text-align: center;
    font-size: 1.4rem;
}

.admin-stats {
    background: var(--bg-cream);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.admin-stats h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.admin-orders {
    background: var(--bg-white);
    border: 1px solid var(--border);
    padding: 20px;
    margin-bottom: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.admin-orders h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.order-item {
    background: var(--bg-cream);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 2px solid var(--accent-color);
}

.order-item p {
    margin: 4px 0;
    font-size: 0.85rem;
    color: var(--text-mid);
}

.btn-secondary {
    background: transparent;
    color: var(--text-mid);
    padding: 12px 30px;
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: block;
    margin: 0 auto;
    transition: var(--transition);
    border-radius: 0;
}

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

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 14px 20px;
        gap: 10px;
    }

    .nav {
        gap: 0;
        flex-wrap: wrap;
    }

    .nav a {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-features {
        flex-direction: column;
        display: flex;
    }

    .hero-features span {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .hero-features span:last-child {
        border-bottom: none;
    }

    .section-title {
        font-size: 1.7rem;
    }

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

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

    .service-card {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .service-card:last-child {
        border-bottom: none;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .modal-content {
        padding: 30px 24px;
        margin: 10% auto;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Placeholder */
.product-image::before {
    content: '';
}

.product-image {
    position: relative;
}
