:root {
    /* Colors */
    --color-bg: #fcfaf7;
    --color-text: #2c3e50;
    --color-text-light: #546e7a;
    --color-accent: #8a6d3b; /* Deeper Muted Gold for accessibility */
    --color-accent-hover: #6e562d;
    --color-white: #ffffff;
    --color-border: #e0dcd5;

    /* Typography */
    --font-serif: Georgia, "Times New Roman", serif;
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & Radius */
    --space-xs: 0.5rem;
    --space-s: 1rem;
    --space-m: 2rem;
    --space-l: 4rem;
    --radius-m: 8px;
    --shadow-s: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-m: 0 4px 12px rgba(0,0,0,0.1);
}

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

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans), serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-serif), serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-s);
    color: var(--color-accent);
    text-align: center;
    position: relative;
    padding-bottom: var(--space-xs);
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--color-accent);
    opacity: 0.4;
}

p {
    margin-bottom: var(--space-s);
}

/* Header / Hero */
header {
    padding: var(--space-l) var(--space-s);
    text-align: center;
    background: linear-gradient(to bottom, #fdfbf9, var(--color-bg));
}

.hero {
    max-width: 800px;
    margin: 0 auto;
}

.dates {
    font-family: var(--font-serif), serif;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--color-text-light);
    font-weight: normal;
    text-align: center;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-s) var(--space-l);
}

section {
    margin-bottom: var(--space-l);
    display: flow-root;
}

.content {
    max-width: 700px;
    margin: 0 auto;
}

.content p {
    text-align: justify;
}

/* Services Section */
.service-details {
    max-width: 500px;
    margin: 0 auto;
    padding: var(--space-m);
    background-color: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-s);
    text-align: center;
}

.service-details p {
    margin-bottom: var(--space-xs);
}

/* Gallery Section */
.gallery-card {
    text-align: center;
    padding: var(--space-m);
    background-color: var(--color-white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-m);
    border: 1px solid var(--color-border);
}

.gallery-card h2 {
    margin-bottom: var(--space-s);
}

.cta-button {
    display: inline-block;
    margin-top: var(--space-s);
    padding: 1rem 2rem;
    background-color: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    border-radius: var(--radius-m);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
}

.cta-button:focus {
    outline: 3px solid rgba(176, 141, 87, 0.5);
    outline-offset: 2px;
}

/* Footer */
footer {
    text-align: center;
    padding: var(--space-m) var(--space-s);
    border-top: 1px solid var(--color-border);
    font-family: var(--font-serif), serif;
    font-style: italic;
    color: var(--color-text-light);
}

/* Featured Images */
.featured-img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-m);
}

.img-float-left {
    float: left;
    display: block;
    max-width: 300px;
    height: auto;
    margin-right: var(--space-m);
    margin-bottom: var(--space-s);
}

.img-float-right {
    float: right;
    display: block;
    max-width: 300px;
    height: auto;
    margin-left: var(--space-m);
    margin-bottom: var(--space-s);
}

/* Update Responsive Breakpoint for images */
@media (max-width: 600px) {
    .featured-img {
        float: none;
        width: 100%;
        margin: 0 auto var(--space-m);
        display: block;
        text-align: center;
    }
    h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.5rem;
    }
    header {
        padding: var(--space-m) var(--space-s);
    }
}

/* Album Collage Styles */
.album-collage {
    column-count: 4;
    column-gap: var(--space-s);
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Lightbox Styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox:target {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 2rem;
    text-decoration: none;
}

.collage-item {
    break-inside: avoid;
    margin-bottom: var(--space-s);
    background-color: var(--color-white);
    border-radius: var(--radius-m);
    box-shadow: var(--shadow-s);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-m);
}

.collage-item img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 1024px) {
    .album-collage {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .album-collage {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .album-collage {
        column-count: 1;
    }
}

/* Print Styles */
@media print {
    body {
        background-color: white;
        color: black;
        font-family: Georgia, serif;
    }
    
    header, footer, .cta-button, .gallery-card {
        border: none;
        box-shadow: none;
        background: none;
    }
    
    .cta-button {
        display: none; /* Links are often not useful in print unless they are text */
    }
    
    h2 {
        color: black;
        text-align: left;
    }
    
    h2::after {
        display: none;
    }
    
    .service-details {
        border: 1px solid black;
        box-shadow: none;
    }
    
    main {
    max-width: 700px;
        padding: 0;
    }
}
