@font-face {
    font-family: 'Abramo Script';
    src: url('font/Abramo Script.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('font/Roboto-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=B612+Mono&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
    --brick-red: #BF754B;
    --beige: #F6F4F0;
    --cream: #F6F4F0;
    --border: rgba(191, 117, 75, 0.2);
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--beige);
    background-image:
        radial-gradient(ellipse at 30% 20%, rgba(191, 117, 75, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(191, 117, 75, 0.04) 0%, transparent 50%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300"><filter id="g" x="0" y="0" width="100%25" height="100%25"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="6" stitchTiles="stitch"/><feColorMatrix type="saturate" values="0"/></filter><rect width="300" height="300" filter="url(%23g)" opacity="0.09"/></svg>');
    background-attachment: fixed;
    color: var(--brick-red);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(191, 117, 75, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.03) 0%, transparent 50%);
}

.hamburger-menu,
.container,
.site-footer {
    position: relative;
    z-index: 1;
}

/* Hamburger Menu */
.hamburger-menu {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
}

.hamburger-btn {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--brick-red);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    transition: all 0.3s ease;
}

.hamburger-btn i {
    font-size: 1.5rem;
}

.hamburger-btn:hover {
    opacity: 0.7;
}

.menu-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background: rgba(246, 244, 240, 0.98);
    backdrop-filter: blur(10px);
    transition: right 0.4s ease;
    padding: 80px 40px 40px;
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.08);
}

.menu-nav.active {
    right: 0;
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    color: var(--brick-red);
    cursor: pointer;
    font-size: 1.8rem;
    padding: 5px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    opacity: 0.7;
    transform: rotate(90deg);
}

.menu-list {
    list-style: none;
    padding: 0;
}

.menu-list li {
    margin: 30px 0;
}

.menu-list a {
    color: var(--brick-red);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: block;
    padding: 5px 0;
    font-family: 'Roboto', sans-serif;
}

.menu-list a:hover {
    padding-left: 15px;
    opacity: 0.7;
}

.container {
    width: 100%;
    max-width: 100vw;
    flex: 1;
    position: relative;
}

.page {
    min-height: 100vh;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 40px 60px;
    position: relative;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.page.active {
    display: flex;
    opacity: 1;
}

.content {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Typography */
.cursive-title {
    font-family: 'Abramo Script', cursive;
    font-size: 7rem;
    font-weight: normal;
    color: var(--brick-red);
    line-height: 1.1;
    margin-bottom: 40px;
    transform: rotate(-12deg);
}

h1.cursive-title {
    font-size: 7rem;
    margin-bottom: 30px;
    transform: rotate(-12deg);
    line-height: 1.1;
}

h2.cursive-title {
    font-size: 7rem;
    margin-bottom: 25px;
    transform: rotate(-12deg);
    line-height: 1.1;
    font-weight: normal;
}

/* Locations Page */
.locations-page {
    padding: 80px 20px 60px;
    justify-content: flex-start;
    padding-top: 100px;
}

.locations-content {
    max-width: 900px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.location-block {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 650px;
}

.location-section-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--brick-red);
    opacity: 0.6;
    margin-bottom: 30px;
    text-align: center;
}

.location-block .coordinates,
.location-block .address,
.location-block .info-text,
.location-block .location-photo {
    width: 100%;
    max-width: 100%;
}

.location-separator {
    width: 100%;
    max-width: 300px;
    height: 1px;
    background: var(--border);
    margin: 60px auto;
}

/* Home Page */
.home-page {
    padding: 80px 20px 40px;
}

.home-content {
    max-width: 1200px;
    width: 100%;
}

.home-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.title-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 0;
}

.home-title {
    font-size: 7rem !important;
    margin-bottom: 0 !important;
    transform: rotate(-12deg);
    line-height: 1.1;
    white-space: nowrap;
}

