/* ==========================================================================
   Stoneberry Resort - Main Stylesheet
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #2C2C2C;
    background-color: #F5F3F0;
    overflow-x: hidden;
}

/* Glassmorphism Variables - Matching theme.json */
:root {
    --copper-primary: #CD8261;
    --copper-dark: #B8704A;
    --text-dark: #2C2C2C;
    --text-light: #666666;
    --white: #FFFFFF;
    --background-light: #F8F8F8;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --copper-tint: rgba(205, 130, 97, 0.1);

    /* Typography - Matching theme.json */
    --font-playfair-display: 'Playfair Display', serif;
    --font-montserrat: 'Montserrat', sans-serif;

    /* Font Sizes - Matching theme.json */
    --font-size-small: 14px;
    --font-size-medium: 16px;
    --font-size-large: 20px;
    --font-size-x-large: 24px;
    --font-size-huge: 32px;

    /* Spacing - Matching theme.json */
    --spacing-small: 10px;
    --spacing-medium: 20px;
    --spacing-large: 40px;
    --spacing-x-large: 60px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.8rem;
}

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

h5 {
    font-size: 1.4rem;
}

h6 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

a {
    color: var(--copper-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--copper-dark);
    text-decoration: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--copper-primary);
    color: var(--white);
    border-color: var(--copper-primary);
}

.btn-primary:hover {
    background-color: var(--copper-dark);
    border-color: var(--copper-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(205, 130, 97, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--copper-primary);
    border-color: var(--copper-primary);
}

.btn-secondary:hover {
    background-color: var(--copper-primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(205, 130, 97, 0.4);
}

.btn-white {
    background-color: var(--white);
    color: var(--copper-primary);
    border-color: var(--white);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Layout Components */
.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================= */
/* Luxury Welcome Section Styles */
/* ============================= */
.luxury-welcome {
    position: relative;
    width: 100%;
    padding: 56px 0;
    background: linear-gradient(180deg, rgba(245, 240, 236, 0.65), rgba(249, 246, 242, 0.9));
}

.luxury-welcome-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.luxury-welcome-header {
    text-align: center;
    margin-bottom: 20px;
}

.luxury-heading {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    color: var(--copper-primary);
    font-size: clamp(28px, 4.8vw, 56px);
    letter-spacing: .5px;
    line-height: 1.5;
}

.luxury-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 24px;
    align-items: start;
}

.luxury-text {
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.36);
    border-radius: 16px;
    padding: 18px 18px 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.luxury-text p {
    color: var(--text-dark);
    opacity: .92;
    margin-bottom: 12px;
}

.luxury-marquee {
    position: relative;
    overflow: hidden;
    margin: 0px 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.marquee-rail {
    display: flex;
    padding: 20px 0;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
    width: max-content;
    will-change: transform;
}

.marquee-card {
    height: 250px;
    width: 350px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    margin: 0 15px;
    filter: saturate(0.96) contrast(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    transition: transform .25s ease, box-shadow .3s ease, filter .25s ease;
}

.marquee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.16);
    filter: saturate(1.02);
}

/* Right-edge fade */
.marquee-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 18%;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(245, 240, 236, 0.95), rgba(245, 240, 236, 0));
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 6 - 180px)); }
}

/* Imagery (replace with your own when available) */
.marquee-card.kothi {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)),
                    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Stoneberry_Front_1-scaled.jpg');
}
.marquee-card.kothi2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)),
                    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/reception-1-scaled.jpg');
}

.marquee-card.decor {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .20), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/stoneberry-lawn-2-scaled.jpg');
}
.marquee-card.decor2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .20), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/stoneberry-lawn-1-scaled.jpg');
}

.marquee-card.swimming {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .20), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Stoneberry-swimming-2-scaled.jpg');
}

.marquee-card.swimming2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .20), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/stoneberry-lawn-3-scaled.jpg');
}

.marquee-card.nature {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Stoneberry_-scaled.jpg');
}
.marquee-card.nature2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Stoneberry--scaled.jpg');
}

.marquee-card.amenities {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Royal-Room--scaled.jpg');
}

.marquee-card.amenities2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .22), rgba(0, 0, 0, 0)), 
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/Royal-premium--scaled.jpg');
}

.marquee-card.events {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .24), rgba(0, 0, 0, 0)),
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/swimming-pool-night-scaled.jpg');
}

