/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Design tokens: change sizes/colors here (only 3 sizes, 3 colors) */
:root {
    /* Colors */
    --color-black: #000000;
    --color-white: #ffffff;
    --color-olive-green: #6e7954;
    --color-olive-green-trans: rgba(110, 121, 84, 0.57);

    /* Semantic aliases (still only use the 3 base colors above) */
    --accent: var(--color-olive-green);
    --text-color: var(--color-black);
    --muted-text: rgba(0, 0, 0, 0.8); /* black with opacity */
    --subtle-text: rgba(0, 0, 0, 0.8); /* black with opacity */
    --border-color: rgba(0, 0, 0, 0.12); /* black with opacity */

    --fs-xxsmall: .9rem;
    --fs-xsmall: 1.0rem;
    --fs-small: 1.2rem;
    --fs-xmedium: 1.6rem;
    --fs-medium: 2rem;
    --fs-large: 2.3rem;
    --fs-xlarge: 2.8rem;
    --fs-xxlarge: 3.5rem;
    --fs-xxxlarge: 3.8rem;

    /* Font weight */
    --fw-thin: 200;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--color-white);
    font-size: var(--fs-small);
}

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

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    color: var(--accent);
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: var(--fs-small);
    transition: all 0.3s ease;
}

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

.lang-btn.active {
    background: var(--color-white);
    color: var(--accent);
    border-color: var(--accent);
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 500px;
    overflow: hidden;
    background: linear-gradient(45deg, var(--accent), var(--color-white)) no-repeat scroll center;
    background-size: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: var(--fs-small);
    font-weight: 300;
    color: var(--color-white);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Navigation */
.navbar {
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: static;
}

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

.nav-logo {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo:hover {
    color: var(--accent);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Main Content */
.main-content {
    padding: 4rem 0;
}

/* Consistent text color for main content across all pages */
.main-content p,
.main-content span,
.main-content li {
    color: var(--subtle-text);
}

.welcome-section {
    text-align: center;
    margin-bottom: 4rem;
}

.welcome-section h2 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-xxxlarge);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.welcome-section p {
    font-size: var(--fs-small);
    color: var(--subtle-text);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Details Section */
.details-section {
    background: var(--color-white);
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.detail-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: var(--color-olive-green);
    padding: 1.0rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card h3 {
    color: var(--color-white);
    font-size: var(--fs-small);
    font-family: 'Marcellus', serif;
}

.card p {
    color: var(--subtle-text);
    font-size: var(--fs-small);
}

/* Footer */
.footer {
    background: var(--accent);
    color: var(--color-white);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    font-size: var(--fs-small);
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    /* Language Toggle */
    .language-toggle {
        top: 15px;
        right: 15px;
    }
    
    .lang-btn {
        padding: 6px 12px;
        font-size: var(--fs-small);
    }

    /* Hero Section */
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: var(--fs-large);
    }
    
    .hero-subtitle {
        font-size: var(--fs-small);
    }

    /* Navigation: single-column menu on small screens (one item per row) */
    .nav-menu {
        display: flex;
        list-style: none;
        flex-direction: column;
        align-items: stretch; /* make items fill row */
        gap: 0.5rem;
        padding-left: 0;
        margin: 0;
        width: 100%;
    }
    .nav-item {
        flex: 0 0 auto;
        width: 100%;
    }
    .nav-link {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 1rem 20px;
    }
    
    .nav-logo {
        font-size: var(--fs-small);
        margin-bottom: 1rem;
    }

    /* Main Content */
    .main-content {
        padding: 2rem 0;
    }
    
    .welcome-section h2 {
        font-size: var(--fs-xlarge);
    }
    
    .welcome-section p {
        font-size: var(--fs-small);
        padding: 0 1rem;
    }

    /* Details Cards */
    .detail-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-cards h3 {
        font-size: var(--fs-xsmall);
    }
    
    .card {
        margin: 0 1rem;
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: var(--fs-medium);
    }
    
    .hero-subtitle {
        font-size: var(--fs-small);
    }
    
    .welcome-section h2 {
        font-size: var(--fs-large);
    }

    .nav-logo {
        font-size: var(--fs-small);
    }
}

/* Page Header (for subpages) */
.page-header {
    background: linear-gradient(135deg, var(--accent), var(--color-olive-green-trans));
    color: var(--color-white);
    text-align: center;
    padding: 4rem 0;
}

.page-header h1 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: var(--fs-small);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Active nav link styling */
.nav-link.active {
    color: var(--accent);
    font-weight: 600;
}

.nav-link.active::after {
    background: var(--accent);
    width: 100%;
}

/* Dress Code Page Styles */
.dress-code-section {
    padding: 2rem 0;
}

.dress-code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dress-code-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.dress-code-card:hover {
    transform: translateY(-5px);
}

.dress-code-icon {
    font-size: var(--fs-large);
    margin-top: auto;
    align-self: center;
}

.dress-code-card h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.dress-code-list {
    list-style: none;
    text-align: left;
}

.dress-code-list li {
    margin-bottom: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.dress-code-list strong {
    color: var(--subtle-text);
}

.dress-code-tips {
    margin: 3rem 0;
}

.dress-code-tips h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.tip-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent);
}

.tip-card h4 {
    color: var(--accent);
    margin-bottom: 0.8rem;
    font-size: var(--fs-small);
}

.dress-code-examples {
    margin-top: 3rem;
    text-align: center;
}

.dress-code-examples h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    color: var(--accent);
    margin-bottom: 1rem;
}

.examples-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.example-placeholder {
    background: var(--color-white);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: var(--muted-text);
}

/* Gifts Page Styles */
.gifts-section {
    padding: 2rem 0;
}

.gift-message {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gift-message h2 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    color: var(--subtle-text);
    margin-bottom: 1.5rem;
}

.gift-message p {
    font-size: var(--fs-small);
    line-height: 1.8;
    color: var(--subtle-text);
}

.gift-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.gift-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gift-card:hover {
    transform: translateY(-5px);
}

.gift-icon {
    font-size: var(--fs-large);
    margin-bottom: 1rem;
}

.gift-card h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--subtle-text);
    margin-bottom: 1rem;
}