.home-layout .date-info {
    position: relative;
    text-align: right !important;
    width: 100%;
    max-width: 650px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.photo-date-container {
    width: 100%;
    max-width: 650px;
    position: relative;
}

.home-page .main-photo {
    width: 100%;
    margin: 0;
}

.home-page .wedding-date,
.home-page .wedding-time {
    font-size: 1rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-align: right !important;
    width: auto;
}

.wedding-date,
.wedding-time,
.address {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--brick-red);
    text-align: left !important;
    width: 100%;
}

.coordinates {
    font-family: 'B612 Mono', monospace;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: var(--brick-red);
    text-align: right !important;
    width: 100%;
}

.subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 35px;
    margin-top: 10px;
    color: var(--brick-red);
    text-align: left !important;
    width: 100%;
}

/* Quote */
.quote-block {
    width: 100%;
    max-width: 650px;
    margin: 35px auto;
    text-align: center;
    padding: 0 10px;
}

.quote-text {
    font-family: 'Libre Baskerville', serif;
    font-size: 1.35rem;
    font-style: italic;
    line-height: 2.1;
    color: var(--brick-red);
    opacity: 0.85;
}

.quote-author {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--brick-red);
    opacity: 0.6;
    margin-top: 18px;
    display: block;
}

/* CTA Button */
.cta-btn {
    display: inline-block;
    margin: 15px auto 60px;
    padding: 14px 40px;
    background: transparent;
    color: var(--brick-red);
    border: 1px solid var(--brick-red);
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: var(--brick-red);
    color: var(--beige);
}

/* Map link */
.map-link {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--brick-red);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 2px;
    margin-bottom: 20px;
    transition: border-color 0.3s ease, opacity 0.3s ease;
}

.map-link:hover {
    opacity: 0.7;
    border-bottom-color: var(--brick-red);
}

.map-link i {
    font-size: 0.65rem;
    margin-left: 5px;
}

/* Photos */
.main-photo {
    width: 100%;
    max-width: 100%;
    margin: 30px auto;
}

.couple-photo {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(191, 117, 75, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.home-page .couple-photo {
    aspect-ratio: 1;
}

.location-photo {
    width: 100%;
    max-width: 100%;
    margin: 30px auto 20px;
}

.location-img {
    width: 100%;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 6px 25px rgba(191, 117, 75, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

.gift-photo {
    width: 100%;
    max-width: 100%;
    margin: 20px auto;
}

.gift-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: 0 6px 25px rgba(191, 117, 75, 0.08), 0 2px 6px rgba(0, 0, 0, 0.03);
}

/* Info Section */
.info-section {
    margin: 25px 0;
    text-align: left;
    max-width: 650px;
    width: 100%;
}

.info-subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brick-red);
    margin-bottom: 15px;
    opacity: 0.7;
}

.info-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    line-height: 1.9;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    color: var(--brick-red);
    text-transform: uppercase;
}

.info-text strong {
    font-weight: 700;
}

.info-text.gift-text {
    text-align: center;
    margin: 20px auto;
    max-width: 600px;
    text-transform: none;
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.5px;
}

/* IBAN Block */
.iban-block {
    width: 100%;
    max-width: 650px;
    margin: 30px auto;
    padding: 30px;
    border: 1px solid var(--border);
    text-align: left;
    box-shadow: 0 4px 20px rgba(191, 117, 75, 0.06);
    background: rgba(255, 255, 255, 0.35);
}

.iban-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}

.iban-row:last-child {
    margin-bottom: 0;
}

.iban-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brick-red);
    opacity: 0.6;
    margin-bottom: 4px;
}

.iban-value {
    font-family: 'B612 Mono', monospace;
    font-size: 0.95rem;
    letter-spacing: 1px;
    color: var(--brick-red);
}

/* Michael photo */
.michael-photo {
    width: 100%;
    max-width: 350px;
    margin: 20px auto;
    text-align: center;
}

.michael-img {
    width: 100%;
    height: auto;
    border: none;
}

/* Playlist GIF */
.gif-container {
    width: 100%;
    max-width: 650px;
    margin: 20px auto;
    text-align: center;
}

