/* ===== DESIGN SYSTEM - TrenerBlaz ===== */
/* Inspired by ProTerapevt.si aesthetic */

/* ===== CSS RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== VARIABLES ===== */
:root {
    /* Primary Colors - Pimasea Palette */
    --primary-color: #58490f;
    --primary-light: #7c6a2e;
    --primary-dark: #3a300a;

    /* Background Colors */
    --bg-primary: #fdfff0;
    --bg-white: #ffffff;
    --bg-overlay: rgba(253, 255, 240, 0.9);

    /* Text Colors */
    --text-dark: #2c2405;
    --text-body: #58490f;
    --text-light: #8c7e4e;

    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #58490f, #8a731f);
    --cream-gradient: linear-gradient(135deg, #ffffff, #fdfff0);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(88, 73, 15, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(88, 73, 15, 0.1);
    --shadow-lg: 0 25px 50px -12px rgba(88, 73, 15, 0.15);
    --shadow-glow: 0 0 30px rgba(88, 73, 15, 0.1);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 3rem;
    --font-size-5xl: 4rem;

    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-base: 400ms ease;
}

/* ===== BASE STYLES ===== */
html {
    scroll-behavior: smooth;
}

/* Noise Texture */
.texture-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    opacity: 0.4;
    mix-blend-mode: overlay;
}

/* Base Styles with Premium Feel */
body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-body);
    background-color: var(--bg-primary);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(88, 73, 15, 0.03) 0%, transparent 20%);
    overflow-x: hidden;
    position: relative;
}

/* Elegant Background Decorations */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 60vh;
    height: 60vh;
    background: radial-gradient(circle, rgba(88, 73, 15, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 70vh;
    height: 70vh;
    background: radial-gradient(circle, rgba(88, 73, 15, 0.02) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-5xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-3xl);
}

h4 {
    font-size: var(--font-size-xl);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-body);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.text-gradient {
    color: var(--primary-color);
}

.accent-gradient {
    color: var(--primary-light);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 1rem 2.5rem;
    font-size: var(--font-size-base);
    font-weight: 500;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-transform: uppercase;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-secondary:hover {
    background: var(--text-dark);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(88, 73, 15, 0.1);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(88, 73, 15, 0.3);
}

.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: all var(--transition-base);
    background: rgba(253, 255, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(88, 73, 15, 0.05);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: block;
    height: 70px;
    /* Larger logo to fill header */
    transition: height 0.3s ease;
}

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

.nav-home-link {
    font-family: var(--font-heading);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-body);
    margin-left: var(--spacing-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-full);
    transition: all var(--transition-fast);
}

.nav-home-link:hover {
    background: rgba(88, 73, 15, 0.1);
    color: var(--primary-color);
}

/* Booking Button Specifics */
.btn-booking {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
}

.btn-booking:hover {
    background: var(--primary-light) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Canvas Animation */
#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind content */
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    /* Above canvas */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    color: var(--text-body);
    font-weight: 500;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    transition: all var(--transition-fast);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-logo {
        height: 45px;
        /* Smaller logo on mobile */
    }

    .nav-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
        /* Ensure above menu which has z-index 9999 */
    }

    /* When menu is active, fix the toggle button position */
    .nav-toggle.active {
        position: fixed;
        top: 20px;
        right: 20px;
    }

    /* Hamburger Animation */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        height: 100dvh;
        width: 100vw;
        background: #fdfff0;
        flex-direction: column;
        padding: 2rem;
        padding-top: 120px;
        gap: 0.5rem;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: center;
        justify-content: flex-start;
        z-index: 9999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        background: #fdfff0;
        /* Solid background for each item */
        padding: 0.5rem 0;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation for menu items */
    .nav-links.active li:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) {
        transition-delay: 0.6s;
    }

    .nav-links.active li:nth-child(7) {
        transition-delay: 0.7s;
    }

    .nav-links li a {
        font-size: 1.5rem;
        font-family: var(--font-heading);
        font-weight: 500;
        display: block;
        padding: var(--spacing-sm);
    }

    .nav-links li a:active {
        color: var(--primary-color);
        transform: scale(0.95);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
    position: relative;
}

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

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-md);
}

.hero h1 {
    margin-bottom: var(--spacing-md);
}

.hero p {
    font-size: var(--font-size-lg);
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

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

/* ===== STATS SECTION ===== */
.stats {
    padding: var(--spacing-xl) 0;
}

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

.stat-item {
    text-align: center;
    padding: var(--spacing-lg);
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--spacing-xs);
}

/* ===== FEATURES / SERVICES SECTION ===== */
.features {
    padding: var(--spacing-xl) 0;
}

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

.section-header h2 {
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto;
}

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

.feature-card {
    padding: var(--spacing-xl);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.feature-icon.purple {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
}

.feature-icon.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-light);
}

.feature-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.feature-card h4 {
    margin-bottom: var(--spacing-sm);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--spacing-xl) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-content h2 {
    margin-bottom: var(--spacing-md);
}

.about-content p {
    margin-bottom: var(--spacing-md);
}

