/* 
 * Soeun Studio - Premium Photography Website Styles 
 * Color Palette: Charcoal, Warm Beige, Muted Gold
 */

 :root {
    /* Colors */
    --color-primary: #1a1a1a;
    --color-secondary: #f5f0eb;
    --color-accent: #c5a059; /* Muted Gold */
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #ffffff;
    --color-light-bg: #fafafa;
    --color-border: #e0e0e0;

    /* Typography */
    --font-heading: 'Noto Serif KR', serif;
    --font-body: 'Noto Sans KR', sans-serif;

    /* Spacing */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Transitions */
    --transition-base: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center { text-align: center; }
.bg-light { background-color: var(--color-light-bg); }
.bg-dark { background-color: var(--color-primary); color: var(--color-white); }
.text-white { color: var(--color-white); }

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 1px solid transparent;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-base);
    letter-spacing: 0.05em;
}

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

.btn-primary:hover {
    background-color: #b08d4b;
    transform: translateY(-2px);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.3;
}

.subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.divider {
    width: 60px;
    height: 3px;
    background-color: var(--color-accent);
    margin: var(--spacing-sm) auto;
}

/* Header */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: -80px; /* Offset fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    opacity: 0.9;
}

/* General Section Styles */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--color-text-light);
}

.about-content p {
    margin-bottom: var(--spacing-md);
}

.about-content strong {
    color: var(--color-primary);
    font-weight: 600;
    border-bottom: 2px solid rgba(197, 160, 89, 0.3);
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1; /* Square images */
    background-color: var(--color-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Services List */
.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    text-align: center;
}

.service-item {
    padding: var(--spacing-md);
    background: var(--color-white);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.service-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.service-item h3 {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.service-item .price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.service-item .desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.contact-info address {
    font-style: normal;
    color: rgba(255,255,255,0.8);
}

.contact-info address p {
    margin-bottom: var(--spacing-sm);
}

.contact-form {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 4px;
    color: var(--color-text);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    font-family: inherit;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.footer {
    padding: var(--spacing-md) 0;
    background-color: #111;
    color: rgba(255,255,255,0.5);
    text-align: center;
    font-size: 0.9rem;
}

.footer .container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-links a {
    margin: 0 10px;
    color: inherit;
}

.social-links a:hover {
    color: var(--color-white);
}

/* Animations using Intersection Observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .nav-links {
        display: none; /* Simplification: hiding nav on mobile for this demo */
    }
    
    .hamburger {
        display: block; /* Would need JS implementation for toggle */
        cursor: pointer;
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}