.gift-card p {
    color: var(--subtle-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gift-details, .gift-suggestions {
    text-align: left;
    background: var(--color-white);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
}

.gift-suggestions ul {
    list-style: none;
    padding: 0;
}

.gift-suggestions li {
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding: 0.5rem 0 0.5rem 1.5rem;
}

.gift-suggestions li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.gift-suggestions li:last-child {
    border-bottom: none;
}

.gift-registry {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
}

.gift-registry h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--subtle-text);
    margin-bottom: 1rem;
}

.registry-links {
    margin-top: 1.5rem;
}

.registry-link {
    display: inline-block;
    background: var(--accent);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.registry-link:hover {
    background: var(--accent);
}

.registry-link.disabled {
    background: rgba(0, 0, 0, 0.2);
    cursor: not-allowed;
}

.gift-delivery h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--subtle-text);
    margin-bottom: 1.5rem;
}

.delivery-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.delivery-option {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.delivery-option h4 {
    color: var(--subtle-text);
    margin-bottom: 1rem;
    font-size: var(--fs-small);
}

/* Map Page Styles */
.map-section {
    padding: 2rem 0;
}

.venue-info h2 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-large);
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
}

.venue-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.venue-card {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.venue-card h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.venue-info-item {
    text-align: center;
    font-size: var(--fs-small);
}

.venue-info-item strong {
    color: var(--subtle-text);
    min-width: 80px;
}

/* Date highlight styling for ceremony page */
.date-highlight {
    font-size: var(--fs-xmedium);
    font-weight: 600 !important;
}

.venue-map {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.venue-map h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xmedium);
    color: var(--subtle-text);
    text-align: center;
    margin-bottom: 1rem;
    font-weight: var(--fw-thin);
}

.venue-map p {
    text-align: center;
    color: var(--subtle-text);
    margin-bottom: 1.5rem;
    font-size: var(--fs-small);
}

.map-container {
    margin: 1.5rem 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    border: 0;
}

.map-container h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.map-placeholder {
    background: var(--color-white);
    border: 1px dashed var(--border-color);
    border-radius: 15px;
    padding: 4rem 2rem;
    margin: 0 auto;
    max-width: 600px;
}

.map-icon {
    font-size: var(--fs-large);
    margin-bottom: 1rem;
}

.travel-info, .practical-info {
    margin: 3rem 0;
}

.travel-info h3, .practical-info h3 {
    font-family: 'Marcellus', serif;
    font-size: var(--fs-medium);
    color: var(--accent);
    text-align: center;
    margin-bottom: 2rem;
}

