/* Import elegant fonts - inspired by Soria template */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Pinyon+Script&display=swap');

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: #2c2c2c;
    background: #fafafa;
    min-height: 100vh;
    font-weight: 300;
    overflow-x: hidden;
}

/* Security: Hide content by default until authenticated */
body:not(.authenticated) .container,
body:not(.authenticated) #introVideoWrapper {
    display: none !important;
}

/* Intro video overlay */
.intro-video-wrapper {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.intro-video-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.intro-video {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* desktop max */
    aspect-ratio: 16 / 9;
    /* maintain shape */
    height: auto;
    background: #fff;
    object-fit: contain;
    /* show full video */
    border: none;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.6s ease;
}

.intro-video-wrapper.playing .intro-video {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1100px) {
    .intro-video {
        max-width: 760px;
    }
}

@media (max-width: 900px) {
    .intro-video {
        max-width: 640px;
    }
}

@media (max-width: 700px) {
    .intro-video {
        max-width: 520px;
    }
}

@media (max-width: 560px) {
    .intro-video {
        max-width: 100%;
        border-radius: 8px;
    }
}

.intro-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85));
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.6s ease;
}

.intro-video-wrapper.playing .intro-overlay {
    opacity: 0;
}

.intro-play-button {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 2.5rem;
    font-family: 'Cormorant Garamond', serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    z-index: 2;
}

.intro-play-button:hover,
.intro-play-button:focus {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.25);
    outline: none;
}

.intro-skip-button {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 10px 18px;
    border-radius: 30px;
    font-family: 'Pinyon Script', cursive;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    text-transform: none;
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(6px);
    transition: all 0.3s ease;
}

.intro-skip-button:hover,
.intro-skip-button:focus {
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

.intro-play-button:focus-visible,
.intro-skip-button:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.6), 0 0 0 6px rgba(0, 0, 0, 0.6);
}

.intro-video-wrapper.playing .intro-play-button {
    opacity: 0;
    transform: scale(0.6);
    pointer-events: none;
}

/* Intro text overlay */
.intro-text {
    position: relative;
    text-align: center;
    color: #222;
    z-index: 2;
    font-family: 'Cormorant Garamond', serif;
    pointer-events: none;
    margin-bottom: 40px;
    padding: 0 20px;
    transition: opacity 0.7s ease;
}

.intro-heading {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    letter-spacing: 1px;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
    margin-bottom: 18px;
    text-transform: none;
}

.intro-subtext {
    font-family: 'Pinyon Script', cursive;
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: 1px;
    text-transform: none;
    opacity: 0.85;
    margin-top: 30px;
    transition: opacity 0.6s ease;
}

.intro-video-wrapper.playing .intro-text {
    opacity: 0;
}

.intro-video-wrapper.playing .intro-subtext {
    opacity: 0;
}

@media (max-height: 500px) {
    .intro-heading {
        font-size: clamp(1.6rem, 5vw, 3rem);
    }

    .intro-subtext {
        letter-spacing: 2px;
    }
}

/* Visually hidden for accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Navigation - Soria inspired */
.nav-tabs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 30px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1.8rem;
    font-family: 'Pinyon Script', cursive;
    font-weight: 400;
    color: #2c2c2c;
    text-transform: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button:hover {
    color: #000;
}

.tab-button.active {
    color: #000;
    font-weight: 500;
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #000;
}

/* Tab content */
.tab-content {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 20px;
    animation: fadeIn 0.5s ease-in;
    position: relative;
    z-index: 20;
}

.tab-content.active {
    display: block;
}

/* Ensure welcome tab covers the full screen */
.tab-content#welcome {
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
}

/* Hide welcome tab initially until intro finishes */
.tab-content#welcome {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tab-content#welcome.active {
    opacity: 1;
    visibility: visible;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Welcome page */
.welcome-header {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 15;
    padding: 60px;
    transition: opacity 0.3s ease;
}

.welcome-header h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;
    font-weight: 300;
    color: white;
    letter-spacing: 3px;
    margin: 0;
    line-height: 1.1;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.welcome-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-top: 20px;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

/* Welcome page container */
#welcome {
    position: relative;
    width: 100vw;
    min-height: 140vh;
    /* allow vertical scroll again */
    overflow-y: auto;
    /* restore vertical scroll */
    overflow-x: hidden;
    /* prevent horizontal scroll from scaling */
    padding: 0;
    margin: 0;
    z-index: 1;
}

