@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Lato:wght@400;700&display=swap');

:root {
    --primary-color: #d4a5a5;
    --secondary-color: #87a7b3;
    --background-color: #fdf6f0;
    --text-color: #4a4a4a;
    --white: #fff;
    --font-body: 'Lato', sans-serif;
    --font-headings: 'Playfair Display', serif;
}

body {
    font-family: var(--font-body);
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background: var(--background-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

header {
    background: transparent;
    padding: 1rem 0;
}

nav ul {
    margin: 0;
    padding: 1rem 0;
    list-style: none;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--font-headings);
    transition: color 0.3s ease;
}

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

#hero {
    text-align: center;
    padding: 3rem 1rem;
}

#hero h1 {
    font-family: var(--font-headings);
    font-size: 4rem;
    color: var(--primary-color);
    margin: 0;
}

.subtitle {
    font-family: var(--font-headings);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-top: 0;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1.5rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: var(--secondary-color);
}

h2 {
    font-family: var(--font-headings);
    color: var(--primary-color);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-family: var(--font-headings);
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.about-item, .message-item, #contact-info, #gallery, #gallery-preview {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.message-date {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 8px;
}

.video-container iframe,
.video-container p {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.photo-grid-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 768px) {
    .photo-grid-preview {
        grid-template-columns: 1fr;
    }
}

.photo-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.photo-item img:hover {
    transform: scale(1.05);
}

.text-center {
    text-align: center;
    margin-top: 2rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
    background: var(--primary-color);
    color: var(--white);
    margin-top: auto;
    font-style: italic;
}
