:root {
    --beige-light: #F5F1E8;
    --beige-medium: #E8DCC4;
    --beige-dark: #C9B896;
    --cream: #FAF7F0;
    --brown-light: #D4C5A9;
    --brown-medium: #A68F6D;
    --text-dark: #3E3830;
    --text-light: #6B5D4F;
    --white: #FFFFFF;
    --shadow: rgba(62, 56, 48, 0.1);
    --shadow-dark: rgba(62, 56, 48, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: 0.5px;
}

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

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

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

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 5% 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--beige-light) 100%);
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 400;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--brown-medium);
}

.btn-secondary:hover {
    background-color: var(--brown-medium);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sections */
section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--brown-medium);
}

/* About Section */
#about {
    background-color: var(--white);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--beige-light);
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
}

.about-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.gallery-item-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background-color: var(--beige-light);
}

.gallery-item-content {
    padding: 1.5rem;
}

.gallery-item-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.gallery-item-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.gallery-item-meta {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.meta-tag {
    background-color: var(--beige-medium);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, var(--beige-light) 0%, var(--cream) 100%);
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background-color: var(--white);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px var(--shadow);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px var(--shadow-dark);
    background-color: var(--brown-medium);
    color: var(--white);
}

.social-icon {
    width: 24px;
    height: 24px;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--beige-light);
    padding: 2rem 5%;
    text-align: center;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid var(--beige-medium);
    border-radius: 50%;
    border-top-color: var(--brown-medium);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

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

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 20px;
    max-width: 90%;
    max-height: 90%;
    overflow: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
    background: none;
    border: none;
    padding: 0.5rem;
}

.modal-close:hover {
    color: var(--brown-medium);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
}
