body.bago-theme-batumi-sea,
body.bago-theme-bright-beach {
    --bago-bg-1: #024b63;
    --bago-bg-2: #00a9b7;
    --bago-card: rgba(255,255,255,0.16);
    --bago-card-2: rgba(255,255,255,0.12);
    --bago-border: rgba(255,255,255,0.22);
    --bago-accent: #27f5d2;
    --bago-accent-2: #59cfff;
    --bago-warning: #ffe066;
}

body.bago-theme-dark-luxury {
    --bago-bg-1: #05070d;
    --bago-bg-2: #121827;
    --bago-card: rgba(255,255,255,0.08);
    --bago-card-2: rgba(255,255,255,0.06);
    --bago-border: rgba(255,255,255,0.13);
    --bago-accent: #d4af37;
    --bago-accent-2: #f5d76e;
    --bago-warning: #ffcc66;
}

body.bago-theme-sunset-gold {
    --bago-bg-1: #421b35;
    --bago-bg-2: #f47c48;
    --bago-card: rgba(255,255,255,0.16);
    --bago-card-2: rgba(255,255,255,0.12);
    --bago-border: rgba(255,255,255,0.22);
    --bago-accent: #ffd166;
    --bago-accent-2: #ff9f1c;
    --bago-warning: #fff3b0;
}

body.bago-theme-emerald-city {
    --bago-bg-1: #063b2f;
    --bago-bg-2: #0f8f70;
    --bago-card: rgba(255,255,255,0.14);
    --bago-card-2: rgba(255,255,255,0.10);
    --bago-border: rgba(255,255,255,0.18);
    --bago-accent: #7cffcb;
    --bago-accent-2: #b2ff59;
    --bago-warning: #ffe066;
}

body.bago-theme-minimal-premium {
    --bago-bg-1: #1f2937;
    --bago-bg-2: #64748b;
    --bago-card: rgba(255,255,255,0.13);
    --bago-card-2: rgba(255,255,255,0.09);
    --bago-border: rgba(255,255,255,0.18);
    --bago-accent: #e5e7eb;
    --bago-accent-2: #ffffff;
    --bago-warning: #facc15;
}

