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

:root {
    --primary-brown: #8B6F47;
    --dark-brown: #5C4A2F;
    --light-brown: #A89968;
    --cream: #F5E6D3;
    --accent-gold: #D4AF37;
    --text-dark: #3D2817;
    --wood-light: #C19A6B;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: linear-gradient(135deg, #5C4A2F 0%, #8B6F47 25%, #6B5A3E 50%, #8B6F47 75%, #5C4A2F 100%),
                repeating-linear-gradient(
                    90deg,
                    rgba(0, 0, 0, 0.03) 0px,
                    rgba(0, 0, 0, 0.03) 2px,
                    transparent 2px,
                    transparent 4px
                );
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background-color: var(--dark-brown);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid var(--accent-gold);
}

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

.logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 2px;
}

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

.nav-link {
    color: var(--cream);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    position: relative;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="wood" x="0" y="0" width="200" height="200" patternUnits="userSpaceOnUse"><rect width="200" height="200" fill="%238B6F47"/><line x1="0" y1="0" x2="200" y2="200" stroke="%235C4A2F" stroke-width="2" opacity="0.3"/></pattern></defs><rect width="1200" height="600" fill="url(%23wood)"/></svg>');
    background-size: cover;
    background-position: center;
    padding: 150px 2rem;
    text-align: center;
    color: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 3px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--cream);
    font-style: italic;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-gold);
    color: var(--dark-brown);
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--accent-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Portfolio Section */
.portfolio {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(168, 153, 104, 0.1) 0%, rgba(91, 74, 47, 0.1) 100%),
                repeating-linear-gradient(
                    0deg,
                    rgba(139, 111, 71, 0.05) 0px,
                    rgba(139, 111, 71, 0.05) 1px,
                    transparent 1px,
                    transparent 2px
                );
}

.portfolio h2,
.about h2,
.commission h2,
.contact h2 {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    color: var(--dark-brown);
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-brown);
    margin-bottom: 3rem;
    font-style: italic;
}

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

.portfolio-item {
    background: var(--cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border-left: 5px solid var(--accent-gold);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(212, 175, 55, 0.3);
}

.placeholder-image {
    background: linear-gradient(135deg, var(--wood-light) 0%, var(--primary-brown) 100%),
                repeating-linear-gradient(
                    45deg,
                    rgba(0, 0, 0, 0.05) 0px,
                    rgba(0, 0, 0, 0.05) 2px,
                    transparent 2px,
                    transparent 4px
                );
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.portfolio-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--dark-brown);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
}

.portfolio-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--primary-brown);
    font-size: 0.95rem;
}

.portfolio-note {
    text-align: center;
    color: var(--primary-brown);
    font-style: italic;
    margin-top: 2rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(245, 230, 211, 0.3), rgba(201, 154, 107, 0.2)),
                repeating-linear-gradient(
                    90deg,
                    rgba(139, 111, 71, 0.03) 0px,
                    rgba(139, 111, 71, 0.03) 1px,
                    transparent 1px,
                    transparent 2px
                );
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.8;
    background: rgba(245, 230, 211, 0.6);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
}

/* Commission Section */
.commission {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(168, 153, 104, 0.15) 0%, rgba(91, 74, 47, 0.15) 100%),
                repeating-linear-gradient(
                    0deg,
                    rgba(139, 111, 71, 0.05) 0px,
                    rgba(139, 111, 71, 0.05) 1px,
                    transparent 1px,
                    transparent 2px
                );
}

.commission h2 {
    margin-bottom: 3rem;
}

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

.step {
    background: var(--cream);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent-gold);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.step-number {
    background: var(--primary-brown);
    color: var(--cream);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step h3 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.step p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(245, 230, 211, 0.25), rgba(201, 154, 107, 0.15)),
                repeating-linear-gradient(
                    90deg,
                    rgba(139, 111, 71, 0.03) 0px,
                    rgba(139, 111, 71, 0.03) 1px,
                    transparent 1px,
                    transparent 2px
                );
}

.contact h2 {
    margin-bottom: 1rem;
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto;
    background: var(--cream);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-left: 5px solid var(--accent-gold);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-brown);
    font-weight: 500;
    font-family: 'Cinzel', serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--light-brown);
    border-radius: 4px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--primary-brown);
    font-size: 0.9rem;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-brown);
    color: var(--cream);
    border: 2px solid var(--primary-brown);
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-gold);
    color: var(--dark-brown);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.contact-info {
    text-align: center;
    margin-top: 3rem;
    background: rgba(245, 230, 211, 0.6);
    padding: 2rem;
    border-radius: 8px;
    border-top: 3px solid var(--accent-gold);
}

.contact-info h3 {
    color: var(--dark-brown);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.contact-info p {
    color: var(--text-dark);
}

.contact-info a {
    color: var(--primary-brown);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background-color: var(--dark-brown);
    color: var(--cream);
    text-align: center;
    padding: 2rem;
    border-top: 3px solid var(--accent-gold);
    margin-top: 80px;
}

.footer p {
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .portfolio h2,
    .about h2,
    .commission h2,
    .contact h2 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

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

    .portfolio h2,
    .about h2,
    .commission h2,
    .contact h2 {
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

/* Global readable text color (non-home sections) */
section:not(#home),
section:not(#home) p,
section:not(#home) li,
section:not(#home) span,
section:not(#home) a,
section:not(#home) h1,
section:not(#home) h2,
section:not(#home) h3,
section:not(#home) h4 {
  color: #1f2937; /* dark gray for readability */
}

/* Keep home/hero text styling as-is (or explicitly lighter) */
#home,
#home p,
#home li,
#home span,
#home a,
#home h1,
#home h2,
#home h3,
#home h4 {
  color: inherit;
}
