/* /public/css/base/base.css */
/* Shared structural rules — all themes. Colors replaced with var(--theme-*) tokens. */
/* Source: theme-rose.css structural rules, selector prefix "body.theme-rose" stripped. */

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

/* ===== BASE BODY ===== */
body[class*="theme-"] {
    font-family: var(--font-sans);
    background: var(--theme-background);
    color: var(--theme-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--theme-border-light);
    box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb), 0.08);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
}

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

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--theme-text);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 8px 0;
    box-sizing: border-box;
}

.logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.logo:hover {
    color: var(--theme-primary);
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-link {
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--theme-primary);
    background: var(--theme-border-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--theme-text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--spacing-lg);
        gap: var(--spacing-sm);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
        border-bottom: 2px solid var(--theme-border-light);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
}

/* ===== PAGE SECTIONS ===== */
#app {
    padding-top: 70px;
    position: relative;
    z-index: 2;
}

.page {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.page.active {
    display: block;
    opacity: 1;
    animation: bloom 0.6s ease-out;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: var(--spacing-2xl) var(--spacing-md);
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--theme-background) 0%, var(--theme-border-light) 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(var(--theme-primary-rgb), 0.05) 0%,
        rgba(var(--theme-primary-rgb), 0.03) 50%,
        var(--theme-background) 100%
    );
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--theme-text);
    letter-spacing: 1px;
    animation: bloom 0.8s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--theme-text-secondary);
    margin-bottom: var(--spacing-xl);
    opacity: 0.95;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== HERO DECORATIONS ===== */
.hero-decorations {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.decoration-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    background: radial-gradient(circle, var(--theme-secondary), transparent);
    animation: rose-float 12s ease-in-out infinite;
}

.decoration-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    background: radial-gradient(circle, var(--theme-primary), transparent);
    animation: rose-float 10s ease-in-out infinite 2s;
}

.decoration-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    right: 20%;
    background: radial-gradient(circle, var(--theme-decorative-gold, #C9A86A), transparent);
    animation: rose-shimmer 8s ease-in-out infinite;
}

.decoration-4 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    left: 15%;
    background: radial-gradient(circle, var(--theme-border-light), transparent);
    animation: rose-float 14s ease-in-out infinite 1s;
}

.decoration-5 {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--theme-secondary), transparent);
    animation: rose-shimmer 10s ease-in-out infinite 3s;
}

.decoration-6 {
    width: 90px;
    height: 90px;
    bottom: 20%;
    right: 30%;
    background: radial-gradient(circle, var(--theme-decorative-gold, #C9A86A), transparent);
    animation: gold-glint 6s ease-in-out infinite;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn:hover::before {
    transform: translateX(100%);
}

.btn-primary {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb), 0.3);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited {
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(var(--theme-primary-rgb), 0.4);
}

.btn-secondary {
    background: var(--theme-primary);
    border: 2px solid var(--theme-primary);
    color: #ffffff !important;
    padding: 0.875rem 1.875rem;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:visited {
    background: var(--theme-secondary);
    border-color: var(--theme-secondary);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-link {
    background: none;
    color: var(--theme-primary);
    padding: 0.5rem 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--theme-secondary);
    transform: translateX(4px);
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(4px);
}

.btn-light {
    background: rgba(255, 255, 255, 0.95);
    color: var(--theme-primary) !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active,
.btn-light:visited {
    background: var(--theme-surface);
    color: var(--theme-primary) !important;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background: transparent;
    color: var(--theme-text-light);
    border: 2px solid rgba(255, 255, 255, 0.6);
    padding: 0.875rem 1.875rem;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: var(--theme-text-light);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    border-radius: var(--radius-pill);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

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

/* ===== CARDS ===== */
.card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--theme-border-light);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.card:hover::before {
    transform: translateX(0);
}

/* ===== SERVICES GRID ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.service-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--theme-border-light);
    text-align: center;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
    box-shadow: 0 4px 16px rgba(var(--theme-primary-rgb), 0.3);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--theme-text-secondary);
    line-height: 1.6;
}

/* ===== GALLERY ===== */
.gallery-scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-md);
    overflow-x: auto;
    overflow-y: hidden;
    padding: var(--spacing-md) 0;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-primary) var(--theme-border-light);
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: var(--theme-border-light);
    border-radius: var(--radius-pill);
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    border-radius: var(--radius-pill);
}

.gallery-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--theme-primary);
}