body.bago-theme-dark-luxury .bago-brand-badge,
body.bago-theme-dark-luxury .bago-btn-primary,
body.bago-theme-dark-luxury .bago-feature-icon {
    background: linear-gradient(135deg, #d4af37, #f5d76e);
    color: #14100a;
}

body.bago-theme-sunset-gold .bago-brand-badge,
body.bago-theme-sunset-gold .bago-btn-primary,
body.bago-theme-sunset-gold .bago-feature-icon {
    background: linear-gradient(135deg, #ffd166, #ff9f1c);
    color: #3b1600;
}

body.bago-theme-emerald-city .bago-brand-badge,
body.bago-theme-emerald-city .bago-btn-primary,
body.bago-theme-emerald-city .bago-feature-icon {
    background: linear-gradient(135deg, #7cffcb, #b2ff59);
    color: #063b2f;
}

body.bago-theme-minimal-premium .bago-brand-badge,
body.bago-theme-minimal-premium .bago-btn-primary,
body.bago-theme-minimal-premium .bago-feature-icon {
    background: linear-gradient(135deg, #e5e7eb, #ffffff);
    color: #111827;
}

body.bago-theme-batumi-sea .bago-brand-badge,
body.bago-theme-bright-beach .bago-brand-badge,
body.bago-theme-batumi-sea .bago-btn-primary,
body.bago-theme-bright-beach .bago-btn-primary,
body.bago-theme-batumi-sea .bago-feature-icon,
body.bago-theme-bright-beach .bago-feature-icon {
    background: linear-gradient(135deg, #27f5d2, #59cfff);
    color: #02343b;
}

.bago-lang-switch {
    display: flex;
    gap: 4px;
    align-items: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    padding: 4px;
}

.bago-lang-switch a {
    color: rgba(255,255,255,0.72);
    font-weight: 800;
    font-size: 11px;
    padding: 7px 8px;
    border-radius: 999px;
}

.bago-lang-switch a.active {
    background: rgba(255,255,255,0.18);
    color: #fff;
}


/* BaGO DESIGNER THEME UPGRADE START */

body.theme-batumi-sea,
body.theme-dark-luxury,
body.theme-sunset-gold,
body.theme-emerald-city {
    min-height: 100vh;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    color: #ffffff;
}

body.theme-batumi-sea {
    --bago-overlay-top: rgba(0, 31, 51, 0.34);
    --bago-overlay-bottom: rgba(1, 31, 41, 0.74);
    --bago-overlay-middle: rgba(7, 122, 143, 0.28);
    --bago-card: rgba(10, 44, 61, 0.46);
    --bago-card-2: rgba(255,255,255,0.10);
    --bago-border: rgba(255,255,255,0.22);
    --bago-shadow: 0 24px 60px rgba(2, 21, 30, 0.34);
    --bago-accent: #35f2d1;
    --bago-accent-2: #7ddfff;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,255,255,0.82);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 34%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.00) 22%),
        radial-gradient(circle at 84% 12%, rgba(53,242,209,0.18) 0%, rgba(53,242,209,0.00) 22%),
        url('../images/themes/batumi-sea-panorama.png') !important;
}

body.theme-dark-luxury {
    --bago-overlay-top: rgba(4, 10, 26, 0.28);
    --bago-overlay-bottom: rgba(4, 10, 20, 0.82);
    --bago-overlay-middle: rgba(16, 26, 46, 0.36);
    --bago-card: rgba(10, 14, 25, 0.62);
    --bago-card-2: rgba(255,255,255,0.07);
    --bago-border: rgba(255,255,255,0.14);
    --bago-shadow: 0 30px 80px rgba(0, 0, 0, 0.50);
    --bago-accent: #d7b56a;
    --bago-accent-2: #f4d590;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,255,255,0.78);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 36%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 78% 14%, rgba(244,213,144,0.20) 0%, rgba(244,213,144,0.00) 24%),
        radial-gradient(circle at 12% 10%, rgba(66,104,180,0.16) 0%, rgba(66,104,180,0.00) 26%),
        url('../images/themes/dark-luxury-panorama.png') !important;
}

body.theme-sunset-gold {
    --bago-overlay-top: rgba(92, 28, 7, 0.16);
    --bago-overlay-bottom: rgba(71, 24, 12, 0.68);
    --bago-overlay-middle: rgba(212, 105, 37, 0.18);
    --bago-card: rgba(101, 43, 20, 0.40);
    --bago-card-2: rgba(255,255,255,0.11);
    --bago-border: rgba(255,255,255,0.25);
    --bago-shadow: 0 28px 70px rgba(87, 30, 7, 0.30);
    --bago-accent: #ffd267;
    --bago-accent-2: #ff9b47;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,244,236,0.84);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 40%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 15% 12%, rgba(255,214,117,0.26) 0%, rgba(255,214,117,0.00) 24%),
        radial-gradient(circle at 80% 14%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.00) 22%),
        url('../images/themes/sunset-gold-panorama.png') !important;
}

body.theme-emerald-city {
    --bago-overlay-top: rgba(4, 49, 43, 0.24);
    --bago-overlay-bottom: rgba(4, 49, 43, 0.70);
    --bago-overlay-middle: rgba(12, 112, 91, 0.24);
    --bago-card: rgba(6, 49, 42, 0.46);
    --bago-card-2: rgba(255,255,255,0.10);
    --bago-border: rgba(255,255,255,0.20);
    --bago-shadow: 0 28px 70px rgba(3, 35, 30, 0.34);
    --bago-accent: #86f7bb;
    --bago-accent-2: #caff77;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(245,255,250,0.82);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 38%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 18% 9%, rgba(202,255,119,0.18) 0%, rgba(202,255,119,0.00) 22%),
        radial-gradient(circle at 85% 14%, rgba(134,247,187,0.18) 0%, rgba(134,247,187,0.00) 24%),
        url('../images/themes/emerald-city-panorama.png') !important;
}

body.theme-batumi-sea .card,
body.theme-dark-luxury .card,
body.theme-sunset-gold .card,
body.theme-emerald-city .card,
body.theme-batumi-sea .bago-card,
body.theme-dark-luxury .bago-card,
body.theme-sunset-gold .bago-card,
body.theme-emerald-city .bago-card,
body.theme-batumi-sea .activity-card,
body.theme-dark-luxury .activity-card,
body.theme-sunset-gold .activity-card,
body.theme-emerald-city .activity-card,
body.theme-batumi-sea .glass-card,
body.theme-dark-luxury .glass-card,
body.theme-sunset-gold .glass-card,
body.theme-emerald-city .glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), var(--bago-card)) !important;
    border: 1px solid var(--bago-border) !important;
    box-shadow: var(--bago-shadow) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.theme-batumi-sea .navbar,
body.theme-dark-luxury .navbar,
body.theme-sunset-gold .navbar,
body.theme-emerald-city .navbar,
body.theme-batumi-sea .bago-header,
body.theme-dark-luxury .bago-header,
body.theme-sunset-gold .bago-header,
body.theme-emerald-city .bago-header,
body.theme-batumi-sea header,
body.theme-dark-luxury header,
body.theme-sunset-gold header,
body.theme-emerald-city header {
    background: linear-gradient(180deg, rgba(8,17,26,0.62), rgba(8,17,26,0.22)) !important;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

body.theme-batumi-sea .bago-hero,
body.theme-dark-luxury .bago-hero,
body.theme-sunset-gold .bago-hero,
body.theme-emerald-city .bago-hero,
body.theme-batumi-sea .hero,
body.theme-dark-luxury .hero,
body.theme-sunset-gold .hero,
body.theme-emerald-city .hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)) !important;
    border: 1px solid rgba(255,255,255,0.16) !important;
    border-radius: 24px;
    box-shadow: var(--bago-shadow) !important;
}

