:root {
    --red: #e63946;
    --black: #0b0b0b;
    --card-bg: #141414;
    --glass: rgba(10, 10, 10, 0.95);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body { 
        background: var(--black); 
        color: #fff; 
        font-family: 'Inter', sans-serif; 
        line-height: 1.6; 
}

ul { 
    list-style: none; 
} 

a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}
    .container { 
        max-width: 1200px; 
        margin: 0 auto; 
        padding: 0 20px; 
}


.nav-holder {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 2000;
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    height: 85px;
}

.nav-links { 
    display: flex; 
    gap: 35px; 
    align-items: center; 
    list-style: none; 
}
    
.nav-item { 
    position: static; 
} 
    
.nav-link {
    font-size: 11px; font-weight: 800; text-transform: uppercase;
    letter-spacing: 1.2px; color: rgba(255,255,255,0.8); 
    padding: 32px 0; cursor: pointer; transition: 0.3s;
}

.nav-item:hover .nav-link { 
    color: #e63946; 
}

#nav-logo {
    height: 50px;
    width: auto;
}


/* Ссылка на профиль в мобильном меню */
.mobile-overlay .profile-link {
    justify-content: center;
    margin-bottom: 30px;
}

/* Контейнер языков в мобильном меню */
.mobile-overlay .lang-box {
    margin-top: 50px;
    justify-content: center;
    gap: 20px;
}

/* Иконки флагов в мобильном меню */

.mobile-overlay .flag {
    width: 35px;
    height: 35px;
}

/* Заголовки секций с центрированием */
.section-header-centered {
    text-align: center;
    margin-bottom: 60px;
}

.section-header-centered h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
}




/*  Nav Scroll styles */

.nav-holder.scrolled {
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-holder.scrolled nav {
    height: 65px; 
}


.nav-holder.scrolled #nav-logo {
    height: 40px; 
    transition: 0.3s;
}




/* --- MEGA MENU --- */

.mega-title {
    display: block;
    font-size: 0.8rem; /* Adjust to match your previous h5 size */
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--red);
}

.mega-menu {
    position: absolute; top: 80px; left: 0; width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(25px);
    border-bottom: 2px solid #e63946;
    padding: 40px 0;
    opacity: 0; visibility: hidden;
    transform: translateY(15px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.nav-item:hover .mega-menu { 
    opacity: 1; 
    visibility: visible; 
    transform: translateY(0); 
}

.mega-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.mega-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
}
    
.mega-card {
    display: flex; 
    flex-direction: column; 
    gap: 12px;
    text-decoration: none; 
    transition: 0.3s;
}

.mega-card img {
    width: 100%; height: 120px; 
    object-fit: cover;
    border-radius: 15px; 
    opacity: 0.6; 
    transition: 0.4s;
}

.mega-card:hover img { 
    opacity: 1; 
    transform: translateY(-5px); 
}

.mega-card span { 
    font-size: 13px; 
    font-weight: 700; 
    color: #fff; 
    text-transform: uppercase; 
}

.mega-list {
        border-left: 1px solid rgba(255,255,255,0.1);
        padding-left: 40px; display: flex; flex-direction: column; gap: 15px;
}

.mega-list h5 { 
    color: #e63946; 
    font-size: 10px; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}

.mega-list a { 
    color: #888; 
    font-size: 14px; 
    text-decoration: none; 
    transition: 0.3s; 
}

.mega-list a:hover { 
    color: #fff; 
    padding-left: 5px; 
}



/* --- RIGHT SIDE (Profile & Lang) --- */

.nav-right { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
}

.profile-link {
    display: flex; 
    align-items: center; 
    gap: 8px;
    background: rgba(255,255,255,0.08); 
    padding: 10px 20px;
    border-radius: 50px; 
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; 
    font-size: 11px; 
    font-weight: 700; 
    text-transform: uppercase;
    text-decoration: none; 
    transition: 0.3s;
}

.profile-link:hover { 
    background: #e63946; 
    border-color: #e63946; 
}

.lang-box { 
    display: none; /* flex */ 
    gap: 12px; 
}

.flag { 
    width: 22px; 
    height: 22px; 
    border-radius: 50%; 
    object-fit: cover; 
    cursor: pointer; 
    opacity: 0.5; 
    transition: 0.3s;
    border: 2px solid transparent;
}

.flag:hover, .flag.active { 
    opacity: 1; 
    border-color: #e63946; 
}




/* --- MOBILE MENU --- */

.burger { 
    display: none; 
    flex-direction: column; 
    gap: 6px; 
    cursor: pointer; 
    position: relative; 
    z-index: 3000; 
}

.burger span { width: 28px; height: 2px; background: #fff; transition: 0.3s; }


#closeMenu {
    position: absolute;
    right: 25px;
    top: 25px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    line-height: 1;
    z-index: 2100; 
}


.mobile-overlay {
    position: fixed; 
    inset: 0; 
    background: #0b0b0b; 
    z-index: 1900;
    padding: 100px 30px; 
    transform: translateX(100%); 
    transition: 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    pointer-events: none; 
}

.mobile-overlay.open { 
    transform: translateX(0); 
    pointer-events: auto; 
}

.mob-main {
    cursor: pointer;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


/* Style for the dropdown links */

.mob-subs a {
    display: block;
    padding: 10px 0;
    color: #888;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.mob-subs a:last-child {
    border-bottom: none;
}


/* Hide sub-menus by default */

.mob-subs {
    display: none; 
    flex-direction: column;
    gap: 15px;
    padding: 20px 0 0 20px;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Show when parent group is active */
.mob-group.active .mob-subs {
    display: flex;
    animation: fadeIn 0.3s ease;
}


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


.mob-group.active .arrow { transform: rotate(180deg); }



.burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -6px); }
    @media (max-width: 1024px) {
        .nav-links, .profile-link.desktop { display: none; }
        .burger { display: flex; }
    }


.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    margin-left: 10px;
    font-size: 14px;
}


