/* CSS Variables */
:root {
    --bronze-dark: #4a3728;
    --bronze-medium: #8b6f47;
    --bronze-light: #b8936d;
    --warm-beige: #e8dcc8;
    --gallery-white: #f5f0e8;
    --wood-floor: #c9a96e;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--bronze-dark);
    background-color: var(--gallery-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

/* Navigation */
.navbar {
    background-color: rgba(74, 55, 40, 0.95);
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--warm-beige) !important;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--warm-beige) !important;
    margin: 0 1rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--bronze-light) !important;
}

.nav-link.active {
    color: var(--bronze-light) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--bronze-dark) 0%, var(--bronze-medium) 100%);
    color: var(--gallery-white);
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(232,220,200,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
    color: var(--warm-beige);
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* Gallery Header */
.gallery-header {
    background: linear-gradient(135deg, var(--bronze-dark) 0%, var(--bronze-medium) 100%);
    color: var(--gallery-white);
    padding: 5rem 0 4rem;
    text-align: center;
}

.gallery-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

.gallery-header p {
    font-size: 1.2rem;
    color: var(--warm-beige);
    letter-spacing: 1px;
}

/* Decorative Line */
.decorative-line {
    width: 100px;
    height: 2px;
    background: var(--bronze-medium);
    margin: 2rem auto;
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gallery-white);
}

.about-section h2 {
    font-size: 3rem;
    color: var(--bronze-dark);
    margin-bottom: 2rem;
    text-align: center;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--bronze-medium);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, var(--warm-beige), var(--gallery-white));
}

.services-section h2 {
    font-size: 3rem;
    color: var(--bronze-dark);
    margin-bottom: 3rem;
    text-align: center;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 3px solid var(--bronze-medium);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 55, 40, 0.15);
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--bronze-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--bronze-medium);
    line-height: 1.7;
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(74, 55, 40, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(74, 55, 40, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.gallery-item-caption {
    padding: 1.5rem;
    background: white;
}

.gallery-item-caption h3 {
    font-size: 1.4rem;
    color: var(--bronze-dark);
    margin-bottom: 0.5rem;
}

.gallery-item-caption p {
    font-size: 0.95rem;
    color: var(--bronze-medium);
    margin: 0;
}

/* Modal Styles */
.modal-content {
    background-color: var(--gallery-white);
    border: none;
}

.modal-header {
    border-bottom: 2px solid var(--warm-beige);
}

.modal-title {
    color: var(--bronze-dark);
    font-family: 'Cormorant Garamond', serif;
}

.modal-body img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.btn-close {
    filter: opacity(0.6);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--bronze-dark);
    color: var(--warm-beige);
}

.contact-section h2 {
    font-size: 3rem;
    color: var(--warm-beige);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-section p {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section a {
    color: var(--bronze-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-section a:hover {
    color: var(--warm-beige);
}

/* Footer */
footer {
    background-color: #3a2a1f;
    color: var(--warm-beige);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer p {
    margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .gallery-header h1 {
        font-size: 2.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item img {
        height: 280px;
    }

    .about-section h2,
    .services-section h2,
    .contact-section h2 {
        font-size: 2.2rem;
    }

    .nav-link {
        margin: 0.5rem 0;
    }

    .service-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 5rem 0 4rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .gallery-header {
        padding: 3rem 0 2rem;
    }

    .gallery-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-section,
    .contact-section {
        padding: 3rem 0;
    }
}