body.theme-batumi-sea .bago-hero::after,
body.theme-dark-luxury .bago-hero::after,
body.theme-sunset-gold .bago-hero::after,
body.theme-emerald-city .bago-hero::after,
body.theme-batumi-sea .hero::after,
body.theme-dark-luxury .hero::after,
body.theme-sunset-gold .hero::after,
body.theme-emerald-city .hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -25% auto;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.00) 72%);
    pointer-events: none;
}

body.theme-batumi-sea .bago-btn-primary,
body.theme-dark-luxury .bago-btn-primary,
body.theme-sunset-gold .bago-btn-primary,
body.theme-emerald-city .bago-btn-primary,
body.theme-batumi-sea .btn-primary,
body.theme-dark-luxury .btn-primary,
body.theme-sunset-gold .btn-primary,
body.theme-emerald-city .btn-primary {
    background: linear-gradient(135deg, var(--bago-accent), var(--bago-accent-2)) !important;
    border: none !important;
    color: #082430 !important;
    box-shadow: 0 14px 28px rgba(0,0,0,0.18) !important;
}

body.theme-dark-luxury .bago-btn-primary,
body.theme-dark-luxury .btn-primary {
    color: #1e1404 !important;
}

body.theme-sunset-gold .bago-btn-primary,
body.theme-sunset-gold .btn-primary {
    color: #4a1902 !important;
}

body.theme-emerald-city .bago-btn-primary,
body.theme-emerald-city .btn-primary {
    color: #08372a !important;
}

body.theme-batumi-sea .section-title,
body.theme-dark-luxury .section-title,
body.theme-sunset-gold .section-title,
body.theme-emerald-city .section-title,
body.theme-batumi-sea .bago-section-title,
body.theme-dark-luxury .bago-section-title,
body.theme-sunset-gold .bago-section-title,
body.theme-emerald-city .bago-section-title,
body.theme-batumi-sea h1,
body.theme-dark-luxury h1,
body.theme-sunset-gold h1,
body.theme-emerald-city h1,
body.theme-batumi-sea h2,
body.theme-dark-luxury h2,
body.theme-sunset-gold h2,
body.theme-emerald-city h2,
body.theme-batumi-sea h3,
body.theme-dark-luxury h3,
body.theme-sunset-gold h3,
body.theme-emerald-city h3 {
    color: var(--bago-text-strong) !important;
    text-shadow: 0 10px 30px rgba(0,0,0,0.18);
}

body.theme-batumi-sea p,
body.theme-dark-luxury p,
body.theme-sunset-gold p,
body.theme-emerald-city p,
body.theme-batumi-sea .text-muted,
body.theme-dark-luxury .text-muted,
body.theme-sunset-gold .text-muted,
body.theme-emerald-city .text-muted,
body.theme-batumi-sea .subtitle,
body.theme-dark-luxury .subtitle,
body.theme-sunset-gold .subtitle,
body.theme-emerald-city .subtitle {
    color: var(--bago-text-soft) !important;
}