.travel-grid, .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.travel-card, .info-card {
    background: var(--color-white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.travel-icon {
    font-size: var(--fs-large);
    margin-bottom: 1rem;
}

.travel-card h4, .info-card h4 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: var(--fs-small);
}

/* Mobile Responsive Adjustments */
@media screen and (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }
    
    .page-header h1 {
        font-size: var(--fs-medium);
    }
    
    .dress-code-grid, .gift-cards, .venue-details {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tips-grid, .travel-grid, .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .dress-code-card {
        padding: 1.5rem;
    }
    
    .dress-code-icon {
        max-width: 100%;
        width: auto;
        height: auto;
    }
    
    .tip-card {
        padding: 1.2rem;
    }
    
    .dress-code-tips {
        margin: 2rem 0;
        width: 100%;
    }
    
    .dress-code-section {
        padding: 1rem 0;
    }
}

/* Extra small screens - phones like 430px width */
@media screen and (max-width: 480px) {
    .dress-code-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .dress-code-card {
        padding: 1rem;
        margin: 0;
    }
    
    .dress-code-card h3 {
        font-size: var(--fs-xmedium);
        margin-bottom: 1rem;
    }
    
    .dress-code-list li {
        margin-bottom: 0.6rem;
    }
    
    .dress-code-icon {
        max-width: 280px;
        width: 100%;
        height: auto;
    }
    
    .dress-code-tips h3 {
        font-size: var(--fs-xmedium);
        margin-bottom: 1rem;
    }
    
    .tip-card {
        padding: 1rem;
    }
    
    .tip-card h4 {
        font-size: var(--fs-xsmall);
    }
}

.countdown-container {
    display: flex;
    gap: 15px;
}

.countdown-box {
    background-color: var(--accent);
    border-radius: 6px;
    padding: 20px 25px;
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-size: 36px;
    font-weight: bold;
    color: var(--color-white);
}

.countdown-label {
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--color-white);
    font-weight: bold;
}


/* Typography update: Use Montserrat (Google Fonts) everywhere, override previous heading font */
.hero-title,
.nav-logo,
.welcome-section h2,
.card h3,
.page-header h1,
.dress-code-card h3,
.dress-code-tips h3,
.dress-code-examples h3,
.gift-message h2,
.gift-card h3,
.gift-registry h3,
.gift-delivery h3,
.venue-info h2,
.venue-card h3,
.map-container h3,
.travel-info h3,
.practical-info h3 {
    font-family: 'Montserrat', sans-serif;
}

/* Typography weight override: force thin (100) site-wide as requested */
html, body,
h1, h2, h3, h4, h5, h6,
p, a, li, strong, b, em, small,
button, input, textarea, label, span,
.nav-logo, .nav-link, .lang-btn,
.card h3, .page-header h1,
.dress-code-card h3, .dress-code-tips h3, .dress-code-examples h3,
.gift-message h2, .gift-card h3, .gift-registry h3, .gift-delivery h3,
.venue-info h2, .venue-card h3, .map-container h3, .travel-info h3, .practical-info h3 {
    font-weight: var(--fw-thin) !important;
}

/* Countdown positioning: stick to bottom of hero overlay */
.hero .countdown-container {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3; /* above overlay tint */
}

/* Responsive tweaks for countdown at bottom */
@media screen and (max-width: 768px) {
    .hero .countdown-container {
        bottom: 16px;
        gap: 10px;
    }
    .countdown-box {
        padding: 14px 16px;
        min-width: 70px;
    }
    .countdown-number {
        font-size: 28px;
    }
}

@media screen and (max-width: 480px) {
    .hero .countdown-container {
        bottom: 12px;
        gap: 8px;
    }
    .countdown-box {
        padding: 10px 12px;
        min-width: 60px;
    }
    .countdown-number {
        font-size: 24px;
    }
    .countdown-label {
        font-size: 10px;
    }
}


