/* Wedding Website - Shared Styles */

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

:root {
    /* Colors - Change these to update site-wide */
    --cream: #FAF7F2;
    --warm-white: #FFF9F0;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --accent-gold: #C9A961;
    --soft-shadow: rgba(0, 0, 0, 0.08);
    
    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Cormorant Garamond', serif;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
    background-attachment: fixed;
    color: var(--text-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Subtle texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo .ampersand {
    color: var(--accent-gold);
    font-style: italic;
    margin: 0 5px;
}

.nav-links {
    display: flex;
    gap: 35px;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Main content area */
main {
    position: relative;
    z-index: 2;
    padding-top: 80px; /* Space for fixed nav */
    min-height: 100vh;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Page title styles */
.page-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.page-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    letter-spacing: 0.05em;
}

/* Decorative line */
.decorative-line {
    width: 60px;
    height: 1px;
    background: var(--accent-gold);
    margin: 30px auto;
    opacity: 0.5;
}

/* Content sections */
.content-section {
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.content-section p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px var(--soft-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.card p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    background: var(--accent-gold);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    font-family: var(--font-body);
}

.btn:hover {
    background: transparent;
    color: var(--accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: white;
}

/* Footer */
footer {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px 20px;
    text-align: center;
    margin-top: 100px;
}

footer p {
    color: var(--text-light);
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 768px) {
    nav .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a.active::after {
        display: none;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility classes */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 20px; }
.mt-2 { margin-top: 40px; }
.mt-3 { margin-top: 60px; }

.mb-1 { margin-bottom: 20px; }
.mb-2 { margin-bottom: 40px; }
.mb-3 { margin-bottom: 60px; }