/* Minimal hero redesign */
.minimal-hero {
    background: transparent;
    width: 100%;
    max-width: 1200px;
    /* restore desktop cap */
    margin: 0 auto;
    position: relative;
    padding: 0;
    /* percentages remain direct */
}

/* Stage defines fixed design coordinate system (original reference 1200x1271) */
.hero-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 1200 / 1271;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
    transition: transform 0.3s ease;
}

/* Scaled state applied via JS only on phones */
.hero-stage.scaled-hero {
    transform: scale(var(--hero-scale, 1));
    transform-origin: top center;
}

#welcome.scaled-hero-wrapper {
    overflow: hidden;
}

/* Remove prior overhang hacks (now full viewport used) */

.hero-image-simple {
    position: absolute;
    /* Dev-mode adjustable positioning variables */
    --heroimg-top: 0.0%;
    --heroimg-left: 50%;
    --heroimg-height: auto;
    top: var(--heroimg-top);
    left: var(--heroimg-left);
    transform: translateX(-50%);
    width: 80.0%;
    /* show a smaller, more reasonable size */
    height: var(--heroimg-height);
    /* allow full image to be visible without cropping */
    object-fit: contain;
    /* show entire Brev 3 image */
    display: block;
    z-index: 1;
    pointer-events: none;
    /* allow clicks to pass to buttons */
}

/* Circular overlay on Brev 3 hero */
.minimal-hero {
    position: relative;
}

.hero-circle {
    position: absolute;
    /* Updated percentages from dev mode */
    --circle-top: 42.0%;
    --circle-left: 36.3%;
    top: var(--circle-top);
    left: var(--circle-left);
    transform: none;
    width: 38.5%;
    aspect-ratio: 1;
    max-width: none;
    /* allow pure proportional scaling */
    z-index: 2;
    border-radius: 50%;
    background: url('Images/Hotel-most-beautiful-facade.jpg') center center / cover no-repeat;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: 6px solid transparent;
    /* default now transparent; RSVP will explicitly remove */
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Pinyon Script', cursive;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    cursor: pointer;
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-size 8s linear;
    background-size: 115%;
}

.hero-circle:hover,
.hero-circle:focus {
    transform: scale(1.05);
    box-shadow: 0 14px 46px rgba(0, 0, 0, 0.28);
    outline: none;
}

.hero-circle:active {
    transform: scale(0.95);
}

.hero-circle:focus-visible {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9), 0 0 0 7px rgba(0, 0, 0, 0.45);
}

/* Remove width overrides; JS scaling will handle phone sizing */

/* Background image container - fixed background for parallax effect */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('Images/Hotel-most-beautiful-facade.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2c2c2c;
    z-index: -1;
    background-attachment: fixed;
}