/* RSVP form styles */
.rsvp-section .rsvp-intro {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rsvp-section .rsvp-options {
    margin-top: 1rem;
}

.rsvp-message {
    max-width: 520px;
    margin: 0 auto 16px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: rgba(0,0,0,0.03);
    display: none;
}
.rsvp-message.success {
    display: block;
    background: rgba(110,121,84,0.10); /* accent tint */
    border-color: rgba(110,121,84,0.35);
}
.rsvp-message.error {
    display: block;
    background: rgba(255,0,0,0.06);
}

.rsvp-form {
    max-width: 520px;
    margin: 0 auto;
    padding: 24px;
    background: var(--color-white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rsvp-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rsvp-form label {
    font-size: var(--fs-small);
    color: var(--muted-text);
}

.rsvp-form .input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: var(--fs-small);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.05s ease;
}

.rsvp-form .input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(110,121,84,0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: var(--fs-small);
    font-weight: 600;
    transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--color-white);
    box-shadow: 0 8px 20px rgba(110,121,84,0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(110,121,84,0.30);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 6px 18px rgba(110,121,84,0.22);
}

/* Ensure button text stays white (override .main-content span rule) */
.btn-primary span {
    color: var(--color-white);
}

@media screen and (max-width: 480px) {
    .rsvp-form {
        padding: 18px;
        border-radius: 10px;
    }
}

/* Language-specific visibility */
/* Show only when Swedish is selected */
.lang-sv-only {
    display: none;
}

html[lang="sv"] .lang-sv-only {
    display: block;
}

/* Show only when Portuguese is selected */
.lang-pt-only {
    display: none;
}

html[lang="pt"] .lang-pt-only {
    display: block;
}

/* Swish image styling */
.swish-image {
    max-width: 200px;
    margin-top: auto;
    padding-top: 1rem;
    border-radius: 8px;
    align-self: center;
}

/* Tips Page Styles */
.tips-section {
    padding: 2rem 0;
}

.tips-intro {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.tips-intro p {
    font-size: var(--fs-small);
    line-height: 1.8;
    color: var(--subtle-text);
}

.tips-content {
    max-width: 900px;
    margin: 0 auto;
}

.tips-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-large);
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.tips-list li {
    background: var(--color-white);
    padding: 1.2rem 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    line-height: 1.7;
}

.tips-list li strong {
    color: var(--accent);
    display: block;
    margin-bottom: 0.3rem;
}

.tips-list .sub-list {
    list-style: none;
    padding: 0;
    margin-top: 0.8rem;
    margin-left: 0;
}

.tips-list .sub-list li {
    background: transparent;
    padding: 0.4rem 0 0.4rem 1.5rem;
    margin-bottom: 0;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    position: relative;
}

.tips-list .sub-list li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent);
}

@media screen and (max-width: 768px) {
    .tips-list li {
        padding: 1rem 1.2rem;
    }
}

/* Ceremony Church Page Styles */
.ceremony-church-section {
    padding: 2rem 0;
}

.church-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.church-image {
    margin-bottom: 2rem;
}

.church-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.church-info {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ceremony-intro {
    font-size: var(--fs-small);
    color: var(--subtle-text);
    margin-bottom: 0.5rem;
}

.ceremony-date {
    font-size: var(--fs-large);
    font-weight: 600 !important;
    color: var(--accent);
}

.church-note {
    margin-top: 1.5rem;
    padding: 1rem 1.5rem;
    background: rgba(110, 121, 84, 0.1);
    border-radius: 10px;
    border-left: 4px solid var(--accent);
}

.church-note p {
    font-size: var(--fs-small);
    color: var(--subtle-text);
    font-style: italic;
}

.church-dresscode {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.church-dresscode h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-large);
    color: var(--accent);
    text-align: center;
    margin-bottom: 1.5rem;
}

.dresscode-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.dresscode-card {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.dresscode-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-xmedium);
    color: var(--accent);
    margin-bottom: 1rem;
}

.dresscode-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.dresscode-card ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--subtle-text);
}

.dresscode-card ul li::before {
    content: '•';
    position: absolute;
    left: 0.5rem;
    color: var(--accent);
}

.church-map {
    margin-top: 2rem;
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.church-map h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-large);
    color: var(--accent);
    text-align: center;
    margin-bottom: 1rem;
}

.church-address {
    text-align: center;
    font-size: var(--fs-small);
    color: var(--subtle-text);
    margin-bottom: 1.5rem;
}

.map-fallback-link {
    text-align: center;
    margin-top: 1rem;
    font-size: var(--fs-small);
}

.map-fallback-link a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.map-fallback-link a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .church-info {
        padding: 1.5rem;
    }
    
    .ceremony-date {
        font-size: var(--fs-xmedium);
    }
    
    .dresscode-cards {
        grid-template-columns: 1fr;
    }
    
    .church-map {
        padding: 1.5rem;
    }
    
    .church-map h2 {
        font-size: var(--fs-xmedium);
    }
}