.main-title {
    font-weight: 900; /* This replaces your <b> tag */
    text-transform: uppercase; /* Optional, if you want that punchy look */
}

/* --- Hero --- */

        .hero { height: 95vh; position: relative; display: flex; align-items: center; overflow: hidden; border-bottom-right-radius: 80px; }
        .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: 1.5s; z-index: -2; }
        .slide.active { opacity: 0.5; }
        /* Градиент перехода */
        .hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 50%, var(--black)); z-index: -1; }
        
        .hero-content h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); text-transform: uppercase; line-height: 1.1; margin-bottom: 20px; }
        .hero-content h1 b { color: var(--red); }
        .hero-content p { font-size: 1.2rem; margin-bottom: 35px; color: #ddd; }
        .hero-btns { display: flex; gap: 15px; }
        .btn { padding: 16px 35px; border-radius: 50px; font-weight: 700; text-transform: uppercase; font-size: 12px; cursor: pointer; display: inline-block; }
        .btn-red { background: var(--red); color: #fff; }
        .btn-white { background: transparent; border: 2px solid #fff; color: #fff; }
        .btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); }


.slide-1 { background-image: url('/images/main/Easter-bg.webp'); }
.slide-2 { background-image: url('/images/main/Tatami-Blue.webp'); }
.slide-3 { background-image: url('/images/main/speedbag.webp'); }


/* --- Promo Badge Stils --- */
.promo-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(230, 57, 70, 0.15); /* Caurspīdīgi sarkans */
    border: 1px solid var(--red);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

/* Pulsējošais punkts (spuldzīte) */
.pulse-icon {
    width: 8px;
    height: 8px;
    background-color: var(--red);
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    box-shadow: 0 0 10px var(--red);
}

.pulse-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: var(--red);
    border-radius: 50%;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(3); opacity: 0; }
}

/* Mobila pielāgošana */
@media (max-width: 768px) {
    .promo-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}


/* --- Global Section Spacing --- */

        section { padding: 60px 0; }

        .section-header { text-align: center; margin-bottom: 60px; }
        .section-header h2 { font-size: 2.8rem; text-transform: uppercase; letter-spacing: 2px; }
        .section-header span { color: var(--red); }

        /* --- Mūsu Virzieni --- */
        
        /* Atjaunotais režģis - uz lieliem ekrāniem 4 kolonnas */
.direction-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    grid-auto-rows: 280px; /* Izmantojam auto-rows fiksēta augstuma vietā */
    gap: 20px; 
}