/* Dark overlay for better text readability */
.background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Navigation cards - fixed position to follow scroll */
.image-grid {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.image-card {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    background: white;
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.image-card:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

/* Remove individual positioning - now using flexbox */
.image-card:nth-child(1),
.image-card:nth-child(2),
.image-card:nth-child(3),
.image-card:nth-child(4) {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    padding: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Using your hotel images for navigation cards */
.image-card[data-target="info"] .placeholder-image {
    background-image: url('Images/Hotel-main-restaurant.jpg');
}

.image-card[data-target="location"] .placeholder-image {
    background-image: url('Images/Hotel-cozy.jpg');
}

.image-card[data-target="schedule"] .placeholder-image {
    background-image: url('Images/Hotel-pool.jpg');
}

.image-card[data-target="rsvp"] .placeholder-image {
    background-image: url('Images/Hotel-pool-2.jpg');
}

.image-card[data-target="contact"] .placeholder-image {
    background-image: url('Images/Hotel-mountain-view.jpg');
}

/* Overlay for better text readability */
.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.placeholder-image span {
    position: relative;
    z-index: 2;
}

.image-card p {
    display: none;
    /* Hide the description text in this new layout */
}

/* Scrollable content section - slides over background with depth effect */
.scrollable-content {
    position: relative;
    margin-top: 100vh;
    background: white;
    z-index: 10;
    padding: 80px 0;
    min-height: 100vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* Add a subtle gradient overlay at the top of scrollable content */
.scrollable-content::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(transparent, white);
    z-index: -1;
}

/* Ensure other tab contents don't interfere with welcome scrolling */
.tab-content:not(#welcome) {
    position: fixed;
    top: 80px;
    /* Account for navigation bar height */
    left: 0;
    width: 100vw;
    height: calc(100vh - 80px);
    /* Subtract navigation height */
    overflow-y: auto;
    padding-top: 60px;
    /* Increased from 40px for better visual spacing below nav */
}

.content-section-scroll {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 120px auto;
    gap: 80px;
    padding: 0 40px;
}

.image-container {
    flex: 1;
    max-width: 500px;
}

.text-container {
    flex: 1;
    max-width: 500px;
}

.feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feature-image:hover {
    transform: scale(1.02);
}

.content-section-scroll h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c2c2c;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.content-section-scroll p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

/* Right aligned sections */
.right-aligned {
    flex-direction: row-reverse;
}

/* Left aligned sections (default) */
.left-aligned {
    flex-direction: row;
}

/* Content sections - Soria inspired clean design */
header h2 {
    color: #2c2c2c;
    font-family: 'Pinyon Script', cursive;
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 1px;
}

.back-button {
    background: transparent;
    color: #2c2c2c;
    border: 2px solid #2c2c2c;
    padding: 12px 25px;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.back-button:hover {
    background: #2c2c2c;
    color: white;
}

.content-section {
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 40px;
}

.content-section h3 {
    color: #2c2c2c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 400;
    margin: 40px 0 20px 0;
    letter-spacing: 1px;
}

.content-section p {
    margin-bottom: 25px;
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

/* Schedule list - Soria inspired clean design */
.schedule-list {
    list-style: none;
    padding: 0;
    max-width: 600px;
    margin: 0 auto;
}

.schedule-list li {
    background: #f9f9f9;
    margin: 15px 0;
    padding: 20px 25px;
    border-left: 3px solid #2c2c2c;
    color: #666;
    font-family: 'Montserrat', sans-serif;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.schedule-list li:hover {
    background: #f5f5f5;
    transform: translateX(5px);
}

.schedule-list strong {
    color: #2c2c2c;
    font-weight: 500;
}

/* RSVP Form Styling - Soria inspired elegant form */
.rsvp-header-image {
    text-align: center;
    margin-bottom: 2.5rem;
}

.hund-skal-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hund-skal-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

.rsvp-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(206, 187, 193, 0.3);
    border-radius: 10px;
}

.rsvp-intro h3 {
    color: #2c2c2c;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.rsvp-intro p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.rsvp-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c2c2c;
}

.checkbox-group,
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.checkbox-label,
.radio-label {
    display: flex;
    align-items: center;
    font-weight: 400 !important;
    cursor: pointer;
    padding: 12px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover,
.radio-label:hover {
    background-color: #f5f5f5;
}

.checkbox-label input,
.radio-label input {
    margin-right: 12px;
    width: auto;
    transform: scale(1.2);
}

.submit-button {
    background: #2c2c2c;
    color: white;
    border: none;
    padding: 18px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-button:hover {
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.submit-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.thank-you-message {
    text-align: center;
    padding: 40px;
    background: #e8f5e8;
    border-radius: 10px;
    border: 2px solid #4caf50;
}

.thank-you-message h3 {
    color: #2e7d32;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 15px;
}

.thank-you-message p {
    color: #2e7d32;
    font-size: 1.1rem;
}

/* Responsive design - Soria inspired */
@media (max-width: 768px) {
    .nav-tabs {
        padding: 15px 10px;
        flex-wrap: wrap;
    }

    .tab-button {
        padding: 10px 15px;
        margin: 5px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .welcome-header {
        padding: 40px 20px;
    }

    .welcome-header h1 {
        font-size: 3.5rem;
        letter-spacing: 2px;
    }

    .welcome-subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
    }

    .image-grid {
        bottom: 20px;
        gap: 20px;
        padding: 10px 20px;
        border-radius: 30px;
    }

    .image-card {
        width: 50px;
        height: 50px;
    }

    .placeholder-image {
        font-size: 0.5rem;
        padding: 3px;
    }

    .tab-content {
        padding: 20px;
        margin-top: 0;
        /* Remove margin-top as we handle this with fixed positioning now */
    }

    .tab-content:not(#welcome) {
        top: 80px;
        padding-top: 40px;
        /* Increased from 20px for mobile spacing */
        margin-top: 0;
    }

    .content-section {
        padding: 0 20px;
    }

    header h2 {
        font-size: 2.5rem;
    }

    .content-section h3 {
        font-size: 1.5rem;
    }

    /* Scrollable content responsive */
    .scrollable-content {
        padding: 60px 0;
    }

    .content-section-scroll {
        flex-direction: column !important;
        gap: 40px;
        margin-bottom: 80px;
        padding: 0 20px;
    }

    .content-section-scroll h3 {
        font-size: 2rem;
        text-align: center;
    }

    .content-section-scroll p {
        text-align: center;
    }

    .image-container,
    .text-container {
        max-width: 100%;
    }

    /* RSVP Form responsive */
    .rsvp-form {
        padding: 0 10px;
    }

    .checkbox-group,
    .radio-group {
        gap: 8px;
    }

    .checkbox-label,
    .radio-label {
        padding: 8px;
        font-size: 0.9rem;
    }

    .submit-button {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* Facade info button (original image shape) */
/* Facade info button (absolute positioning within hero to scroll with page) */
.facade-info-btn {
    /* Updated percentages from dev mode */
    --facade-top: 74.5%;
    --facade-left: 48.3%;
    position: absolute;
    top: var(--facade-top);
    left: var(--facade-left);
    transform: none;
    z-index: 2;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 100;
    width: 40.9%;
}

.facade-info-btn .facade-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.facade-info-btn .facade-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Pinyon Script', cursive;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    font-weight: 400;
    padding: 0;
    background: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    /* allow clicking image/button anywhere */
}

.facade-info-btn:hover .facade-img,
.facade-info-btn:focus .facade-img {
    transform: scale(1.04);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}

.facade-info-btn:active .facade-img {
    transform: scale(0.97);
}

.facade-info-btn:focus-visible .facade-img {
    outline: 4px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

/* Bullen Plats button (Bullen Teckning drawing) */
.bullen-plats-btn {
    /* Updated percentages from dev mode */
    --bullen-top: 142.9%;
    --bullen-left: 31.7%;
    position: absolute;
    top: var(--bullen-top);
    left: var(--bullen-left);
    transform: none;
    z-index: 2;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 100;
    width: 28.1%;
}

.bullen-plats-btn .bullen-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.bullen-plats-btn .bullen-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Pinyon Script', cursive;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    font-weight: 400;
    padding: 0;
    background: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    /* allow clicking image/button anywhere */
}

.bullen-plats-btn:hover .bullen-img,
.bullen-plats-btn:focus .bullen-img {
    transform: scale(1.04);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}

.bullen-plats-btn:active .bullen-img {
    transform: scale(0.97);
}

.bullen-plats-btn:focus-visible .bullen-img {
    outline: 4px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

/* Schema button (Hotel-mountain-view-2) */
.schema-btn {
    /* Updated percentages from dev mode */
    --schema-top: 94.4%;
    --schema-left: 28.1%;
    position: absolute;
    top: var(--schema-top);
    left: var(--schema-left);
    transform: none;
    z-index: 2;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 100;
    width: 25.8%;
}

.schema-btn .schema-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.schema-btn .schema-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Pinyon Script', cursive;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    font-weight: 400;
    padding: 0;
    background: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    /* allow clicking image/button anywhere */
}

.schema-btn:hover .schema-img,
.schema-btn:focus .schema-img {
    transform: scale(1.04);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}

.schema-btn:active .schema-img {
    transform: scale(0.97);
}

.schema-btn:focus-visible .schema-img {
    outline: 4px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

/* Kontakt button (Hotel-outside) */
.kontakt-btn {
    /* Updated percentages from dev mode */
    --kontakt-top: 118.1%;
    --kontakt-left: 44.8%;
    position: absolute;
    top: var(--kontakt-top);
    left: var(--kontakt-left);
    transform: none;
    z-index: 2;
    background: none;
    padding: 0;
    border: none;
    cursor: pointer;
    z-index: 100;
    width: 38.2%;
}

/* Ensure consistent scaling of positioned buttons on narrow screens (retain relative proportions) */
/* Width percentages now applied directly in main styles above */

/* Uniform global scaling: shrink hero deterministically on narrow screens while preserving percentage geometry */
@media (max-width: 900px) {
    .minimal-hero {
        transform: scale(.9);
        transform-origin: top center;
    }
}

@media (max-width: 700px) {
    .minimal-hero {
        transform: scale(.82);
    }
}

/* Remove mobile width overrides to keep proportionally identical layout */
@media (max-width: 600px) {
    .hero-circle {
        border-width: 5px;
        /* only border adjusts for visual weight */
    }
}

.kontakt-btn .kontakt-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.kontakt-btn .kontakt-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Pinyon Script', cursive;
    font-size: 4.2rem;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: none;
    font-weight: 400;
    padding: 0;
    background: none;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.55);
    pointer-events: none;
    /* allow clicking image/button anywhere */
}

.kontakt-btn:hover .kontakt-img,
.kontakt-btn:focus .kontakt-img {
    transform: scale(1.04);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.25);
}

.kontakt-btn:active .kontakt-img {
    transform: scale(0.97);
}

.kontakt-btn:focus-visible .kontakt-img {
    outline: 4px solid rgba(255, 255, 255, 0.9);
    outline-offset: 4px;
}

/* Mobile adjustments - percentage positioning will scale naturally */
@media (max-width: 768px) {
    .minimal-hero {
        padding-bottom: 150px;
        /* extra space for buttons that extend beyond hero */
    }

    /* Optional: slightly adjust button sizes on very small screens */
    .hero-circle {
        font-size: 1.4rem;
    }

    .facade-info-btn .facade-label,
    .bullen-plats-btn .bullen-label,
    .schema-btn .schema-label,
    .kontakt-btn .kontakt-label {
        font-size: clamp(0.78rem, 2.4vw, 1rem);
        /* smaller so full word fits */
        letter-spacing: 1.5px;
        /* reduce spacing to gain horizontal room */
        line-height: 1.05;
        max-width: 100%;
        white-space: nowrap;
        overflow: visible;
        /* show entire word */
    }
}

/* ===== SCHEDULE PAGE STYLING ===== */

.schedule-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(206, 187, 193, 0.2), rgba(232, 223, 226, 0.2));
    border-radius: 12px;
}

.schedule-intro p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #555;
    font-style: italic;
    font-weight: 400;
}

.day-schedule {
    margin-bottom: 3rem;
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.day-schedule:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.day-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.day-header h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.2rem;
    color: #2c2c2c;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.day-header.special h3 {
    color: #2c2c2c;
    font-size: 2.5rem;
}

.day-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    color: #2c2c2c;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 300;
}

.day-header.special .day-subtitle {
    color: #2c2c2c;
    font-weight: 400;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #e8dfe2, #CEBBC1, #e8dfe2);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: #ffffff;
    border: 3px solid #CEBBC1;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item.highlight::before {
    width: 18px;
    height: 18px;
    top: 0.3rem;
    left: calc(-2rem - 2px);
    background: #CEBBC1;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px #CEBBC1;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 3px #CEBBC1;
    }

    50% {
        box-shadow: 0 0 0 6px rgba(212, 165, 116, 0.4);
    }
}

.time {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #CEBBC1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.event-details h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.timeline-item.highlight .event-details h4 {
    color: #CEBBC1;
    font-weight: 600;
}

.event-details p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    font-weight: 300;
}

/* Mobile responsiveness for schedule */
@media (max-width: 768px) {
    .day-schedule {
        padding: 1.5rem;
    }

    .day-header h3 {
        font-size: 1.8rem;
    }

    .day-header.special h3 {
        font-size: 2rem;
    }

    .day-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-item {
        padding-left: 1.5rem;
    }

    .timeline-item::before {
        left: -1.5rem;
    }

    .timeline-item.highlight::before {
        left: calc(-1.5rem - 2px);
    }

    .event-details h4 {
        font-size: 1.3rem;
    }

    .event-details p {
        font-size: 0.9rem;
    }

    .schedule-intro p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .day-header h3 {
        font-size: 1.6rem;
    }

    .day-header.special h3 {
        font-size: 1.8rem;
    }

    .event-details h4 {
        font-size: 1.2rem;
    }
}

.schedule-divider-image {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.bullen-tarta-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bullen-tarta-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

/* ===== INFORMATION PAGE STYLING ===== */

.wedding-intro {
    background: linear-gradient(135deg, rgba(206, 187, 193, 0.15), rgba(232, 223, 226, 0.15));
}

.tiktok-summary {
    background: #fff;
    border: 2px solid #CEBBC1;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.tiktok-summary h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #CEBBC1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.tiktok-summary p {
    font-size: 1.05rem;
    line-height: 2;
    margin: 0;
}

/* Dresscode Section */
.dresscode-section {
    background: linear-gradient(135deg, #fff9f5, #ffffff);
}

.dresscode-header-image {
    margin-bottom: 2rem;
    text-align: center;
}

.dresscode-dog-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dresscode-dog-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.dresscode-friday,
.dresscode-saturday {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #fafafa;
    border-radius: 10px;
}

.dresscode-section h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.dresscode-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.dresscode-img-wrapper {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dresscode-img-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.dresscode-img-wrapper h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #CEBBC1;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: center;
}

.dresscode-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dresscode-text-wrapper {
    margin-top: 2.5rem;
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.dresscode-text-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Important Info Section */
.important-info {
    background: linear-gradient(135deg, #f0f9ff, #ffffff);
}

.info-item {
    background: #ffffff;
    border-left: 4px solid #CEBBC1;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    color: #2c2c2c;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.info-item p {
    margin: 0;
    line-height: 1.7;
}

.info-item.warning {
    border-left-color: #CEBBC1;
    background: rgba(206, 187, 193, 0.3);
}

.info-item.warning h4 {
    color: #5a4650;
}

/* Mobile responsiveness for information page */
@media (max-width: 768px) {
    .dresscode-images {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .dresscode-img-wrapper {
        padding: 1rem;
    }

    .dresscode-img-wrapper h5 {
        font-size: 1.2rem;
    }

    .dresscode-text-wrapper {
        padding: 1.5rem;
    }

    .dresscode-section h4 {
        font-size: 1.3rem;
    }

    .info-item {
        padding: 1rem;
    }

    .info-item h4 {
        font-size: 1.2rem;
    }

    .tiktok-summary {
        padding: 1rem;
    }

    .tiktok-summary h4 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .tiktok-summary p {
        font-size: 1rem;
    }
}

/* ===== LOCATION PAGE STYLING ===== */

.location-hero {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(206, 187, 193, 0.3), rgba(232, 223, 226, 0.5));
    border-radius: 16px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.venue-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    color: #CEBBC1;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.venue-address {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
}

.venue-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #555;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.info-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.info-box h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-weight: 600;
    border-bottom: 2px solid #e8dfe2;
    padding-bottom: 0.75rem;
}

.info-box p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.cost-info {
    background: rgba(206, 187, 193, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #CEBBC1;
    margin-top: 1.5rem;
    font-size: 1.05rem;
}

.venue-dog-image {
    margin-top: 2.5rem;
    text-align: center;
}

.dog-pool-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dog-pool-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.location-closing-image {
    margin-top: 2.5rem;
    text-align: center;
}

.hotel-mountain-view-img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hotel-mountain-view-img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.2);
}

.image-caption {
    margin-top: 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #CEBBC1;
    font-style: italic;
    font-weight: 500;
}

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

.activity-list li {
    padding: 1rem;
    margin-bottom: 0.75rem;
    background: #fafafa;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-size: 1.05rem;
}

.activity-list li:hover {
    background: #f0f0f0;
    transform: translateX(5px);
}

/* Barcelona Section */
.barcelona-section {
    background: #ffffff;
}

.section-intro {
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(206, 187, 193, 0.3);
    border-radius: 8px;
}

.barcelona-category {
    margin-bottom: 2rem;
}

.barcelona-category h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    color: #CEBBC1;
    margin-bottom: 1rem;
    font-weight: 600;
}

.barcelona-category ul {
    list-style: none;
    padding-left: 0;
}

.barcelona-category ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    line-height: 1.7;
}

.barcelona-category ul li:last-child {
    border-bottom: none;
}

.barcelona-category ul li strong {
    color: #2c2c2c;
    font-weight: 600;
}

.warning-note {
    background: rgba(206, 187, 193, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #CEBBC1;
    margin-top: 1.5rem;
    color: #5a4650;
    font-weight: 500;
}

.barcelona-category ul li.warning-note {
    background: rgba(206, 187, 193, 0.3);
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: none;
    margin-top: 0.5rem;
}

/* Travel Section */
.travel-section {
    background: #ffffff;
}

.travel-option {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px dashed #e0e0e0;
}

.travel-option:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.travel-option h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem;
    color: #2c2c2c;
    margin-bottom: 1rem;
    font-weight: 600;
}

.travel-option p {
    margin-bottom: 0.75rem;
}

.travel-option ul {
    margin-top: 0.5rem;
    padding-left: 1.5rem;
}

.travel-option ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.travel-option code {
    background: #e8dfe2;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: #CEBBC1;
    font-weight: 600;
}

.travel-option a {
    color: #CEBBC1;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

.travel-option a:hover {
    border-bottom: 2px solid #CEBBC1;
}

.small-note {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin-top: 0.5rem;
}

.help-note {
    background: rgba(206, 187, 193, 0.3);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #CEBBC1;
    margin-top: 2rem;
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
}

/* Mobile responsiveness for location page */
@media (max-width: 768px) {
    .location-hero {
        padding: 2rem 1.5rem;
    }

    .venue-name {
        font-size: 2.2rem;
    }

    .venue-address {
        font-size: 1rem;
    }

    .venue-intro {
        font-size: 1.1rem;
    }

    .info-box {
        padding: 1.5rem;
    }

    .info-box h3 {
        font-size: 1.7rem;
    }

    .barcelona-category h4,
    .travel-option h4 {
        font-size: 1.3rem;
    }

    .activity-list li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .venue-name {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .venue-address {
        font-size: 0.95rem;
    }

    .venue-intro {
        font-size: 1rem;
    }

    .info-box h3 {
        font-size: 1.5rem;
    }

    .barcelona-category h4,
    .travel-option h4 {
        font-size: 1.2rem;
    }
}

/* Train Directions Images */
.train-directions {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.direction-item {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.direction-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.direction-item h5 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #CEBBC1;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.direction-image:hover {
    transform: scale(1.02);
}

/* Mobile responsiveness for train directions */
@media (max-width: 768px) {
    .train-directions {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .direction-item {
        padding: 1rem;
    }

    .direction-item h5 {
        font-size: 1.2rem;
    }
}

/* ===== CONTACT PAGE STYLING ===== */

.contact-section {
    background: #ffffff;
}

.contact-intro {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #8b7480;
    font-style: italic;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #CEBBC1;
}

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

.contact-card.bride-groom {
    border-left-color: #CEBBC1;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.05), #ffffff);
}

.contact-card h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #2c2c2c;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-details p {
    font-size: 1.05rem;
    color: #555;
    margin: 0;
    padding: 0.5rem;
    background: #fafafa;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.contact-details p:hover {
    background: #f0f0f0;
}

.contact-details a {
    color: #CEBBC1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.contact-details a:hover {
    color: #b8915d;
    text-decoration: underline;
}

.contact-divider-image {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem 0;
}

.bullen-glas-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bullen-glas-img:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.18);
}

/* Mobile responsiveness for contact page */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .contact-card h4 {
        font-size: 1.5rem;
    }

    .contact-intro {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 1.25rem;
    }

    .contact-card h4 {
        font-size: 1.3rem;
    }

    .contact-details p {
        font-size: 1rem;
    }
}

/* (Removed stacked mobile layout to preserve overlapping desktop-style arrangement) */

/* Fluid type scaling */
html {
    font-size: 100%;
}

@media (max-width: 820px) {
    html {
        font-size: 96%;
    }
}

/* Hero scales uniformly; no separate max-width for image to avoid internal scaling offset */

/* === Mobile Zoom Enhancement ===
   Slightly enlarge entire hero composition on small screens to improve perceived size
   without changing relative proportions between elements. Adjust the scale value as desired. */
@media (max-width: 700px) {
    .hero-stage {
        --mobile-hero-scale: 1.14;
        /* tweak this value (e.g., 1.08 – 1.20) */
        transform: scale(var(--mobile-hero-scale));
        transform-origin: top center;
    }

    /* Add compensating bottom padding so scaled content isn't clipped later */
    .minimal-hero {
        padding-bottom: calc(80px * var(--mobile-hero-scale, 1));
    }
}

@media (max-width: 480px) {
    html {
        font-size: 92%;
    }
}

/* Consistent content width for non-welcome tabs */
.tab-content:not(#welcome) .content-section,
.tab-content:not(#welcome) .info-box,
.tab-content:not(#welcome) form {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

/* Layering normalization */
.tab-content {
    z-index: 10;
}

#welcome.tab-content {
    z-index: 10;
}

/* Specific RSVP circle: remove border completely */
#heroCircleRSVP {
    border: none;
}

/* Responsive typography adjustments to prevent overflow inside icons on phones */
@media (max-width: 750px) {
    #heroCircleRSVP {
        font-size: 1.7rem;
        letter-spacing: 3px;
    }

    .facade-label,
    .bullen-label,
    .schema-label,
    .kontakt-label {
        font-size: clamp(0.72rem, 2.5vw, 0.95rem);
        letter-spacing: 1.4px;
        line-height: 1.05;
        white-space: nowrap;
        max-width: 100%;
        overflow: visible;
    }
}

@media (max-width: 560px) {
    #heroCircleRSVP {
        font-size: 1.55rem;
        letter-spacing: 2px;
    }

    .facade-label,
    .bullen-label,
    .schema-label,
    .kontakt-label {
        font-size: clamp(0.65rem, 3.2vw, 0.9rem);
        letter-spacing: 1.2px;
        line-height: 1.05;
        max-width: 100%;
        white-space: nowrap;
        overflow: visible;
    }
}