.credentials {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.credential-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    font-size: var(--font-size-sm);
    font-weight: 500;
    border-radius: var(--radius-full);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRICING SECTION ===== */
.pricing {
    padding: var(--spacing-xl) 0;
}

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

.pricing-card {
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'Najbolj priljubljeno';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--gold-gradient);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-tier {
    font-size: var(--font-size-sm);
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-sm);
}

.pricing-price {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.pricing-price span {
    font-size: var(--font-size-base);
    font-weight: 400;
    color: var(--text-light);
}

.pricing-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
    text-align: left;
}

.pricing-features li {
    padding: var(--spacing-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary-light);
    font-weight: 700;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: var(--spacing-xl) 0;
}

.cta-box {
    background: var(--gold-gradient);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-box h2 {
    color: white;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.cta-box p {
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto var(--spacing-lg);
    position: relative;
}

.cta-box .btn {
    position: relative;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-white);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
}

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

.footer-brand p {
    margin-top: var(--spacing-sm);
    color: var(--text-light);
    font-size: var(--font-size-sm);
}

.footer-links h4 {
    font-size: var(--font-size-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-body);
    font-size: var(--font-size-sm);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border-radius: var(--radius-full);
    color: var(--text-body);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--gold-gradient);
    color: white;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
}

/* ===== FORMS ===== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: var(--spacing-xs);
}

.form-input {
    width: 100%;
    padding: 0.875rem var(--spacing-md);
    font-size: var(--font-size-base);
    font-family: inherit;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    background: var(--bg-white);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--text-light);
}

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-3xl);
    }

    h2 {
        font-size: var(--font-size-2xl);
    }

    .hero {
        padding-top: calc(70px + var(--spacing-xl));
    }

    .pricing-card.featured {
        transform: none;
    }
}

/* Reviews Carousel */
.reviews-section {
    padding: 3rem 0;
    overflow: hidden;
    background: var(--bg-overlay);
}

.carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 3rem auto 0;
    padding: 0 1rem;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

.review-card {
    flex: 0 0 350px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(88, 73, 15, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: var(--gold-gradient);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.review-author h4 {
    margin: 0;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.review-rating {
    color: #DAA520;
    /* Goldenrod */
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn,
.carousel-prev,
.carousel-next {
    background: white;
    border: 1px solid var(--primary-light);
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.carousel-btn:hover,
.carousel-prev:hover,
.carousel-next:hover {
    background: var(--primary-color);
    color: white;
    border-color: transparent;
}

/* Refined Gallery Grid */
.gallery-refined {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
    border: 1px solid rgba(88, 73, 15, 0.1);
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(58, 48, 10, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* ===== PRICING TABLES ===== */
.pricing-list-container {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid rgba(88, 73, 15, 0.15);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 0 auto;
}

.pricing-group {
    margin-bottom: var(--spacing-xl);
}

.pricing-group h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-group h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-light);
    margin: 0.5rem auto 0;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(88, 73, 15, 0.2);
}

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

.pricing-info {
    flex: 1;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

.pricing-cost {
    text-align: right;
    margin-left: 2rem;
}

.pricing-amount {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.pricing-duration {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ===== IMAGE GALLERY ===== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* refined gallery styling */
.gallery-slider .review-card {
    padding: 0;
    border: none;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.gallery-slider .review-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    transition: transform 0.5s ease;
}

.gallery-slider .review-card:hover {
    transform: translateY(-5px);
}

.gallery-slider .review-card:hover img {
    transform: scale(1.03);
}

.gallery-slider .carousel-track {
    align-items: center;
    /* Center vertically */
    gap: var(--spacing-md);
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.testimonial-card {
    padding: var(--spacing-lg);
}

.testimonial-card img {
    width: 100%;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
}

/* ===== HERO WITH IMAGE ===== */
.hero-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.hero-with-image .hero-content {
    text-align: left;
}

.hero-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .hero-with-image {
        grid-template-columns: 1fr;
    }

    .hero-with-image .hero-content {
        text-align: center;
    }
}

/* ===== PRICING COMPACT CARDS ===== */
.pricing-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.pricing-compact-card {
    background: var(--bg-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

.pricing-compact-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.pricing-compact-card .price {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    color: var(--primary-color);
}


.pricing-compact-card .label {
    font-size: var(--font-size-sm);
    color: var(--text-light);
}

/* Schedule Grid */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .schedule-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .schedule-card {
        border-left: 5px solid var(--primary-color);
    }
}

.schedule-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-subtle);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.schedule-card.highlight {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1px solid var(--primary-color);
}

.schedule-day {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.schedule-card:hover .schedule-day {
    border-color: var(--primary-color);
}

.badge {
    font-size: 0.75rem;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.schedule-event {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
}

.schedule-event:last-child {
    margin-bottom: 0;
}

.schedule-event .time {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 0.9rem;
    min-width: 45px;
}

.schedule-event .activity {
    font-size: 0.9rem;
    line-height: 1.3;
    flex: 1;
}

.schedule-event .icon {
    font-size: 1.2rem;
}

.schedule-note {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
    text-align: center;
}

/* QR Code Grid */
.qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.qr-item {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.qr-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.qr-label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--text-heading);
}

.qr-code {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 2px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s;
}

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

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

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