/* CSS Variables - Customizable Theme */
:root {
    --primary-color: #D4C5B0;
    --secondary-color: #A89F91;
    --accent-color: #C9B8A3;
    --background-color: #FFFEF9;
    --surface-color: #F5F1EB;
    --text-primary: #3D3731;
    --text-secondary: #2C2520;
    --border-color: #E0D5C7;
    --heading-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --base-size: 16px;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: var(--base-size);
    color: var(--text-primary);
    background: var(--background-color);
    line-height: 1.6;
}

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

/* Navigation */
.header {
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    font-family: var(--heading-font);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: color 0.2s, border-bottom 0.2s;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.nav-links a.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Hero Section */
.hero {
    padding: 6rem 1.5rem;
    text-align: center;
    background: var(--surface-color);
    border-bottom: 1px solid var(--border-color);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-headline {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-description {
    font-size: 1.25rem;
    color: #FFFFFF;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #3D3731;
    color: #FFFFFF;
    border: 2px solid #3D3731;
}

.btn-primary:hover {
    background: #FFFFFF;
    color: #3D3731;
    transform: translateY(-1px);
}

/* Content Section */
.content-section {
    padding: 5rem 0;
    text-align: center;
}

.content-section h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.content-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background: var(--surface-color);
}

.features-section h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.feature-card h3 {
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    background: var(--surface-color);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Social Links Styling */
.social-link:hover {
    color: var(--primary-color) !important;
}

/* Contact Form Styling */
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Footer Social Icons */
.footer-social a:hover svg {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.05rem;
    }

    .hero {
        padding: 4rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.85rem;
    }

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

    .content-section {
        padding: 3rem 0;
    }

    .content-section h2 {
        font-size: 1.75rem;
    }

    .content-section p {
        font-size: 1rem;
    }

    .social-links {
        flex-direction: column;
        gap: 1rem !important;
    }

    .social-link {
        font-size: 1rem !important;
    }

    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

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

    .contact-left .social-links {
        justify-content: center;
    }
}

@media (max-width: 390px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .nav {
        padding: 0.75rem 1rem;
    }

    .logo-img {
        height: 40px;
    }

    .nav-links {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .container {
        padding: 0 1rem;
    }
}