@media (max-width: 430px) {
    #heroCircleRSVP {
        font-size: 1.45rem;
        letter-spacing: 1.6px;
    }

    .facade-label,
    .bullen-label,
    .schema-label,
    .kontakt-label {
        font-size: clamp(0.6rem, 3.0vw, 0.85rem);
        letter-spacing: 1.1px;
        white-space: nowrap;
    }
}

/* --- Icon emergence animation (papers flying out of letter) --- */
.hero-stage.initializing .hero-circle,
.hero-stage.initializing .facade-info-btn,
.hero-stage.initializing .bullen-plats-btn,
.hero-stage.initializing .schema-btn,
.hero-stage.initializing .kontakt-btn {
    opacity: 0;
    transform: translate(var(--fly-start-x, 0), var(--fly-start-y, 0)) scale(0.65) rotate(var(--fly-rot, -12deg));
}

.hero-stage.icons-emerge .hero-circle,
.hero-stage.icons-emerge .facade-info-btn,
.hero-stage.icons-emerge .bullen-plats-btn,
.hero-stage.icons-emerge .schema-btn,
.hero-stage.icons-emerge .kontakt-btn {
    opacity: 1;
    transform: translate(0, 0) scale(1) rotate(0deg);
    transition: transform 0.9s cubic-bezier(.19, .84, .36, 1.08), opacity 0.8s ease, box-shadow 0.8s ease;
}