/* Planšetēm (līdz 1024px) - pārejam uz 2 kolonnām */
@media (max-width: 1024px) {
    .direction-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Telefoniem (līdz 768px) - viena kolonna */
@media (max-width: 768px) {
    .direction-grid {
        grid-template-columns: 1fr; /* Viena kolonna pilnā platumā */
        grid-auto-rows: 220px; /* Mazliet zemākas kartītes mobilajā */
    }

    /* Atceļam span-2 efektu mobilajā, lai kartītes neizietu ārpus rāmjiem */
    .span-2 { 
        grid-column: span 1 !important; 
    }
    
    .dir-card {
        padding: 25px; /* Mazākas atkāpes iekšpusē */
    }

    .dir-card h3 {
        font-size: 1.1rem; /* Mazāks teksts */
    }
}
        
        
        .dir-card { overflow: hidden; display: block; text-decoration: none; position: relative; border-radius: 40px; overflow: hidden; padding: 40px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--glass-border); }
        .dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; transition: 0.6s; z-index: 0; }
        .dir-card:hover img { opacity: 0.6; transform: scale(1.1); transition: 0.5s ease;}
        .dir-card h3 { position: relative; z-index: 1; text-transform: uppercase; font-size: 1.4rem; font-weight: 900; color: #fff}
        .span-2 { grid-column: span 2; }



/* --- Schedule --- */

    .schedule-section { padding: 100px 0; background: var(--black); }
    
    /* Контейнер для колонок */
    .schedule-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 15px;
    }

    .day-column {
        background: rgba(255, 255, 255, 0.03);
        border-radius: 25px;
        padding: 20px 15px;
        border: 1px solid var(--glass-border);
        transition: 0.3s;
    }

    .day-column:hover {
        background: rgba(230, 57, 70, 0.05); /* Легкий оттенок красного */
        border-color: var(--red);
    }

    .day-name {
        text-align: center;
        font-size: 12px;
        text-transform: uppercase;
        font-weight: 900;
        color: var(--red);
        margin-bottom: 20px;
        letter-spacing: 2px;
    }

    .training-item {
        background: #1a1a1a;
        padding: 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        border-left: 4px solid var(--red);
    }

    .training-time {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #888;
        margin-bottom: 5px;
    }

    .training-name {
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        color: #fff;
    }

    .training-description {
        display: block;
        font-size: 11px;
        font-weight: 700;
        color: #888;
        margin-bottom: 5px;
    }




/* Mobile tabs */

.mobile-day-selector {
    display: none;
    gap: 10px;
    overflow-x: auto;
    padding: 10px 20px 20px;
    margin-bottom: 20px;
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

@media (max-width: 768px) {
    .mobile-day-selector { display: flex; }
}

    .day-tab {
        padding: 10px 20px;
        background: #1a1a1a;
        border-radius: 50px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        border: 1px solid var(--glass-border);
        cursor: pointer;
    }

    .day-tab.active {
        background: var(--red);
        border-color: var(--red);
    }

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

    @media (max-width: 768px) {
        .mobile-day-selector { display: flex; }
        .schedule-grid { display: block; }
        .day-column { display: none; }
        .day-column.active { display: block; border: none; background: transparent; padding: 0; }
        .day-name { display: none; }
    }



/* --- COACH  SECTION ---- */

.coach-section {
    padding: 80px 0;
    background: #111; /* Nedaudz savādāks fons, lai atdalītu sadaļas */
}

.coach-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

.coach-image {
    position: relative;
    border-left: 5px solid var(--red);
}

.coach-image img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0px rgba(230, 57, 70, 0.1);
}

.coach-experience {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--red);
    color: white;
    padding: 10px 20px;
    font-weight: 900;
    text-transform: uppercase;
    transform: skewX(-10deg);
}

.coach-info h3 {
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
}

.coach-bio {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 25px;
}

.coach-stats {
    list-style: none;
    margin-bottom: 30px;
}

.coach-stats li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    color: white;
}

.coach-stats li i {
    color: var(--red);
    margin-right: 15px;
}

/* Mobilā versija */
@media (max-width: 768px) {
    .coach-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .coach-image {
        margin-bottom: 40px;
    }
    .coach-stats li {
        justify-content: center;
    }
}


