@font-face {
    font-family: 'TAY Barrera';
    src: url('./api/TAYBarrera.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Fragile Script';
    src: url('./api/Fragile_Script.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    background-image: url('./images/hero-background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.hero-names {
    font-family: 'Fragile Script', cursive;
    font-size: 3rem;
    color: white;
    text-align: center;
    margin: 0;
    font-weight: normal;
    letter-spacing: 2px;
    position: fixed;
    top: 110px;
    left: 50%;
    z-index: 10;
    display: inline-block;
}

.hero-names.megan {
    transform: translateX(-85%);
}

.hero-names.pablo {
    transform: translateX(17%);
}

.date-location {
    font-family: 'TAY Barrera', serif;
    font-size: .8rem;
    color: white;
    position: fixed;
    top: 34%;
    right: 30px;
    transform: translateY(-50%);
    z-index: 10;
    text-align: right;
    line-height: 1.6;
    margin: 0;
}

.save-the-date-text {
    font-family: 'TAY Barrera', serif;
    font-size: 2.5rem;
    color: #c08c8c;
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    margin: 0;
    letter-spacing: 0em;
    white-space: nowrap;
}

/* Save the Date Section */
.save-date-section {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #fff;
}

.save-date-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #2c3e50;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 1.5rem 1.5rem;
    text-align: center;
    background: #160707;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 200;
}

.cta-text {
    font-family: 'TAY Barrera', serif;
    font-size: 0.875rem;
    color: #ff997a;
    margin: 0;
    line-height: 1.4;
}

.cta-button {
    display: inline-block;
    background: white;
    color: black;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.cta-button:active {
    transform: translateY(0);
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    color: #7f8c8d;
    font-size: 0.875rem;
}

/* Tablet */
@media (min-width: 768px) {
    .hero-names {
        font-size: 6rem;
    }
    
    .date-location {
        font-size: 1rem;
        top: 50%;
        right: 30px;
        line-height: 1em;
        letter-spacing: 0.2em;
    }
    
    .save-the-date-text {
        font-size: 4rem;
        bottom: 15px;
    }
    
    .save-date-section h2 {
        font-size: 3.5rem;
    }
    
    .cta-section {
        padding: 1.5rem 2rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero-names {
        font-size: 7rem;
    }
    
    .date-location {
        font-size: 1rem;
        right: 70px;
        line-height: 1em;
        letter-spacing: 0.2em;
    }
    
    .save-the-date-text {
        font-size: 8rem;
        bottom: -30px;
        letter-spacing: 0.00001em;
    }
    
    .save-date-section h2 {
        font-size: 4rem;
    }
    
    .cta-section {
        padding: 1.5rem 2rem;
    }
}