.gallery-scroll .gallery-item {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    height: 400px;
    aspect-ratio: unset;
    scroll-snap-align: start;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 100%;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: box-shadow 0.3s ease;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item:hover {
    box-shadow: var(--shadow-xl);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== GALLERY SECTIONS ===== */
.gallery-section {
    position: relative;
    padding: var(--spacing-2xl) 0;
    border-bottom: 1px solid var(--theme-border-light);
    margin-bottom: var(--spacing-2xl);
}

.gallery-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.gallery-section h3 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.gallery-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    border-radius: var(--radius-pill);
}

/* ===== GALLERY SLIDER ===== */
.gallery-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-xl) 0;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.slider-slide.active {
    opacity: 1;
    display: block;
}

.slider-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--theme-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    line-height: 1;
    padding: 0;
}

.slider-btn:hover {
    background: var(--theme-secondary);
    transform: translateY(-50%);
    box-shadow: var(--shadow-xl);
}

.slider-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.slider-prev {
    left: var(--spacing-md);
}

.slider-next {
    right: var(--spacing-md);
}

.slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: var(--theme-border-light);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot:hover {
    background: var(--theme-secondary);
}

.slider-dot.active {
    background: var(--theme-primary);
    width: 14px;
    height: 14px;
    box-shadow: 0 0 0 2px var(--theme-background), 0 0 0 4px var(--theme-primary);
}

@media (max-width: 768px) {
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .slider-prev {
        left: var(--spacing-xs);
    }

    .slider-next {
        right: var(--spacing-xs);
    }

    .slider-image {
        max-height: 400px;
        object-position: top;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.testimonial-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--theme-border-light);
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    color: var(--theme-text);
    margin-bottom: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    color: var(--theme-text);
}

.rating {
    color: var(--theme-decorative-gold, #C9A86A);
    margin-top: var(--spacing-sm);
}

/* ===== ABOUT PAGE ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
    margin-top: var(--spacing-xl);
}

.about-text-column {
    order: 1;
}

.about-text-column p {
    color: var(--theme-text);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.about-image-column {
    order: 2;
}

.portrait-large {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--theme-border-light);
}

/* Quick Facts Card */
.quick-facts-card {
    background: var(--theme-bg-secondary);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(var(--theme-primary-rgb), 0.07);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1);
}

/* 2-col grid for fact groups */
.qf-groups {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 32px 40px;
    width: 100%;
}

@media (max-width: 700px) {
    .quick-facts-card { padding: 24px 18px !important; }
    .qf-groups { grid-template-columns: 1fr !important; gap: 24px !important; }
}

/* Each group panel */
.qf-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0;
    min-width: 0;
}

.qf-group-heading {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: var(--theme-primary) !important;
    margin: 0 0 10px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(var(--theme-primary-rgb), 0.15) !important;
    display: block !important;
}

/* Each field row */
.qf-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0,0,0,0.04) !important;
    min-width: 0;
}

.qf-row:last-child {
    border-bottom: none !important;
}

/* Wide value rows (Preferences) — stack vertically */
.qf-row--wide {
    flex-direction: column !important;
    gap: 3px !important;
}

.qf-label {
    font-size: 0.72rem !important;
    color: var(--theme-text-secondary) !important;
    font-weight: 500 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

.qf-value {
    font-size: 0.88rem !important;
    color: var(--theme-text) !important;
    font-weight: 600 !important;
    text-align: right !important;
    line-height: 1.4 !important;
    flex: 1;
    min-width: 0;
}

.qf-row--wide .qf-value {
    text-align: left !important;
    font-size: 0.85rem !important;
    color: var(--theme-text-secondary) !important;
    font-style: italic !important;
    font-weight: 400 !important;
}

.about-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.about-services {
    text-align: center;
}

.about-section-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
}