body.theme-batumi-sea .bottom-nav,
body.theme-dark-luxury .bottom-nav,
body.theme-sunset-gold .bottom-nav,
body.theme-emerald-city .bottom-nav,
body.theme-batumi-sea .bago-bottom-nav,
body.theme-dark-luxury .bago-bottom-nav,
body.theme-sunset-gold .bago-bottom-nav,
body.theme-emerald-city .bago-bottom-nav {
    background: linear-gradient(180deg, rgba(7,14,22,0.18), rgba(7,14,22,0.58)) !important;
    border-top: 1px solid rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

body.theme-batumi-sea .badge,
body.theme-dark-luxury .badge,
body.theme-sunset-gold .badge,
body.theme-emerald-city .badge,
body.theme-batumi-sea .chip,
body.theme-dark-luxury .chip,
body.theme-sunset-gold .chip,
body.theme-emerald-city .chip,
body.theme-batumi-sea .bago-chip,
body.theme-dark-luxury .bago-chip,
body.theme-sunset-gold .bago-chip,
body.theme-emerald-city .bago-chip {
    background: rgba(255,255,255,0.14) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    body.theme-batumi-sea,
    body.theme-dark-luxury,
    body.theme-sunset-gold,
    body.theme-emerald-city {
        background-position: center top !important;
    }

    body.theme-batumi-sea .card,
    body.theme-dark-luxury .card,
    body.theme-sunset-gold .card,
    body.theme-emerald-city .card,
    body.theme-batumi-sea .bago-card,
    body.theme-dark-luxury .bago-card,
    body.theme-sunset-gold .bago-card,
    body.theme-emerald-city .bago-card {
        box-shadow: 0 18px 42px rgba(0,0,0,0.22) !important;
    }
}

/* BaGO DESIGNER THEME UPGRADE END */


/* BaGO THEME BACKGROUND CLASS FIX START
   The Laravel layout uses body.bago-theme-..., so backgrounds must target those classes. */
body.bago-theme-batumi-sea,
body.bago-theme-bright-beach,
body.bago-theme-dark-luxury,
body.bago-theme-sunset-gold,
body.bago-theme-emerald-city,
body.bago-theme-minimal-premium {
    min-height: 100vh;
    background-repeat: no-repeat !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: scroll !important;
    color: #ffffff;
}

body.bago-theme-batumi-sea,
body.bago-theme-bright-beach {
    --bago-overlay-top: rgba(0, 31, 51, 0.34);
    --bago-overlay-bottom: rgba(1, 31, 41, 0.74);
    --bago-overlay-middle: rgba(7, 122, 143, 0.28);
    --bago-card: rgba(10, 44, 61, 0.46);
    --bago-card-2: rgba(255,255,255,0.10);
    --bago-border: rgba(255,255,255,0.22);
    --bago-shadow: 0 24px 60px rgba(2, 21, 30, 0.34);
    --bago-accent: #35f2d1;
    --bago-accent-2: #7ddfff;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,255,255,0.82);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 34%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.00) 22%),
        radial-gradient(circle at 84% 12%, rgba(53,242,209,0.18) 0%, rgba(53,242,209,0.00) 22%),
        url('../images/themes/batumi-sea-panorama.png') !important;
}

body.bago-theme-dark-luxury {
    --bago-overlay-top: rgba(4, 10, 26, 0.28);
    --bago-overlay-bottom: rgba(4, 10, 20, 0.82);
    --bago-overlay-middle: rgba(16, 26, 46, 0.36);
    --bago-card: rgba(10, 14, 25, 0.62);
    --bago-card-2: rgba(255,255,255,0.07);
    --bago-border: rgba(255,255,255,0.14);
    --bago-shadow: 0 30px 80px rgba(0, 0, 0, 0.50);
    --bago-accent: #d7b56a;
    --bago-accent-2: #f4d590;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,255,255,0.78);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 36%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 78% 14%, rgba(244,213,144,0.20) 0%, rgba(244,213,144,0.00) 24%),
        radial-gradient(circle at 12% 10%, rgba(66,104,180,0.16) 0%, rgba(66,104,180,0.00) 26%),
        url('../images/themes/dark-luxury-panorama.png') !important;
}

body.bago-theme-sunset-gold {
    --bago-overlay-top: rgba(92, 28, 7, 0.16);
    --bago-overlay-bottom: rgba(71, 24, 12, 0.68);
    --bago-overlay-middle: rgba(212, 105, 37, 0.18);
    --bago-card: rgba(101, 43, 20, 0.40);
    --bago-card-2: rgba(255,255,255,0.11);
    --bago-border: rgba(255,255,255,0.25);
    --bago-shadow: 0 28px 70px rgba(87, 30, 7, 0.30);
    --bago-accent: #ffd267;
    --bago-accent-2: #ff9b47;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(255,244,236,0.84);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 40%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 15% 12%, rgba(255,214,117,0.26) 0%, rgba(255,214,117,0.00) 24%),
        radial-gradient(circle at 80% 14%, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.00) 22%),
        url('../images/themes/sunset-gold-panorama.png') !important;
}

