/* --- Base & Typography --- */
:root {
    --primary-color: #B08D57; /* A sophisticated, muted gold */
    --light-bg: #FAF7F2;      /* A warm, creamy off-white */
    --secondary-bg: #F1EDE7;  /* A slightly darker off-white for contrast */
    --dark-text: #41403E;      /* A soft, dark charcoal for text */
    --light-text: #FFFFFF;    /* For use on dark backgrounds/buttons */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--dark-text);
    line-height: 1.6;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

p {
    font-weight: 300;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

/* --- Header & Navigation --- */
header {
    background: rgba(250, 247, 242, 0.85); /* Semi-transparent version of light-bg */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e0d9cf;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-text);
}

header nav ul {
    display: flex;
    list-style: none;
}

header nav ul li a {
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

header nav ul li a:hover {
    color: var(--primary-color);
}

/* --- Hero Section --- */
#hero {
    /* A subtle light gradient instead of a dark one */
    background: linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)), url('../images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--dark-text);
    /* Soft shadow to ensure text is readable against various backgrounds */
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: var(--dark-text);
}

.cta-button {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #c8a36d; /* Slightly darker gold on hover */
    transform: translateY(-2px);
}

/* --- Main Content Sections --- */
main section {
    padding: 6rem 0;
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    /* A softer shadow for the light theme */
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}

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

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

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

.item-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* Light gradient overlay */
    background: linear-gradient(to top, rgba(250, 247, 242, 0.95), transparent);
    color: var(--dark-text);
    padding: 3rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.item-info h3 {
    color: var(--dark-text); /* Dark text on the light overlay */
    margin: 0;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.gallery-item:hover .item-info {
    transform: translateY(0);
}

.gallery-item:hover .item-info h3 {
    transform: translateY(0);
}

/* --- About & Contact Sections --- */
#about {
    background-color: var(--secondary-bg); /* Use the subtle secondary background */
}

.about-content {
    max-width: 800px;
    text-align: center;
}

#contact {
    text-align: center;
}

.email-link {
    font-size: 1.2rem;
    font-weight: bold;
    display: inline-block;
    margin-top: 1rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.email-link:hover {
    border-color: var(--primary-color);
}


/* --- Footer --- */
footer {
    background-color: var(--secondary-bg);
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #8a8884;
}

/* --- Image Modal --- */
/* NOTE: The modal overlay is kept dark by design. This is a standard UX practice
   that helps the enlarged image pop and focuses the user's attention. */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    padding: 15px 0;
    color: #ccc;
}

#modalCaption h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.modal-content, #modalCaption {
    animation-name: zoom;
    animation-duration: 0.4s;
}

@keyframes zoom {
    from {transform: scale(0.5)}
    to {transform: scale(1)}
}

.close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-button:hover, .close-button:focus {
    color: #bbb;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }

    h2 {
        font-size: 2rem;
    }

    main section {
        padding: 4rem 0;
    }
}