.marquee-card.events2 {
    background-image: linear-gradient(120deg, rgba(205, 130, 97, .24), rgba(0, 0, 0, 0)),
    url('https://www.jusjumpin.com/wp-content/uploads/2025/10/lawn-night-view2--scaled.jpg');
}

/* Bengali motif divider */
.luxury-motif {
    height: 52px;
    margin-top: 22px;
    background:
        radial-gradient(circle at 12.5% 50%, rgba(205, 130, 97, .28) 0 6px, transparent 7px),
        radial-gradient(circle at 37.5% 50%, rgba(205, 130, 97, .28) 0 6px, transparent 7px),
        radial-gradient(circle at 62.5% 50%, rgba(205, 130, 97, .28) 0 6px, transparent 7px),
        radial-gradient(circle at 87.5% 50%, rgba(205, 130, 97, .28) 0 6px, transparent 7px);
    background-size: 25% 100%;
}

/* Responsive behavior */
@media (max-width: 1200px) {
    .luxury-grid {
        grid-template-columns: 1fr;
    }

    .luxury-marquee {
        height: 240px;
    }
}

@media (max-width: 900px) {
    .marquee-rail {
        grid-auto-columns: 240px;
    }

    .marquee-card {
        height: 180px;
    }
}

@media (max-width: 640px) {
    .luxury-heading {
        font-size: clamp(26px, 6vw, 40px);
    }

    .luxury-marquee {
        height: 200px;
    }

    .marquee-rail {
        grid-auto-columns: 200px;
    }
}

/* ============================= */
/* Post-Luxury: Stats Section    */
/* ============================= */
.sb-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sb-stats {
    padding: 56px 0 30px;
    background: linear-gradient(180deg, rgba(249, 246, 242, 0.6), rgba(245, 240, 236, 0.85));
}

.sb-stats-header {
    text-align: center;
    margin-bottom: 24px;
}

.sb-heading {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(26px, 4vw, 44px);
    color: var(--text-dark);
}

.sb-heading span {
    color: var(--copper-primary);
}

.sb-subtitle {
    color: var(--text-dark);
    opacity: .85;
}

.sb-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 18px;
}

.sb-stat-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 22px;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .3s ease;
}

.sb-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.sb-stat-number {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 700;
    color: var(--copper-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.sb-stat-title {
    font-family: var(--font-playfair-display);
    margin-bottom: 6px;
    color: var(--text-dark);
}

.sb-stat-desc {
    color: var(--text-dark);
    opacity: .9;
}

@media (max-width: 1024px) {
    .sb-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .sb-stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================= */
/* Post-Luxury: CTA              */
/* ============================= */
.sb-cta {
    padding: 56px 0;
}

.sb-cta .sb-container {
    background: linear-gradient(90deg, rgba(44, 44, 44, 0.96), rgba(26, 37, 47, 0.96));
    color: #fff;
    border-radius: 16px;
    text-align: center;
    padding: 44px 24px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
}

.sb-cta-title {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    margin-bottom: 10px;
}

.sb-cta-desc {
    opacity: .92;
    margin-bottom: 14px;
}

.sb-cta-btn {
    border-radius: 40px;
    padding: 14px 28px;
    box-shadow: 0 8px 30px rgba(205, 130, 97, 0.4);
}

/* ============================= */
/* Amenities Marquee Section     */
/* ============================= */
.sb-amenities {
    padding: 44px 0;
}

.sb-amenities-title {
    text-align: center;
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: clamp(26px, 4vw, 44px);
}
.sb-amenities-title span {
    color: #843c1b;
}
.sb-amenities-subtitle {
    text-align: center;
    color: var(--text-dark);
    opacity: .9;
    margin-bottom: 16px;
}

.amenities-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.36);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

.amenities-rail {
    display: flex;
    width: max-content;
    gap: 12px;
    padding: 14px;
    animation: amenities-scroll 36s linear infinite;
}

.sb-amenities:hover .amenities-rail {
    animation-play-state: paused;
}

.amenity-item {
    flex: 0 0 auto;
    width: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    position: relative;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: transparent;
    box-shadow: none;
}

.amenity-icon lord-icon {
    width: 90px;
    height: 90px;
}

.amenity-item:hover .amenity-icon {
    transform: none;
    box-shadow: none;
}

.amenity-name {
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    font-size: 0.98rem;
}

.amenity-dots {
    display: flex;
    gap: 4px;
    position: absolute;
    bottom: 10px;
}

.amenity-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(205, 130, 97, 0.35);
}

.amenities-fade {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 12%;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(249, 246, 242, 0.95), rgba(249, 246, 242, 0));
}