/* Stagger delays applied via data-order attribute */
.hero-stage.icons-emerge [data-order="1"] {
    transition-delay: 0.05s;
}

.hero-stage.icons-emerge [data-order="2"] {
    transition-delay: 0.18s;
}

.hero-stage.icons-emerge [data-order="3"] {
    transition-delay: 0.31s;
}

.hero-stage.icons-emerge [data-order="4"] {
    transition-delay: 0.44s;
}

.hero-stage.icons-emerge [data-order="5"] {
    transition-delay: 0.57s;
}

/* Slight overshoot refinement */
.hero-stage.icons-emerge .hero-circle:hover,
.hero-stage.icons-emerge .facade-info-btn:hover,
.hero-stage.icons-emerge .bullen-plats-btn:hover,
.hero-stage.icons-emerge .schema-btn:hover,
.hero-stage.icons-emerge .kontakt-btn:hover {
    transform: translate(0, 0) scale(1.04);
}

@media (prefers-reduced-motion: reduce) {

    .hero-stage.initializing .hero-circle,
    .hero-stage.initializing .facade-info-btn,
    .hero-stage.initializing .bullen-plats-btn,
    .hero-stage.initializing .schema-btn,
    .hero-stage.initializing .kontakt-btn,
    .hero-stage.icons-emerge .hero-circle,
    .hero-stage.icons-emerge .facade-info-btn,
    .hero-stage.icons-emerge .bullen-plats-btn,
    .hero-stage.icons-emerge .schema-btn,
    .hero-stage.icons-emerge .kontakt-btn {
        transition: none;
        transform: none;
        opacity: 1;
    }
}