.gif-container img {
    width: 100%;
    max-width: 550px;
    height: auto;
}

/* Spotify Embed */
.spotify-section {
    width: 100%;
    max-width: 650px;
    margin: 30px auto;
    text-align: left;
}

.spotify-label {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--brick-red);
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Form */
.rsvp-form {
    width: 100%;
    max-width: 100%;
    margin: 35px auto 0;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--brick-red);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid var(--border);
    background: transparent;
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    color: var(--brick-red);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-bottom-color: var(--brick-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 60px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 25px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    cursor: pointer;
    border: 1px solid var(--border);
}

.checkbox-group label {
    font-size: 0.65rem;
    margin-bottom: 0;
    cursor: pointer;
    font-style: italic;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: transparent;
    color: var(--brick-red);
    border: 1px solid var(--brick-red);
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 25px;
}

.submit-btn:hover {
    background: var(--brick-red);
    color: var(--beige);
}

/* Footer */
.site-footer {
    width: 100%;
    padding: 15px 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 1px solid var(--border);
    margin-top: auto;
    background-color: transparent;
}

.footer-logo {
    height: 80px;
    width: auto;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .page {
        padding: 80px 25px 40px;
    }

    .home-page {
        padding: 80px 20px 40px;
    }

    .locations-page {
        padding: 80px 20px 40px;
    }

    .location-block {
        margin-bottom: 40px;
        max-width: 100%;
    }

    .location-separator {
        margin: 40px auto;
    }

    .home-title {
        font-size: 3.5rem !important;
        white-space: normal;
    }

    .home-layout .date-info {
        max-width: 350px;
        margin-bottom: 10px;
    }

    .photo-date-container {
        max-width: 350px;
    }

    .home-page .wedding-date,
    .home-page .wedding-time {
        font-size: 0.55rem;
    }

    h1.cursive-title {
        font-size: 3.5rem;
    }

    h2.cursive-title {
        font-size: 3.5rem;
    }

    .content {
        max-width: 100%;
    }

    .main-photo,
    .gift-photo,
    .location-photo {
        max-width: 100%;
    }

    .info-section {
        padding: 0;
    }

    .info-text {
        font-size: 0.8rem;
        line-height: 1.8;
    }

    .menu-nav {
        width: 85%;
    }

    .wedding-date,
    .wedding-time,
    .address {
        font-size: 0.75rem;
    }

    .coordinates {
        font-size: 0.7rem;
    }

    .subtitle {
        font-size: 0.7rem;
    }

    .iban-block {
        padding: 20px 15px;
    }

    .quote-text {
        font-size: 1.1rem;
    }

    .footer-logo {
        height: 60px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .home-title {
        font-size: 5.5rem !important;
    }

    .home-layout .date-info {
        max-width: 500px;
    }

    .photo-date-container {
        max-width: 500px;
    }

    h1.cursive-title {
        font-size: 5.5rem;
    }

    h2.cursive-title {
        font-size: 5.5rem;
    }

    .content {
        max-width: 650px;
    }

    .location-block {
        max-width: 650px;
    }
}

@media (min-width: 1025px) {
    .page {
        padding: 100px 60px;
    }

    .home-page {
        padding: 100px 60px;
    }

    .locations-page {
        padding: 100px 60px;
    }

    .home-title {
        font-size: 8rem !important;
    }

    h1.cursive-title {
        font-size: 8rem;
    }

    h2.cursive-title {
        font-size: 8rem;
    }

    .home-layout .date-info {
        max-width: 750px;
    }

    .photo-date-container {
        max-width: 750px;
    }

    .content {
        max-width: 750px;
    }

    .location-block {
        max-width: 750px;
    }

    .quote-block {
        max-width: 750px;
    }

    .iban-block {
        max-width: 750px;
    }

    .spotify-section {
        max-width: 750px;
    }

    .gif-container {
        max-width: 750px;
    }

    .michael-photo {
        max-width: 750px;
    }
}
