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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: #3D3430;
    background-color: #FAF8F5;
}

/* Typography */
h1, h2, h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1.2;
    color: #2C2421;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
}

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

.section {
    padding: 5rem 0;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(196, 168, 138, 0.2);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 2rem;
}

.nav-link {
    color: #5C4F45;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #9B8570;
}

.nav-link:focus {
    outline: 2px solid #9B8570;
    outline-offset: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #9B8570;
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 1.5rem 5rem;
    background: linear-gradient(180deg, #FAF8F5 0%, #F0EBE3 100%);
}

.hero-title {
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: #6B5D52;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

/* About Section */
.about {
    background-color: #FFFFFF;
}

.about-content {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #4A3F37;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Work/Gallery Section */
.work {
    background-color: #F5F1EC;
}

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

.gallery-item {
    aspect-ratio: 1;
    background-color: #FFFFFF;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(61, 52, 48, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(61, 52, 48, 0.12);
}

.gallery-item svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Contact Section */
.contact {
    background-color: #FFFFFF;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

.contact-content p {
    margin-bottom: 1rem;
}

.contact-placeholder {
    color: #9B8570;
    font-style: italic;
    padding: 1rem;
    border: 2px dashed #C4A88A;
    border-radius: 4px;
    background-color: #FAF8F5;
}

/* Footer */
.footer {
    background-color: #E8DDD3;
    padding: 3rem 0;
    text-align: center;
    color: #5C4F45;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section {
        padding: 3rem 0;
    }
    
    .nav {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .hero {
        min-height: 70vh;
        padding: 6rem 1.5rem 4rem;
    }
    
    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-link {
        font-size: 0.85rem;
    }
    
    .gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
*:focus-visible {
    outline: 2px solid #9B8570;
    outline-offset: 3px;
}