.about-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--theme-text);
    margin-bottom: var(--spacing-md);
}

.services-checklist {
    list-style: none;
    text-align: left;
}

.services-checklist li {
    padding: 0.5rem 0;
    color: var(--theme-text);
}

.services-checklist li::before {
    content: '✓';
    color: var(--theme-primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.interests-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.interest-badge {
    padding: 0.5rem 1rem;
    background: var(--theme-border-light);
    color: var(--theme-primary);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
}

.about-cta-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    text-align: center;
}

/* ===== RATES PAGE ===== */
.rates-hero {
    background: linear-gradient(135deg, var(--theme-background), var(--theme-border-light));
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
}

.rates-hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--theme-text);
    margin-bottom: var(--spacing-md);
}

.rates-hero p {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
}

.rates-content {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.rates-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.rates-table {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
}

.rates-table-header {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    padding: var(--spacing-md);
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.rates-table-body {
    padding: var(--spacing-md);
}

.rate-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--theme-border-light);
}

.rate-row:last-child {
    border-bottom: none;
}

.rate-duration {
    color: var(--theme-text);
    font-weight: 500;
}

.rate-price {
    color: var(--theme-primary);
    font-weight: 600;
    font-size: 1.125rem;
}

.rate-info {
    flex: 1;
}

.rate-details {
    font-size: 0.875rem;
    color: var(--theme-text-secondary);
    margin-top: 4px;
}

.rate-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 8px;
    box-shadow: 0 2px 4px rgba(var(--theme-primary-rgb), 0.2);
}

.extended-section {
    margin-bottom: var(--spacing-2xl);
}

.extended-section h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--theme-text);
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.extended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.extended-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    text-align: center;
}

