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

:root {
    /* Color System - Earth Tones inspired by Five Elements */
    --primary-500: #8B4513;  /* SaddleBrown - terracotta */
    --primary-700: #71380F;  /* Darker terracotta */
    --primary-100: #F5E8DD;  /* Subtle highlights */
    
    --bg-page: #FDFBF8;      /* Almond White */
    --bg-surface: #FFFFFF;   /* Pure White */
    --text-primary: #3D3A36; /* Dark Charcoal */
    --text-secondary: #7E7972; /* Muted Taupe */
    --border-subtle: #EAE6E1;
    
    --accent-gold: #A78759;  /* Muted Gold */
    --success: #346E53;      /* Deep Forest Green */
    --warning: #B87333;      /* Muted Bronze */
    --error: #A1483F;        /* Subdued Terracotta Red */
    
    /* Typography */
    --font-headline: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 64px;
    --space-xxl: 96px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-md: 0 8px 24px rgba(139, 69, 19, 0.08);
    --shadow-lg: 0 16px 48px rgba(139, 69, 19, 0.12);
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-page);
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headline);
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

h1 { font-size: 61px; font-weight: 600; }
h2 { font-size: 40px; font-weight: 600; }
h3 { font-size: 25px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 600; }

p {
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

/* Header & Navigation */
.header {
    background: rgba(253, 251, 248, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-headline);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-500);
}

.logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-500);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xxl) var(--space-sm);
    gap: var(--space-xl);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 61px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.hero-description {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
    color: var(--text-secondary);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-gold));
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-align: center;
}

.hero-placeholder i {
    font-size: 80px;
    margin-bottom: var(--space-sm);
    color: var(--primary-500);
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-add-cart {
    padding: 16px 32px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease-out;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-500);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-700);
    transform: scale(1.03);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
}

.btn-secondary:hover {
    background: var(--primary-500);
    color: white;
    transform: scale(1.03);
}

.btn-add-cart {
    background: var(--accent-gold);
    color: white;
    width: 100%;
    margin-top: var(--space-sm);
}

.btn-add-cart:hover {
    background: var(--primary-500);
    transform: translateY(-2px);
}

/* Section Styles */
section {
    padding: var(--space-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Products Section */
.products-section {
    background: var(--bg-surface);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.product-card {
    background: var(--bg-page);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid var(--border-subtle);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    margin-bottom: var(--space-sm);
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-gold));
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-align: center;
}

.image-placeholder i {
    font-size: 40px;
    margin-bottom: var(--space-xs);
    color: var(--primary-500);
}

.product-card h3 {
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-500);
    margin-bottom: var(--space-xs);
}

.product-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

/* Services Section */
.services-grid {
    display: grid;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.service-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease-in-out;
    border: 1px solid var(--border-subtle);
    display: flex;
    gap: var(--space-md);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-500);
    font-size: 24px;
}

.service-content {
    flex: 1;
}

.service-content h3 {
    margin-bottom: var(--space-sm);
}

.service-features {
    margin: var(--space-sm) 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.service-features span {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-secondary);
    font-size: 14px;
}

.service-features i {
    color: var(--success);
    font-size: 12px;
}

.service-link {
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.service-link:hover {
    color: var(--primary-700);
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-500);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

/* Videos Section */
.videos-section {
    background: var(--bg-page);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.video-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-gold));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-align: center;
    position: relative;
}

.video-placeholder i {
    font-size: 60px;
    margin-bottom: var(--space-sm);
    color: var(--primary-500);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(139, 69, 19, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: var(--primary-500);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-card h3 {
    padding: var(--space-sm) var(--space-md) 0;
    margin-bottom: var(--space-xs);
}

.video-card p {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--text-secondary);
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    background: var(--bg-surface);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
}

.contact-item i {
    width: 20px;
    color: var(--primary-500);
}

/* Forms */
.contact-form, .modal form {
    background: var(--bg-page);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: var(--space-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
    background: var(--bg-surface);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: flex-end;
    margin-top: var(--space-md);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(61, 58, 54, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-page);
    margin: 5% auto;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.close {
    position: absolute;
    right: var(--space-md);
    top: var(--space-md);
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.video-modal-content {
    max-width: 800px;
}

.video-container h3 {
    margin-bottom: var(--space-md);
    text-align: center;
}

.video-placeholder-large {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-100), var(--accent-gold));
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-align: center;
}

.video-placeholder-large i {
    font-size: 100px;
    margin-bottom: var(--space-sm);
    color: var(--primary-500);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: var(--bg-page);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-section h4 {
    color: var(--bg-page);
    margin-bottom: var(--space-sm);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-xs);
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-section .social-links {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
}

.footer-section .social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.3s ease;
}

.footer-section .social-links a:hover {
    background: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--text-secondary);
    padding-top: var(--space-sm);
    text-align: center;
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .service-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    h1 { font-size: 40px; }
    h2 { font-size: 32px; }
    h3 { font-size: 20px; }
    
    .hero {
        min-height: 80vh;
        padding: 120px var(--space-sm) var(--space-xl);
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .btn-primary, .btn-secondary, .btn-add-cart {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .product-card, .service-card {
        padding: var(--space-sm);
    }
    
    .modal-content {
        margin: 10% auto;
        padding: var(--space-sm);
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

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

.slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}