/* --- Budo Veikals Styles --- */
    .shop-section {
        padding: 60px 0;
        background-color: var(--black);
    }

    .shop-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        padding: 0 10px;
    }

    .shop-container {
        overflow: hidden;
        width: 100%;
        border-radius: 40px;
    }

    .shop-track {
        display: flex;
        gap: 20px;
        transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    }

    .category-card {
        /* Расчет для 3-х колонок с учетом gap 20px */
        min-width: calc((100% - 40px) / 3);
        background: #141414;
        border-radius: 40px;
        padding: 40px 30px;
        text-align: center;
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: 0.4s;
        cursor: pointer;
        display: block;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        text-decoration: none;
        color: inherit;
    }

    .category-card:hover {
        border-color: #e63946; /* var(--red) */
        transform: translateY(-5px);
        background: #1a1a1a;
        cursor: pointer;
    }




    /* Фото как отдельный элемент */

    .category-card img {
        width: 100%;
        height: 220px;
        object-fit: contain; 
        margin-bottom: 25px;
        transition: 0.5s;
        filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
    }

    .category-card:hover img {
        transform: scale(1.08) rotate(-3deg);
    }

    .cat-info p {
        color: #e63946;
        font-weight: 800;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .cat-info h3 {
        font-size: 1.4rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: #fff;
        line-height: 1.2;
    }

    /* Кнопки навигации (внутри контейнера) */
    .shop-nav {
        background: #e63946;
        color: #fff;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: none;
        cursor: pointer;
        position: absolute;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.4);
        transition: 0.3s;
    }

    .shop-nav:hover {
        background: #fff;
        color: #e63946;
    }

    .s-prev { left: 20px; }
    .s-next { right: 20px; }

    @media (max-width: 1024px) {
        .category-card { min-width: calc((100% - 20px) / 2); }
    }

    @media (max-width: 768px) {
        .category-card { min-width: 100%; }
        .shop-nav { width: 40px; height: 40px; }
    }