@keyframes amenities-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1024px) {
    .amenity-item {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .amenity-item {
        width: 140px;
    }

    .amenity-icon {
        margin-bottom: 8px;
    }

    .amenity-icon lord-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .amenity-item {
        width: 120px;
    }

    .amenity-icon {
        margin-bottom: 6px;
    }

    .amenity-icon lord-icon {
        width: 90px;
        height: 90px;
    }
}

.sb-amenities-description {
    text-align: center;
    margin-top: 18px;
    color: var(--text-dark);
    opacity: .9;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.sb-amenities .highlight {
    color: rgba(216, 151, 123, 0.822);
    font-weight: 600;
}

/* ============================= */
/* Premium Services Section       */
/* ============================= */
/* Popup Modal                    */
/* ============================= */
.sb-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 2000;
}

.sb-modal.active {
    display: block;
}

.sb-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.sb-modal-dialog {
    position: relative;
    max-width: 520px;
    margin: 10vh auto;
    padding: 0 16px;
}

.sb-modal-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .25);
    overflow: hidden;
}

.sb-modal-content.decor {
    padding: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.96), rgba(26, 37, 47, 0.96)),
        radial-gradient(800px 300px at 10% 0%, rgba(205, 130, 97, 0.18), transparent),
        radial-gradient(800px 300px at 90% 100%, rgba(205, 130, 97, 0.14), transparent);
    color: #fff;
}

.sb-modal-close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #7a6e67;
}

.sb-modal-body {
    padding: 24px;
}

.sb-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-weight: 600;
}

.sb-alert.success {
    background: rgba(16, 185, 129, .12);
    color: #065f46;
    border: 1px solid rgba(16, 185, 129, .3);
}

.sb-alert.error {
    background: rgba(239, 68, 68, .12);
    color: #7f1d1d;
    border: 1px solid rgba(239, 68, 68, .3);
}

/* Decorative booking popup content */
.sb-booking-popup {
    padding: 28px 24px 24px;
    text-align: center;
}

.sb-booking-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper-primary), var(--copper-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 10px 24px rgba(205, 130, 97, 0.35);
}

.sb-decor-title {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(22px, 3.6vw, 32px);
    margin: 8px 0 6px;
    letter-spacing: .4px;
    background: linear-gradient(135deg, #ffffff, #f8c471);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.5;
}

.sb-decor-text {
    opacity: .95;
    color: #f6f1ee;
    margin-bottom: 16px;
}

.sb-popup-close-btn {
    border: 0;
    border-radius: 28px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--copper-primary), var(--copper-dark));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(205, 130, 97, 0.4);
    cursor: pointer;
}

/* Global Loader */
.sb-loader-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.35); display: none; align-items: center; justify-content: center; z-index: 2100; backdrop-filter: blur(2px); }
.sb-loader-overlay.active { display: flex; }
.sb-loader { display: inline-flex; gap: 6px; }
.sb-loader span { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--copper-primary), var(--copper-dark)); animation: sb-bounce 1s infinite ease-in-out; box-shadow: 0 4px 12px rgba(205,130,97,.4); }
.sb-loader span:nth-child(2) { animation-delay: .15s; }
.sb-loader span:nth-child(3) { animation-delay: .3s; }
@keyframes sb-bounce { 0%, 80%, 100% { transform: scale(0); } 40% { transform: scale(1); } }

/* ============================= */
.sb-premium-services {
    padding: 56px 0;
    background: linear-gradient(180deg, rgba(249, 246, 242, 0.4), rgba(245, 240, 236, 0.7));
}

.sb-services-header {
    text-align: center;
    margin-bottom: 40px;
}

.sb-services-title {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    color: var(--text-dark);
    font-size: clamp(28px, 4.2vw, 48px);
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.sb-services-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--copper-primary), var(--copper-dark));
    border-radius: 2px;
}

.sb-services-subtitle {
    color: var(--text-dark);
    opacity: .85;
    max-width: 700px;
    margin: 0 auto;
}

.sb-services-subtitle .highlight {
    color: var(--copper-primary);
    font-weight: 600;
}

.sb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
}

.sb-service-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    transition: transform .4s ease, box-shadow .4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sb-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.sb-service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.sb-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.sb-service-card:hover .sb-service-image img {
    transform: scale(1.05);
}