.extended-card h4 {
    color: var(--theme-text);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.extended-price {
    color: var(--theme-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.extended-details {
    color: var(--theme-text-secondary);
    font-size: 0.9rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.info-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
}

.info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.info-card h3 {
    color: var(--theme-text);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

.info-list {
    list-style: none;
}

.info-list li {
    padding: 0.5rem 0;
    color: var(--theme-text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.info-list li i {
    color: var(--theme-primary);
    margin-top: 0.25rem;
}

.donations-section {
    background: linear-gradient(135deg, var(--theme-border-light), var(--theme-background));
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.donations-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.75rem;
}

.donations-section h3 {
    color: var(--theme-text);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.donations-section p {
    color: var(--theme-text-secondary);
}

.rates-cta {
    background: linear-gradient(135deg, var(--theme-text), var(--theme-primary));
    color: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl);
    text-align: center;
}

.rates-cta h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.rates-cta p {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
    opacity: 0.95;
}

.rates-cta-sub {
    font-size: 0.9rem;
    opacity: 0.85;
    margin-bottom: var(--spacing-lg);
}

.rates-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== ETIQUETTE PAGE ===== */
.etiquette-hero {
    background: linear-gradient(135deg, var(--theme-background), var(--theme-border-light));
    padding: var(--spacing-2xl) var(--spacing-md);
    text-align: center;
}

.etiquette-hero h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--theme-text);
    margin-bottom: var(--spacing-md);
}

.etiquette-hero p {
    font-size: 1.125rem;
    color: var(--theme-text-secondary);
}

.etiquette-content {
    padding: var(--spacing-2xl) var(--spacing-md);
}

.etiquette-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.policy-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
}

.policy-card h2 {
    color: var(--theme-text);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.policy-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.policy-list {
    list-style: none;
}

.policy-list li {
    padding: 0.5rem 0;
    color: var(--theme-text);
}

.policy-list li::before {
    content: '•';
    color: var(--theme-primary);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.safety-band {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    margin-bottom: var(--spacing-2xl);
}

.safety-band h2 {
    color: var(--theme-text);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.safety-band .policy-list li {
    color: var(--theme-text);
}

.safety-band .policy-list li i {
    color: var(--theme-primary);
}

/* ===== UNIFIED PAGE CTA ===== */
.page-cta {
    padding: var(--spacing-2xl) var(--spacing-lg);
}

.page-cta-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-2xl) var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.page-cta-title {
    color: var(--theme-text);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
}

.page-cta-subtitle {
    color: var(--theme-text-secondary);
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
    line-height: 1.6;
}

.page-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Neutralise old per-page CTA classes */
.cta-dark { background: none !important; padding: 0 !important; }
.about-cta-card { all: unset; display: contents; }
.rates-cta { background: none !important; padding: 0 !important; text-align: inherit !important; }
.rates-cta-sub,
.rates-cta-buttons { display: none !important; }

/* ===== CALENDAR PAGE ===== */
.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
}

.calendar-wrapper {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--theme-text);
    padding: var(--spacing-sm);
}

.calendar-day-header:first-child {
    color: var(--theme-primary);
}

.calendar-day-header:last-child {
    color: var(--theme-primary);
}

.calendar-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.calendar-week {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border-top: 1px solid var(--theme-border-light);
    position: relative;
    min-height: 120px;
}

.calendar-day {
    padding: var(--spacing-sm);
    border-right: 1px solid var(--theme-border-light);
    min-height: 120px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--theme-card-bg);
}

.calendar-day:last-child {
    border-right: none;
}

.calendar-day:hover {
    background: var(--theme-border-light);
    border-color: var(--theme-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.calendar-day.empty {
    background: transparent;
    border: 1px solid transparent;
    cursor: default;
    pointer-events: none;
}

.calendar-day.other-month,
.calendar-day.adjacent-month {
    opacity: 0.4;
}

.calendar-day.adjacent-month .calendar-day-number {
    color: var(--theme-text-secondary);
}

.calendar-day.has-events {
    background: linear-gradient(135deg, var(--theme-border-light), var(--theme-background));
    border-color: var(--theme-secondary);
}

.calendar-day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--theme-text);
}

.calendar-day.today .calendar-day-number {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(var(--theme-primary-rgb), 0.4);
}

.calendar-span {
    position: absolute;
    top: 40px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 var(--spacing-xs);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
    border: 2px solid rgba(0, 0, 0, 0.08);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1;
}

.calendar-span.available {
    background: var(--calendar-available);
    border-left-color: var(--calendar-available-border);
    color: white;
}

.calendar-span.travel {
    background: var(--calendar-travel);
    border-left-color: var(--calendar-travel-border);
    color: white;
}

.calendar-span.vacation {
    background: var(--calendar-vacation);
    border-left-color: var(--calendar-vacation-border);
    color: white;
}

.calendar-span.unavailable {
    background: var(--calendar-unavailable);
    border-left-color: var(--calendar-unavailable-border);
    color: white;
}

.calendar-span-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Calendar Legend - HIDDEN */
.calendar-legend { display: none; }
.legend-item { display: none; }
.legend-dot { display: none; }
.legend-item span { display: none; }

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    color: var(--theme-text);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--theme-border-light);
    border-radius: var(--radius-md);
    background: var(--theme-input-bg);
    color: var(--theme-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-sans);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--theme-primary);
    background: var(--theme-surface);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.1);
}

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

.contact-info {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--theme-border-light);
}

.contact-info-item:last-child {
    border-bottom: none;
}

.contact-info-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    color: var(--theme-text);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--theme-text-secondary);
    font-size: 0.9rem;
}

/* ===== TRAVEL CARDS ===== */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.travel-card {
    background: var(--theme-card-bg);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--theme-border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.travel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
}

.travel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.travel-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(var(--theme-primary-rgb), 0.05));
    pointer-events: none;
}

.travel-content {
    position: relative;
    z-index: 1;
}