body.bago-theme-emerald-city {
    --bago-overlay-top: rgba(4, 49, 43, 0.24);
    --bago-overlay-bottom: rgba(4, 49, 43, 0.70);
    --bago-overlay-middle: rgba(12, 112, 91, 0.24);
    --bago-card: rgba(6, 49, 42, 0.46);
    --bago-card-2: rgba(255,255,255,0.10);
    --bago-border: rgba(255,255,255,0.20);
    --bago-shadow: 0 28px 70px rgba(3, 35, 30, 0.34);
    --bago-accent: #86f7bb;
    --bago-accent-2: #caff77;
    --bago-text-strong: #ffffff;
    --bago-text-soft: rgba(245,255,250,0.82);
    background-image:
        linear-gradient(180deg, var(--bago-overlay-top) 0%, var(--bago-overlay-middle) 38%, var(--bago-overlay-bottom) 100%),
        radial-gradient(circle at 18% 9%, rgba(202,255,119,0.18) 0%, rgba(202,255,119,0.00) 22%),
        radial-gradient(circle at 85% 14%, rgba(134,247,187,0.18) 0%, rgba(134,247,187,0.00) 24%),
        url('../images/themes/emerald-city-panorama.png') !important;
}

body.bago-theme-minimal-premium {
    background-image:
        radial-gradient(circle at top right, rgba(255,255,255,0.14), transparent 28%),
        radial-gradient(circle at top left, rgba(229,231,235,0.10), transparent 22%),
        linear-gradient(180deg, #64748b, #1f2937) !important;
}

body.bago-theme-batumi-sea .bago-card,
body.bago-theme-bright-beach .bago-card,
body.bago-theme-dark-luxury .bago-card,
body.bago-theme-sunset-gold .bago-card,
body.bago-theme-emerald-city .bago-card,
body.bago-theme-minimal-premium .bago-card,
body.bago-theme-batumi-sea .bago-activity-card,
body.bago-theme-bright-beach .bago-activity-card,
body.bago-theme-dark-luxury .bago-activity-card,
body.bago-theme-sunset-gold .bago-activity-card,
body.bago-theme-emerald-city .bago-activity-card,
body.bago-theme-minimal-premium .bago-activity-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.12), var(--bago-card)) !important;
    border: 1px solid var(--bago-border) !important;
    box-shadow: var(--bago-shadow) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body.bago-theme-batumi-sea .bago-header,
body.bago-theme-bright-beach .bago-header,
body.bago-theme-dark-luxury .bago-header,
body.bago-theme-sunset-gold .bago-header,
body.bago-theme-emerald-city .bago-header,
body.bago-theme-minimal-premium .bago-header,
body.bago-theme-batumi-sea .bago-bottom-nav,
body.bago-theme-bright-beach .bago-bottom-nav,
body.bago-theme-dark-luxury .bago-bottom-nav,
body.bago-theme-sunset-gold .bago-bottom-nav,
body.bago-theme-emerald-city .bago-bottom-nav,
body.bago-theme-minimal-premium .bago-bottom-nav {
    background: linear-gradient(180deg, rgba(7,14,22,0.20), rgba(7,14,22,0.58)) !important;
    border-color: rgba(255,255,255,0.14) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
/* BaGO THEME BACKGROUND CLASS FIX END */