.sb-service-number {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(205, 130, 97, 0.9);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


.sb-service-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.sb-service-title {
    font-family: var(--font-playfair-display);
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sb-service-icon {
    color: var(--copper-primary);
    font-size: 1.6rem;
}

.sb-service-description {
    color: var(--text-dark);
    opacity: .85;
    margin-bottom: 18px;
    flex-grow: 1;
}

.sb-service-features {
    margin-bottom: 18px;
}

.sb-service-feature {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: .9;
}

.sb-check {
    color: var(--copper-primary);
    margin-right: 10px;
    font-size: 0.9rem;
    font-weight: bold;
}

.sb-service-link {
    color: var(--copper-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap .3s ease, color .3s ease;
}

.sb-service-link:hover {
    gap: 12px;
    color: var(--copper-dark);
}

.sb-arrow {
    transition: transform .3s ease;
}

.sb-service-link:hover .sb-arrow {
    transform: translateX(4px);
}

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

    .sb-services-title {
        font-size: clamp(24px, 5vw, 36px);
    }

    .sb-service-content {
        padding: 20px;
    }

    .sb-service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .sb-premium-services {
        padding: 40px 0;
    }

    .sb-service-content {
        padding: 18px;
    }

    .sb-service-title {
        font-size: 1.2rem;
    }
}

/* Intro grid and cards (homepage) */
/* (removed) intro grid styles */

/* ============================= */
/* Modern Full-Width CTA         */
/* ============================= */
.sb-modern-cta {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 72px 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.96), rgba(26, 37, 47, 0.96)),
        radial-gradient(800px 300px at 10% 0%, rgba(205, 130, 97, 0.15), transparent),
        radial-gradient(800px 300px at 90% 100%, rgba(205, 130, 97, 0.12), transparent);
    color: #fff;
    overflow: hidden;
}

.sb-modern-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.sb-modern-cta-title {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(30px, 5vw, 60px);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: .4px;
    background: linear-gradient(135deg, #ffffff, #f8c471);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sb-modern-cta-subtitle {
    max-width: 920px;
    margin: 0 auto 20px;
    opacity: .92;
    font-size: clamp(16px, 2.2vw, 20px);
    color: #f6f1ee;
}

.sb-modern-cta-btn {
    border-radius: 40px;
    padding: 14px 28px;
    box-shadow: 0 12px 40px rgba(205, 130, 97, 0.4);
}

@media (max-width: 768px) {
    .sb-modern-cta {
        padding: 56px 0;
    }
}

/* Ensure hero section starts after header */
.hero-video-section {
    margin-top: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
}

/* ============================= */
/* 404 Page                      */
/* ============================= */
.page_404 {
    padding: 64px 0 88px;
    background: #f5f2ee;
    font-family: var(--font-montserrat);
}

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

.page_404 .row,
.page_404 .col-sm-12 {
    display: block;
}

.page_404 .col-sm-10 {
    max-width: 960px;
    margin: 0 auto;
}

.page_404 .four_zero_four_bg {
    background-image: url('../images/caveman-404.gif');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 404px;
    margin: 0 auto 12px;
}

.page_404 .four_zero_four_bg h1 {
    font-size: 64px;
    font-weight: 700;
    color: var(--copper-primary);
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
}

.page_404 .contant_box_404 {
    margin-top: 0;
    text-align: center;
}

.page_404 .contant_box_404 .h2 {
    font-family: 'TAN - PEARL', var(--font-playfair-display), serif;
    font-size: clamp(28px, 4.6vw, 52px);
    color: var(--text-dark);
    margin-bottom: 12px;
}

.page_404 .contant_box_404 .subtitle {
    color: var(--text-dark);
    opacity: .9;
    max-width: 780px;
    margin: 0 auto 8px;
}

.page_404 .contant_box_404 .secondary {
    color: var(--text-dark);
    opacity: .8;
    font-size: 0.95rem;
    max-width: 720px;
    margin: 0 auto 16px;
}

.page_404 .link_404 {
    color: #fff !important;
    padding: 12px 24px;
    background: var(--copper-primary);
    display: inline-block;
    border-radius: 28px;
    box-shadow: 0 10px 28px rgba(205, 130, 97, 0.35);
    transition: transform .25s ease, box-shadow .3s ease;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.page_404 .link_404:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(205, 130, 97, 0.45);
}

@media (max-width: 768px) {
    .page_404 {
        padding: 48px 0 64px;
    }

    .page_404 .col-sm-10 {
        max-width: 100%;
    }

    .page_404 .four_zero_four_bg {
        height: 240px;
    }

    .page_404 .contant_box_404 .subtitle,
    .page_404 .contant_box_404 .secondary {
        padding: 0 8px;
    }
}

@media (max-width: 425px) {
    .page_404 .four_zero_four_bg {
        height: 200px;
    }
}

/* Ensure full viewport consistency */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Full width consistency */
.site-header,
.hero-video-section,
.site-main,
.site-footer {
    width: 100%;
    max-width: 100%;
}

/* Custom Scrollbar - Theme Matching */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(248, 248, 248, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--copper-primary), var(--copper-dark));
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 8px rgba(205, 130, 97, 0.3);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--copper-dark), var(--copper-primary));
    box-shadow: 0 4px 12px rgba(205, 130, 97, 0.5);
    transform: scale(1.05);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(135deg, #A05A3A, #8B4A2A);
    box-shadow: 0 2px 6px rgba(205, 130, 97, 0.7);
}