.travel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.travel-card h3 {
    color: var(--theme-text);
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.travel-card .text-lg {
    font-size: 1.125rem;
    color: var(--theme-text);
    margin-bottom: var(--spacing-sm);
}

.travel-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--theme-border-light);
    color: var(--theme-primary);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.success {
    background: var(--status-success-bg);
    color: var(--status-success-text);
}

.status-badge.info {
    background: var(--theme-border-light);
    color: var(--theme-primary);
}

.status-badge.warning {
    background: var(--status-warning-bg);
    color: var(--status-warning-text);
}

/* ===== CTA SECTIONS ===== */
.cta-dark {
    background: linear-gradient(135deg, var(--theme-text), var(--theme-primary));
    color: white;
}

/* ===== SECTION DIVIDER ===== */
.section-divider {
    text-align: center;
    margin: var(--spacing-2xl) 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--theme-border-light), transparent);
}

/* ===== LOADING SPINNER ===== */
.loading {
    text-align: center;
    padding: var(--spacing-2xl);
}

.spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--spacing-md);
    border: 4px solid var(--theme-border-light);
    border-top-color: var(--theme-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, var(--theme-card-bg), var(--theme-border-light));
    border-top: 1px solid var(--theme-border-light);
    padding: 3rem 2rem 1.5rem;
    text-align: center;
    position: relative;
    margin-top: var(--spacing-2xl);
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--theme-primary), var(--theme-secondary), transparent);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.footer-link {
    color: var(--theme-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--theme-primary), var(--theme-secondary));
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--theme-primary);
    transform: translateY(-2px);
}

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

.footer-copyright {
    color: var(--theme-text-secondary);
    font-size: 0.875rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ===== RESPONSIVE BREAKPOINTS ===== */
@media (max-width: 1024px) {
    .about-grid,
    .about-two-col {
        grid-template-columns: 1fr;
    }

    .rates-tables {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }

    .hero {
        min-height: 500px;
        padding: var(--spacing-xl) var(--spacing-md);
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .services-grid,
    .testimonials-grid,
    .travel-grid,
    .extended-grid,
    .info-grid,
    .etiquette-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-section h3 {
        font-size: 1.75rem;
    }

    .calendar-day {
        min-height: 70px;
        padding: 0.25rem 0.15rem;
    }

    .calendar-day-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }

    .calendar-span {
        height: 20px;
        font-size: 0.55rem;
        padding: 0 0.1rem;
        letter-spacing: -0.02em;
    }

    .calendar-day-header {
        font-size: 0.75rem;
    }

    .calendar-legend {
        display: none;
    }

    .decoration-1,
    .decoration-2,
    .decoration-3,
    .decoration-4,
    .decoration-5,
    .decoration-6 {
        display: none;
    }

    .calendar-nav {
        flex-direction: row;
        gap: var(--spacing-sm);
        align-items: center;
        justify-content: space-between;
    }

    .calendar-nav .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .calendar-wrapper {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .calendar-header {
        gap: 0;
    }

    .calendar-grid {
        gap: 0;
    }

    .calendar-week {
        gap: 0;
    }

    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.25rem 0;
    }

    #calendar-mobile-events {
        display: block !important;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--theme-primary);
    outline-offset: 2px;
}

