@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Montserrat:wght@300;400&display=swap');

/* ============================================
   COLOR PALETTE - Customize all colors here
   ============================================ */

   /* Make the page/background behind Safari UI match the top of your gradient */
html {
  background: var(--creme-background); /* solid color that matches the gradient start */
}

:root {
    /* Primary Colors */
    --creme-background: #e7dcca;
    --creme-light: #f3efea;
    --garnet-primary: #366940;
    --garnet-light: #52845a;
    --garnet-dark: #0b4012;
    
    /* Highlight Colors */
    --brown-primary: #422c0e;
    --brown-light: #5d3a11;
    --brown-dark: #2f1d0b;
    
    /* Accent Colors */
    --accent-gold: #c9a961;
    
    /* Opacity Variations */
    --garnet-opacity-10: rgba(139, 0, 0, 0.1);
    --garnet-opacity-15: rgba(139, 0, 0, 0.15);
    --garnet-opacity-20: rgba(139, 0, 0, 0.2);
    --garnet-opacity-30: rgba(139, 0, 0, 0.3);
    --green-opacity-10: rgba(45, 95, 63, 0.1);
    --green-opacity-20: rgba(45, 95, 63, 0.2);
    --green-opacity-30: rgba(45, 95, 63, 0.3);
    --green-opacity-50: rgba(45, 95, 63, 0.5);
}

/* ============================================
   BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, var(--creme-background) 0%, var(--creme-light) 100%);
    color: var(--garnet-primary);
    overflow-x: hidden;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--green-opacity-10) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.3; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.5; 
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1.5s ease-out;
}

.hero-image {
    width: 260px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid var(--brown-primary);
    box-shadow: 0 10px 40px var(--green-opacity-30);
    animation: fadeInUp 1.5s ease-out, float 3s ease-in-out 1.5s infinite;
}

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

.ampersand {
    font-size: 4rem;
    color: var(--brown-primary);
    margin: 1rem 0;
    font-family: 'Cormorant Garamond', serif;
    animation: float 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px var(--green-opacity-20);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    margin: 0.5rem 0;
    letter-spacing: 0.1em;
    color: var(--garnet-primary);
}

.tagline {
    font-size: 1.2rem;
    margin-top: 2rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--brown-primary);
    animation: fadeIn 2s ease-out 0.5s both;
    font-weight: 400;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.date-location {
    margin-top: 3rem;
    font-size: 1.1rem;
    line-height: 2;
    animation: fadeIn 2s ease-out 1s both;
    color: var(--garnet-light);
}

.wedding-date {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 0.15em;
    font-weight: 400;
    color: var(--brown-primary);
    font-variant-ligatures: common-ligatures;
    font-feature-settings: "liga" 1, "dlig" 1;
}

.binary-easter-egg {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: var(--garnet-opacity-30);
    margin-top: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.binary-easter-egg:hover {
    opacity: 1;
    color: var(--brown-primary);
}

.binary-easter-egg sub {
    font-size: 0.6em;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--garnet-primary);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--brown-primary), transparent);
}

/* ============================================
   INFO CARDS
   ============================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background: var(--creme-light);
    border: 2px solid var(--green-opacity-20);
    padding: 2rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.info-card:hover {
    transform: translateY(-5px);
    background: var(--creme-light);
    border-color: var(--brown-primary);
    box-shadow: 0 10px 30px var(--green-opacity-30);
}

.info-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--garnet-primary);
}

.info-card p {
    color: var(--garnet-dark);
    line-height: 1.6;
}

/* ============================================
   BUTTONS
   ============================================ */
.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--brown-primary), var(--brown-light));
    color: var(--creme-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-transform: uppercase;
    font-weight: 400;
}

.cta-button:hover {
    background: transparent;
    border-color: var(--brown-primary);
    color: var(--brown-primary);
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--green-opacity-30);
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
    height: 1px;
    background: linear-gradient(to right, transparent, var(--green-opacity-50), transparent);
    margin: 4rem 0;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    text-align: center;
    padding: 2rem;
    background: var(--green-opacity-10);
    color: var(--garnet-primary);
    font-size: 0.9rem;
    border-top: 1px solid var(--green-opacity-20);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .ampersand {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-image {
        width: 200px;
        height: 200px;
    }
}