::-webkit-scrollbar-corner {
    background: rgba(248, 248, 248, 0.8);
    backdrop-filter: blur(10px);
}

/* Firefox Scrollbar */
html {
    scrollbar-width: medium;
    scrollbar-color: var(--copper-primary) rgba(248, 248, 248, 0.8);
}

/* Scrollbar for specific containers */
.hero-video-section::-webkit-scrollbar,
.site-main::-webkit-scrollbar,
.container::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.hero-video-section::-webkit-scrollbar-track,
.site-main::-webkit-scrollbar-track,
.container::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.hero-video-section::-webkit-scrollbar-thumb,
.site-main::-webkit-scrollbar-thumb,
.container::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, rgba(205, 130, 97, 0.8), rgba(184, 112, 74, 0.8));
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-video-section::-webkit-scrollbar-thumb:hover,
.site-main::-webkit-scrollbar-thumb:hover,
.container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, rgba(205, 130, 97, 1), rgba(184, 112, 74, 1));
}

/* Mobile scrollbar adjustments */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
        height: 8px;
    }

    ::-webkit-scrollbar-thumb {
        border: 1px solid rgba(255, 255, 255, 0.2);
        box-shadow: 0 1px 4px rgba(205, 130, 97, 0.2);
    }

    ::-webkit-scrollbar-thumb:hover {
        transform: scale(1.02);
    }
}

/* Dark mode scrollbar support */
@media (prefers-color-scheme: dark) {
    ::-webkit-scrollbar-track {
        background: rgba(44, 44, 44, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    ::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, var(--copper-primary), var(--copper-dark));
        border: 2px solid rgba(255, 255, 255, 0.1);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    ::-webkit-scrollbar-thumb {
        background: var(--copper-primary);
        border: 2px solid var(--text-dark);
    }

    ::-webkit-scrollbar-track {
        background: var(--white);
        border: 1px solid var(--text-dark);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    ::-webkit-scrollbar-thumb {
        transition: none;
    }

    ::-webkit-scrollbar-thumb:hover {
        transform: none;
    }
}

.container-fluid {
    width: 100%;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-1 {
    flex: 0 0 8.333333%;
}

.col-2 {
    flex: 0 0 16.666667%;
}

.col-3 {
    flex: 0 0 25%;
}

.col-4 {
    flex: 0 0 33.333333%;
}

.col-6 {
    flex: 0 0 50%;
}

.col-8 {
    flex: 0 0 66.666667%;
}

.col-9 {
    flex: 0 0 75%;
}

.col-12 {
    flex: 0 0 100%;
}

/* Content Spacing */
.site-content {
    margin-top: 65px;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 0.5rem;
}

.p-2 {
    padding: 1rem;
}

.p-3 {
    padding: 1.5rem;
}

.p-4 {
    padding: 2rem;
}

.p-5 {
    padding: 3rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        padding: 0 40px;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 3.2rem;
    }

    h3 {
        font-size: 2.5rem;
    }
}

/* Desktop */
@media (max-width: 1399px) and (min-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.8rem;
    }

    h3 {
        font-size: 2.2rem;
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 25px;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.4rem;
    }

    h3 {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .col-6 {
        flex: 0 0 100%;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

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

    h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 12px 25px;
        font-size: 14px;
    }
}