/* --- Blog Layout  --- */


    .blog-magazine-grid {
        display: grid;
        grid-template-columns: 2fr 1fr; 
        gap: 20px;
        margin-bottom: 20px;
    }

    .blog-main-feature {
        position: relative;
        height: 600px; 
        border-radius: 40px;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        padding: 50px;
        border: 1px solid var(--glass-border);
    }

    .blog-side-stack {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .blog-side-item {
        position: relative;
        height: calc(300px - 10px); 
        border-radius: 30px;
        overflow: hidden;
        display: flex;
        align-items: flex-end;
        padding: 30px;
        border: 1px solid var(--glass-border);
    }

    /* Общие стили для карточек с фоном-картинкой */

    .blog-bg-card img {
        position: absolute; inset: 0; width: 100%; height: 100%; 
        object-fit: cover; z-index: -1; transition: 0.6s; opacity: 0.5;
    }
    .blog-bg-card:hover img { transform: scale(1.05); opacity: 0.7; }
    .blog-bg-card::after {
        content: ''; position: absolute; inset: 0; 
        background: linear-gradient(to top, rgba(0,0,0,0.95) 5%, transparent 80%);
        z-index: 0;
    }
    .blog-card-content { position: relative; z-index: 2; }

    /* Нижняя сетка */
    .blog-bottom-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .blog-simple-card {
        background: var(--card-bg);
        border-radius: 30px;
        padding: 30px;
        border: 1px solid var(--glass-border);
        transition: 0.3s;
    }
    .blog-simple-card:hover { border-color: var(--red); }

    /* Тексты */
    .meta-tag { font-size: 10px; font-weight: 800; text-transform: uppercase; color: var(--red); margin-bottom: 8px; display: block; }
    .blog-main-feature h2 { font-size: 2.2rem; text-transform: uppercase; line-height: 1.1; margin-bottom: 15px; }
    .blog-side-item h3 { font-size: 1.2rem; text-transform: uppercase; line-height: 1.2; }
    .blog-simple-card h4 { font-size: 1.1rem; margin-bottom: 10px; }
    .date-label { font-size: 11px; color: #666; }

    @media (max-width: 968px) {
        .blog-magazine-grid, .blog-bottom-grid { grid-template-columns: 1fr; }
        .blog-main-feature { height: 400px; padding: 30px; }
        .blog-side-item { height: 300px; }
    }


/* Описание в главном фичере блога */
.blog-main-feature p {
    color: #ccc;
    margin-bottom: 20px;
    max-width: 500px;
}

/* Текст в простых карточках блога */
.blog-simple-card p {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

/* Ссылка "Vairāk" в карточках блога */
.blog-simple-card a {
    color: var(--red);
    font-size: 12px;
    font-weight: 700;
}

/* Футер блога (кнопка "Visi raksti") */
.blog-footer {
    text-align: center;
    margin-top: 50px;
}


/* --- Google Reviews Section --- */
.reviews-section {
    padding: 120px 0;
    background: var(--black);
}

.reviews-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}


.google-rating-container img {
    width: 24px; 
    height: 24px;
}

.reviews-container {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.reviews-track {
    display: flex;
    gap: 25px;
    transition: 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.review-card {
    min-width: calc((100% - 50px) / 3); 
    background: #141414;
    border-radius: 35px;
    padding: 35px;
    border: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}

.review-card:hover {
    border-color: #4285F4; 
    background: #1a1a1a;
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: #fff;
    font-size: 18px;
}

.review-info h4 { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.review-info span { font-size: 11px; color: #666; text-transform: uppercase; letter-spacing: 1px; }

.google-icon-small { width: 18px; height: 18px; margin-left: auto; opacity: 0.8; }

.stars { color: #fbbc05; margin-bottom: 15px; font-size: 14px; letter-spacing: 2px; }

.review-text {
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
    font-style: italic;
}



/* Контейнер рейтинга Google */

.google-rating-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.google-rating-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* Цвета аватарок (по первым буквам имен) */
.avatar-red { background: #ea4335; }
.avatar-green { background: #34a853; }
.avatar-blue { background: #4285f4; }
.avatar-yellow { background: #fbbc05; }


/* Адаптивность */
@media (max-width: 1024px) {
    .review-card { min-width: calc((100% - 25px) / 2); } 
}

@media (max-width: 768px) {
    .review-card { min-width: 100%; } 
    .reviews-section { padding: 80px 0; }
}




/* Стили кнопки Наверх */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3000; 
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 5px 15px rgba(230, 57, 70, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #fff;
}

.back-to-top:hover svg {
    stroke: var(--red);
}



/* --- Footer --- */

footer { background: #050505; padding: 100px 0 0; border-top: 1px solid #111; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 50px; padding-bottom: 60px; }
.footer-col h4 { color: #fff; font-size: 13px; text-transform: uppercase; margin-bottom: 30px; border-left: 3px solid var(--red); padding-left: 15px; }
.footer-col a { display: block; color: #7d7c7c; font-size: 14px; margin-bottom: 15px; }
.footer-col a:hover { color: var(--red); transform: translateX(5px); }
.footer-col h3 { text-align:center; text-transform: uppercase;}
.social-icons { justify-content:center; }

/* Footer social icons */

.social-icons { display: flex; gap: 20px; margin-top: 10px; }
.social-icons img { width: 32px; transition: 0.3s; } 
.social-icons img:hover { transform: scale(1.1); }

/* Footer bottom line */

.footer-bottom {
    border-top: 1px solid #111;
    padding: 30px 0;
    text-align: center;
}
.footer-bottom p {
    font-size: 12px;
    color: #7d7c7c;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-bottom b { color: #adadad; }


@media (max-width: 1024px) {
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 40px; 
    }
    .category-card { 
        min-width: calc((100% - 20px) / 2); 
    }
}

@media (max-width: 768px) {
    .category-card { 
        min-width: 80%; 
    }
}

/* --- WhatsApp Floating Chat --- */
.whatsapp-chat {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Novietojam pretējā pusē BackToTop pogai */
    z-index: 2000;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.whatsapp-chat img {
    width: 35px;
    height: 35px;
}

.whatsapp-chat:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

/* Čata burbulis / Tooltip */
.chat-tooltip {
    position: absolute;
    left: 75px;
    background: #fff;
    color: #333;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

/* Tooltip bultiņa */
.chat-tooltip::before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px 5px 5px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.whatsapp-chat:hover .chat-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobilā versija - lai neaizsedz ekrānu */
@media (max-width: 768px) {
    .whatsapp-chat {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }
    .chat-tooltip {
        display: none; /* Mobilajos rīkos tooltip parasti traucē */
    }
}


/* Cookie Banner Style */



.cookie-banner.hidden {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    z-index: 9999;
    border-radius: 20px;
    display: flex; /* Kad nav hidden, rādām kā flex */
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(15px);
}


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

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    font-size: 2rem;
    color: var(--red);
}

.cookie-text h4 {
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: 900;
}

.cookie-text p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: none;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.btn-accept {
    background: var(--red);
    color: white;
}

.btn-reject {
    background: rgba(255,255,255,0.05);
    color: #ccc;
    border: 1px solid var(--glass-border);
}

.cookie-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

@media (max-width: 768px) {
    .cookie-container { flex-direction: column; text-align: center; }
    .cookie-content { flex-direction: column; }
    .cookie-actions { width: 100%; }
    .cookie-btn { flex: 1; }
}