/* Define the color palette and fonts */
:root {
    --bg-color: #fdfcf9;       /* A warm, off-white */
    --text-color: #333333;     /* Dark charcoal, not pure black */
    --accent-color: #b8860b;   /* A dark, sophisticated gold/bronze */
    --card-bg: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

/* Basic Reset & Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

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

/* Header & Navigation */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
}

.navbar nav a {
    font-family: var(--font-body);
    font-weight: 400;
    text-decoration: none;
    color: var(--text-color);
    margin-left: 1.5rem;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 300;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Main Gallery Section */
.gallery {
    padding: 2rem 0 4rem 0;
}

.gallery h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    /* This creates a responsive grid: 
       - On large screens, items will be ~350px wide.
       - On small screens, they will stretch to 100% (minmax). */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image covers the box */
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05); /* Subtle zoom on hover */
}

/* Overlay for item info */
.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    transform: translateY(30%); /* Hide most of it */
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover .item-overlay {
    transform: translateY(0);
    opacity: 1;
}

.item-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 0.25rem 0;
}

.item-overlay p {
    margin: 0;
    font-weight: 300;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 4rem 0;
    background-color: #f4f4f4;
}

.contact h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact p {
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 550px;
    margin: 0 auto 2rem auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #a77a0a; /* Darker gold */
    transform: translateY(-3px);
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }
}