/* ===== UNIVERSAL GALLERY COMPATIBILITY ===== */
:root {
    --theme-bg-primary: var(--theme-background);
    --theme-text-primary: var(--theme-text);
    --theme-border-primary: var(--theme-border-light);
    --theme-section-bg: var(--theme-background);
    --theme-bg-overlay: rgba(var(--theme-primary-rgb), 0.05);
    --theme-shadow-strong: var(--shadow-xl);
    --theme-shadow-hover: var(--shadow-xl);
    --theme-text-inverted: var(--theme-text-light);
    --theme-backdrop: rgba(0, 0, 0, 0.8);

    --gallery-primary: var(--theme-accent, var(--theme-primary));
    --gallery-primary-hover: var(--theme-secondary);
    --gallery-secondary: var(--theme-secondary);
    --gallery-accent: var(--theme-accent, var(--theme-primary));
    --gallery-background: var(--theme-background);
    --gallery-surface: var(--theme-card-bg);
    --gallery-text: var(--theme-text);
    --gallery-text-muted: var(--theme-text-secondary);
    --gallery-border: var(--theme-border-light);
    --gallery-shadow: var(--shadow-md);
    --gallery-shadow-hover: var(--shadow-lg);

    --gallery-border-radius: 12px;
    --gallery-border-radius-large: 16px;
    --gallery-grid-columns-desktop: 3;
    --gallery-transition-duration: 0.3s;
    --gallery-transition-easing: cubic-bezier(0.4, 0, 0.2, 1);
    --gallery-hover-lift: -4px;
    --gallery-hover-scale: 1.03;
}

/* Universal Gallery base */
.universal-gallery {
    background: var(--theme-bg-primary);
    color: var(--theme-text-primary);
}

.universal-gallery .gallery-hero {
    background: var(--theme-section-bg);
    color: var(--theme-text-primary);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.universal-gallery .gallery-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--theme-bg-overlay);
    pointer-events: none;
}

.universal-gallery .gallery-hero .hero-badge {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: var(--theme-accent, var(--theme-primary));
    color: var(--theme-text-inverted);
    border-radius: 50%;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 0 30px color-mix(in srgb, var(--theme-accent, var(--theme-primary)), transparent 50%);
    transition: all 0.4s ease;
}

.universal-gallery .gallery-section {
    position: relative;
    margin-bottom: 3rem;
}

.universal-gallery .gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--theme-accent, var(--theme-primary));
    opacity: 0.3;
}

.universal-gallery .gallery-section-title {
    color: var(--theme-text-primary);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 2rem;
    position: relative;
    font-family: var(--font-display);
}

.universal-gallery .gallery-section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--theme-accent, var(--theme-primary));
    border-radius: 2px;
}

.universal-gallery .gallery-grid-item {
    background: var(--theme-card-bg);
    border: 1px solid var(--theme-border-light);
    border-radius: var(--gallery-border-radius);
    overflow: hidden;
    transition: box-shadow var(--gallery-transition-duration) var(--gallery-transition-easing);
    position: relative;
}

.universal-gallery .gallery-grid-item:hover {
    box-shadow: 0 8px 25px color-mix(in srgb, var(--theme-accent, var(--theme-primary)), transparent 70%);
}

.universal-gallery .gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top;
    transition: opacity var(--gallery-transition-duration) ease;
}

/* Rose-specific gallery helpers (theme-neutral safe) */
.rose-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 1.5rem 0;
    background: var(--theme-background);
    border-bottom: 1px solid var(--theme-border-light);
}

.rose-divider::before,
.rose-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--theme-primary);
    max-width: 80px;
    opacity: 0.3;
}

/* SVG Rose accent */
.rose-svg {
    position: absolute;
    pointer-events: none;
    fill: none;
    stroke: var(--theme-primary);
}

.rose-hero-tr {
    width: 220px;
    height: 220px;
    top: -20px;
    right: -20px;
    opacity: 0.07;
    transform: rotate(15deg);
    animation: rose-float 12s ease-in-out infinite;
}

.rose-hero-bl {
    width: 160px;
    height: 160px;
    bottom: -10px;
    left: -10px;
    opacity: 0.05;
    transform: rotate(-10deg);
    animation: rose-float 12s ease-in-out infinite 4s;
}

.rose-portrait-accent {
    width: 48px;
    height: 48px;
    bottom: 12px;
    right: 12px;
    opacity: 0.6;
    animation: rose-bloom-pulse 8s ease-in-out infinite;
}

@media (max-width: 768px) {
    .rose-hero-tr { width: 140px; height: 140px; opacity: 0.05; }
    .rose-hero-bl { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .rose-hero-tr,
    .rose-hero-bl,
    .rose-portrait-accent { animation: none; }
}
