/*
Theme Name: Atvērt Savu Gaismu
Theme URI: http://atvertsavugaismu.lv
Author: SIA Ambex
Author URI: https://ambex.lv/
Version: 1.5.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
    --primary-button-bg: #ffffff;
    --primary-button-text: #000000;
    --primary-button-hover: #dddddd;
    --text-color: #ffffff;
    --video-border-color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    overflow-x: hidden;
}

a {
	color: #c082d5;
	text-decoration: underline;
	text-decoration-color: #1e1b4b;
}

a:hover {
	color: #34315d; 
}

/* ============================================
   BOX-SIZING FIX (replaces Bootstrap normalize)
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

.site-wrapper { display:flex; flex-direction:column; min-height:100vh; }
.site-content { flex:1; }

/* ============================================
   KRIJA JOGA — video centrēšana mobilajā
   ============================================ */
.krija-video-section {
    padding-top: 6rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
#background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    z-index: -1;
}


#hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    isolation: isolate;
    color: var(--text-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 4rem 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.video-column {
    align-items: center;
    justify-content: center;
}

.text-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Fix for responsive columns */
@media (min-width: 1024px) {
    .video-wrapper {
        margin-right: 0;
        margin-left: auto;
    }
    
    /* Make both columns take equal visual space */
    .video-column,
    .text-column {
        max-width: 700px;
        margin: 0 auto;
    }
}
/* ============================================
   TOP RIGHT LOGO POSITIONING
   ============================================ */
.top-right-logo {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1000;
    pointer-events: none;
}

.top-right-logo img {
    height: 80px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s ease;
    pointer-events: auto;
}

.top-right-logo img:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .top-right-logo {
        top: 15px;
        right: 15px;
    }

    .top-right-logo img {
        height: 50px;
    }
}

/* Enhanced video wrapper */
.video-wrapper {
    width: 100%;
    max-width: 700px;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 3px solid var(--video-border-color);
    position: relative;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1.2s ease, border-color 1.2s ease;
    will-change: transform;
}

.video-wrapper:hover {
    animation-play-state: paused;
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.02);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease, border-color 0.6s ease;
    box-shadow:
        0 20px 80px rgba(255, 255, 255, 0.5),
        0 0 0 2px rgba(255, 255, 255, 0.3);
}

.video-wrapper video,
.video-wrapper iframe {
    transition: transform 0.6s ease;
}

.video-wrapper:hover video,
.video-wrapper:hover iframe {
    transform: translateZ(20px);
}

.hero-title {
    font-size: clamp(2.6rem, 6.5vw, 5rem);   /* bija clamp(2.2rem, 6vw, 3.5rem) — tagad lielāks */
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    text-wrap: balance;                       /* neļauj palikt vienam vārdam pēdējā rindā */
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

/* glow-wrapper vairs nav absolute pozicionēts, tāpēc top-offset triki vairs nav vajadzīgi */
.glow-wrapper {
    top: auto !important;
}

@media (max-width: 1024px) {
    .glow-wrapper {
        top: auto !important;
    }
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn-custom {
    background-color: #ffffff;
    color: #000000;
    padding: 0.75rem 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
    border: 2px solid #ffffff; 
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.35s ease;
}

.btn-custom:hover {
    background-color: transparent!important; 
    border-color: #ffffff;
    color: #ffffff!important;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.6); 
}
.btn-base {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 1.3rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.35s ease;
    display: inline-block;
    color: #ffffff;
}

.btn-iziet {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.35s ease;
    display: inline-block;
}

.pogu-kustiba-iziet {
    display: inline-block;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.pogu-kustiba-iziet:hover {
    transform: translateY(-3px);
	background-color: grey!important; 
}

.pogu-kustiba {
    display: inline-block!important;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1)!important;
    will-change: transform!important;
}

.pogu-kustiba:hover {
    transform: translateY(-3px)!important;
	background-color: #34315d!important; 
	color: #ffffff!important;
}

.pogu-kustiba-roza {
    display: inline-block!important;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1)!important;
    will-change: transform!important;
    color: #1e1b4b!important;
}

.pogu-kustiba-roza:hover {
    transform: translateY(-3px)!important;
	background-color: #997ca2!important; 
}
/* ============================================
   CAROUSEL
   ============================================ */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

#image-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
    mask-image: linear-gradient(to right,
            transparent,
            black 10%,
            black 90%,
            transparent);
}

.animate-scroll {
    display: flex;
    width: max-content;
    animation: scroll linear infinite;
}

#image-carousel:hover .animate-scroll {
    animation-play-state: paused;
}

.carousel-item {
    position: relative;
    width: 320px;
    height: 240px;
    flex-shrink: 0;
    margin: 0 12px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.glow-wrapper {
    position: relative;
}

.glow-wrapper .glow-pulse {
    position: absolute;
    top: 0;
    left: 0;
    filter:
        drop-shadow(0 0 20px rgba(255, 255, 255, 1.0))
        drop-shadow(0 0 40px rgba(255, 255, 255, 0.8))
        drop-shadow(0 0 60px rgba(255, 255, 255, 0.6));
    animation: pulseOpacity 3.5s ease-in-out infinite;
    will-change: opacity;
}

.glow-wrapper .glow-base {
    filter:
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.7))
        drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

@keyframes pulseOpacity {
    0%, 100% { opacity: 0.35; }
    50%      { opacity: 1; }
}

.glow-wrapper:hover .glow-pulse {
    animation-play-state: paused;
    opacity: 1;
    filter:
        drop-shadow(0 0 30px rgba(255, 255, 255, 1.0))
        drop-shadow(0 0 60px rgba(255, 255, 255, 0.8))
        drop-shadow(0 0 90px rgba(255, 255, 255, 0.6));
}

.section-reveal {
    opacity: 0;
    transform: translateY(14px);  /* bija 50px */
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children > * {
    opacity: 0;
    transform: translateY(8px);  /* bija 25px */
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.revealed > *:nth-child(1) {
    transition-delay: 0.1s;
}

.stagger-children.revealed > *:nth-child(2) {
    transition-delay: 0.2s;
}

.stagger-children.revealed > *:nth-child(3) {
    transition-delay: 0.3s;
}

.stagger-children.revealed > *:nth-child(4) {
    transition-delay: 0.4s;
}

.stagger-children.revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   IMAGE REVEAL ANIMATION
   ============================================ */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 2;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-reveal.revealed::before {
    transform: translateX(101%);
}

.image-reveal img {
    transform: scale(1.2);
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;
}

.image-reveal.revealed img {
    transform: scale(1);
}

/* Hover-zoom — pievieno TIEŠI aiz iepriekšējā noteikuma */
.image-reveal.revealed:hover img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.service-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    filter: blur(8px);          /* jaunā rinda — nomaigina asās malas */
    transition: left 0.7s;
}

.service-image-container:hover::after {
    left: 150%;
}

/* ============================================
   WAVE SECTION DIVIDERS
   ============================================ */
.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    margin-bottom: -1px;  /* Prevents gaps */
}

.wave-divider-top {
    position: absolute;
    top: 0;           /* place at the top */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    transform: rotate(180deg); /* invert the wave */
	    margin-top: -1px;
}

.wave-divider-top svg {
    display: block;
    width: 100%;
    height: 120px; /* match your viewBox height */
}

.wave-divider, .wave-divider *, .wave-divider::before, .wave-divider::after {
    border: 0 !important;  /* remove any inherited borders */
}

.wave-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 2px);  /* Extra width prevents gaps on sides */
    height: 50px;
    transform: translateZ(0);  /* Forces GPU acceleration */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .wave-divider svg {
        height: 40px;  /* Slightly shorter on mobile */
        width: calc(100% + 4px);  /* More overlap on mobile */
    }
}

@media (max-width: 480px) {
    .wave-divider svg {
        height: 30px;  /* Even shorter on very small screens */
    }
}

.wave-divider .shape-fill {
    fill: #FFFFFF;
}

.wave-divider-stone .shape-fill {
    fill: #f5f5f4;
}

.wave-divider-stone-50 .shape-fill {
    fill: #fafaf9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

#contacts a {
	text-decoration: none;
}
.contact-icon {
    transition: all 0.3s ease;
}


.premium-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    will-change: transform, box-shadow;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.premium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 60% at 50% 0%,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0.1) 40%,
            transparent 65%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.premium-card:hover::before {
    opacity: 1;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform;
    transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

.gallery-card:hover {
    transform: scale(1.015);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.16);
}

.gallery-card img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.gallery-card::after {
    content: "";
    position: absolute;
    inset: -50%;
    background: linear-gradient(120deg,
            transparent 35%,
            rgba(255, 255, 255, 0.22),
            transparent 65%);
    transform: translateX(-100%) rotate(15deg);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.gallery-card:hover::after {
    transform: translateX(100%) rotate(15deg);
}

.gallery-card h3,
.gallery-card p {
    transform: translateY(14px);
    opacity: 0;
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.4s ease;
}

.gallery-card:hover h3,
.gallery-card:hover p {
    transform: translateY(0);
    opacity: 1;
}

/* ============================================
   TELEGRAM SECTION MOBILE ADJUSTMENTS
   ============================================ */
@media (max-width: 1150px) {
    #telegram-section .section-reveal {
        flex-direction: column !important;
        align-items: center !important;
    }

    #telegram-section .flex.flex-col.gap-2 {
        width: 100%;
        align-items: center;
    }

    #telegram-section .btn-base {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}

/* Scale down the oversized heading on tablets/mobile */
@media (max-width: 1023px) {
    #telegram-section span[style*="font-size: 110px"] {
        font-size: clamp(42px, 10vw, 80px) !important;
    }

    #telegram-section span[style*="margin-top: 100px"] {
        font-size: clamp(18px, 4vw, 30px) !important;
        margin-top: 16px !important;
    }
}

/* Telegram overlay logo - prevent overflow on small/mid screens */
@media (max-width: 1150px) {
    #telegram-section .telegram-icon-wrapper {
        margin-bottom: 1.5rem;
    }

    #telegram-section .telegram-icon-wrapper .-bottom-6.-right-6 {
        bottom: -0.75rem !important;
        right: -0.75rem !important;
        width: 3.5rem !important;
        height: 3.5rem !important;
    }
}

@media (max-width: 480px) {
    #telegram-section .telegram-icon-wrapper .-bottom-6.-right-6 {
        bottom: -0.5rem !important;
        right: -0.5rem !important;
        width: 3rem !important;
        height: 3rem !important;
    }
}

@media (max-width: 1023px) {
    #contacts .wpcf7-form p:has(.wpcf7-submit) {
        text-align: center !important;
    }

    #contacts .wpcf7-form .wpcf7-submit,
    #contacts .wpcf7-form input[type="submit"] {
        display: inline-block !important;
        margin: 0 auto !important;
    }
}

/* ============================================
   MOBILE RESPONSIVE - ALL SECTIONS
   ============================================ */

/* Services Sections */
@media (max-width: 767px) {
    /* Services layout */
    #services section .flex.flex-col.md\:flex-row {
        gap: 2rem;
    }
    
    /* Service images */
    #services .service-image-container {
        height: 240px;
    }
    
    /* Service text */
    #services .service-text {
        text-align: center;
    }
    
    #services .service-text h2 {
        font-size: 1.75rem;
    }
    
    #services .service-text p {
        font-size: 1rem;
    }
    
    /* Center the accent line */
    #services .service-text .w-20 {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Center buttons on mobile */
    #services .flex.justify-end {
        justify-content: center;
    }
    
    /* Sakralie section */
    .text-center.mb-12 h2 {
        font-size: 1.75rem;
    }
    
    .text-center.mb-12 p {
        font-size: 0.95rem;
    }
}

#contacts .wpcf7-form .cf7-submit-center .wpcf7-spinner {
    position: absolute;
}

/* Contacts Section - sociālo ikonu kartes centrēšana plašākā breakpointā */
@media (max-width: 1023px) {
    #contacts .flex.flex-col.gap-5 {
        align-items: center;
    }

    #contacts .inline-flex.items-center {
        max-width: 100%;
        margin-left: 0 !important;
        width: 100%;
    }
}

/* Contacts Section */
@media (max-width: 767px) {
    #contacts h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    #contacts .w-20 {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Contact links */
    #contacts .flex.flex-col.gap-5 {
        align-items: center;
    }
    
    #contacts .inline-flex.items-center {
        max-width: 100%;
        margin-left: 0;
    }
    
    /* Contact form */
    #contacts .bg-stone-50 {
        padding: 1.5rem;
    }
}

/* Button Responsive Styles */
@media (max-width: 767px) {
    .btn-base,
    .btn-custom {
        font-size: 1rem;
        padding: 0.625rem 1.25rem;
        width: auto;
        min-width: 140px;
        text-align: center;
    }
    
    /* Ensure buttons stay centered */
    .pogu-kustiba {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .btn-base,
    .btn-custom {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
        min-width: 120px;
    }
}

/* Additional padding adjustments for sections */
@media (max-width: 767px) {
    section.py-16 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Contact icon cards - make them stack better on mobile */
@media (max-width: 767px) {
    #contacts .inline-flex.items-center {
        padding: 0.75rem;
        gap: 1rem;
    }
    
    #contacts .contact-icon {
        width: 3rem;
        height: 3rem;
    }
    
    #contacts .contact-icon i,
    #contacts .contact-icon svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    #contacts .inline-flex div p.text-lg {
        font-size: 1rem;
    }
}

/* ============================================
   CAROUSEL MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 767px) {
    /* Carousel container */
    #image-carousel {
        height: auto;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        box-shadow: none;
    }
    
    /* Carousel items */
    .carousel-item,
    .relative.w-72.h-56 {
        width: 220px !important;
        height: 165px !important;
        margin: 0 8px;
    }
    
    /* Remove rounded corners on very small screens for full width effect */
    .carousel-item {
        border-radius: 12px;
    }
    
    /* Adjust gradient overlays */
    #image-carousel .absolute.top-0.left-0,
    #image-carousel .absolute.top-0.right-0 {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .carousel-item,
    .relative.w-72.h-56 {
        width: 180px !important;
        height: 135px !important;
        margin: 0 6px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .carousel-item,
    .relative.w-72.h-56 {
        width: 160px !important;
        height: 120px !important;
        margin: 0 6px;
    }
    
    #image-carousel .absolute.top-0.left-0,
    #image-carousel .absolute.top-0.right-0 {
        width: 30px;
    }
}

/* Tablets */
@media (min-width: 640px) and (max-width: 767px) {
    #image-carousel {
        max-width: 600px;
        height: auto;
    }
    
    .carousel-item,
    .relative.w-72.h-56 {
        width: 260px !important;
        height: 195px !important;
    }
}

/* Responsive main page logo */
.hero-logo {
  max-height: 400px;
}

/* Sekciju backgrounds */
/* Vitalitāte sekcija */
#background-vitalitate {
    position: absolute;
    inset: 0;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/18f1f75b-561f-4a30-9834-78d3611ed6a3-scaled.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

#background-vitalitate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

#courses-viewport,
#maratoni-viewport {
    padding: 0 4px;
    box-sizing: border-box;
}

#sacral {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

#sacral::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

#contact-vitalitate > * {
    position: relative;
    z-index: 1;
}

#contact-vitalitate {
    position: relative;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/06/From-tree-to-health-support-uncovering-the-benefits-of-olives-olive-leaf-and-olive-oil-1.jpg'); 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#contact-vitalitate::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}

#olife-divider-wrap > * {
    position: relative;
    z-index: 1;
}

#olife-divider-wrap {
    position: relative;
    background-color: #f6f7f1; 
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#olife-divider-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
}
	
.testimonial-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.testimonial-card:hover {
    transform: scale(1.02) translateY(-5px);
}

	#telegram-subscriptions {
		background-position: center -60px; 
		background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M81.28 88H68.413l19.298 19.298L81.28 88zm2.107 0h13.226L90 107.838 83.387 88zm15.334 0h12.866l-19.298 19.298L98.72 88zm-32.927-2.207L73.586 78h32.827l.5.5 7.294 7.293L115.414 87l-24.707 24.707-.707.707L64.586 87l1.207-1.207zm2.62.207L74 80.414 79.586 86H68.414zm16 0L90 80.414 95.586 86H84.414zm16 0L106 80.414 111.586 86h-11.172zm-8-6h11.173L98 85.586 92.414 80zM82 85.586L87.586 80H76.414L82 85.586zM17.414 0L.707 16.707 0 17.414V0h17.414zM4.28 0L0 12.838V0h4.28zm10.306 0L2.288 12.298 6.388 0h8.198zM180 17.414L162.586 0H180v17.414zM165.414 0l12.298 12.298L173.612 0h-8.198zM180 12.838L175.72 0H180v12.838zM0 163h16.413l.5.5 7.294 7.293L25.414 172l-8 8H0v-17zm0 10h6.613l-2.334 7H0v-7zm14.586 7l7-7H8.72l-2.333 7h8.2zM0 165.414L5.586 171H0v-5.586zM10.414 171L16 165.414 21.586 171H10.414zm-8-6h11.172L8 170.586 2.414 165zM180 163h-16.413l-7.794 7.793-1.207 1.207 8 8H180v-17zm-14.586 17l-7-7h12.865l2.333 7h-8.2zM180 173h-6.613l2.334 7H180v-7zm-21.586-2l5.586-5.586 5.586 5.586h-11.172zM180 165.414L174.414 171H180v-5.586zm-8 5.172l5.586-5.586h-11.172l5.586 5.586zM152.933 25.653l1.414 1.414-33.94 33.942-1.416-1.416 33.943-33.94zm1.414 127.28l-1.414 1.414-33.942-33.94 1.416-1.416 33.94 33.943zm-127.28 1.414l-1.414-1.414 33.94-33.942 1.416 1.416-33.943 33.94zm-1.414-127.28l1.414-1.414 33.942 33.94-1.416 1.416-33.94-33.943zM0 85c2.21 0 4 1.79 4 4s-1.79 4-4 4v-8zm180 0c-2.21 0-4 1.79-4 4s1.79 4 4 4v-8zM94 0c0 2.21-1.79 4-4 4s-4-1.79-4-4h8zm0 180c0-2.21-1.79-4-4-4s-4 1.79-4 4h8z' fill='%23a080d3' fill-opacity='0.10' fill-rule='evenodd'/%3E%3C/svg%3E");
	}
/* Telegram backgroundi */
#background-telegram {
    position: absolute;
    inset: 0;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/blue-crystal-mineral-stone-gems-600nw-2412894615.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

#background-telegram::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.4);
    z-index: 0;
}

#manage-subscription {
    position: relative;
    background-image: url('https://images.pexels.com/photos/3725743/pexels-photo-3725743.jpeg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#manage-subscription::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 0;
}

#manage-subscription>* {
    position: relative;
    z-index: 1;
}

#donate {
    position: relative;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/01/kristali-1.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

#donate::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

#donate>* {
    position: relative;
    z-index: 1;
}
	
@keyframes crystal-spin {
    0%   { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.crystal-border-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 2px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.crystal-border-wrapper:hover {
    transform: translateY(-4px) scale(1.005);
    box-shadow: 0 16px 40px rgba(160, 128, 211, 0.25);
}

.crystal-border-wrapper:hover::before {
    animation: crystal-spin 2s linear infinite;
}

.crystal-border-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 600%;
    background: conic-gradient(
        #ff9de2 0deg,
        #c8b3d0 40deg,
        #a8c8e8 80deg,
        #90e0ef 120deg,
        #a0c4ff 160deg,
        #e8c8f8 200deg,
        #ffb3c6 240deg,
        #d8b8f8 280deg,
        #c8b3d0 320deg,
        #ff9de2 360deg
    );
    animation: crystal-spin 6s linear infinite;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.crystal-border-wrapper .premium-card {
    position: relative;
    z-index: 1;
    border: none !important;
    border-radius: 22px !important;
    transform: none !important;
    box-shadow: none !important;
    transition: none !important;
    will-change: unset !important;
}

.crystal-border-wrapper .premium-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

.crystal-border-wrapper .premium-card::before,
.crystal-border-wrapper .premium-card::after {
    display: none !important;
}

/* Sakrālie backgrounds */
 #atsauksmes-sakralie {
     position: relative;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/timrael-hot-air-balloons-4561267_1920.webp');
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }

 #atsauksmes-sakralie::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-sakralie>* {
     position: relative;
     z-index: 1;
 }
	
#background-sakralie {
    position: absolute;
    inset: 0;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/pexels-fotios-photos-691858-scaled.jpg'); 
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    z-index: -1;
}

#background-sakralie::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    z-index: 0;
}

/* Par mums */
.flex-grow {
    font-family: Georgia, 'Times New Roman', serif;
}

.video-background iframe, 
section.relative video {
    filter: saturate(1) !important; 
    -webkit-filter: saturate(1) !important;
}

@media (min-width: 1536px) {
    .container {
        max-width: 1800px;
    }
}

.group {
    border: none;
    box-shadow: 0 0 0 1px rgba(30, 27, 75, 0.42); 
    border-radius: 1.5rem;
}

.group:hover {
    border: none; 
    box-shadow: 0 0 0 1px rgba(30, 27, 75, 0.42);
    border-radius: 1.5rem;
}

.sacral-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.85rem 0;
    color: #1e1b4b;
}

.sacral-divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0.45;
}

.sacral-divider-svg {
    flex-shrink: 0;
    opacity: 0.7;
}

@keyframes b1 {
    0%,100% { transform: translate(0px, 0px) scale(1); }
    25%  { transform: translate(80px, -60px) scale(1.12); }
    50%  { transform: translate(50px, 80px) scale(0.92); }
    75%  { transform: translate(-70px, 40px) scale(1.08); }
}
@keyframes b2 {
    0%,100% { transform: translate(0px, 0px) scale(1); }
    25%  { transform: translate(-80px, 50px) scale(1.1); }
    50%  { transform: translate(60px, -70px) scale(0.9); }
    75%  { transform: translate(70px, 60px) scale(1.12); }
}
@keyframes b3 {
    0%,100% { transform: translate(0px, 0px) scale(1); }
    25%  { transform: translate(60px, 70px) scale(1.1); }
    50%  { transform: translate(-80px, 50px) scale(0.93); }
    75%  { transform: translate(-50px, -70px) scale(1.07); }
}
@keyframes twinkle {
    0%,100% { opacity:0.2; transform:scale(1); }
    50% { opacity:1; transform:scale(2.5); }
}

/* Maratoni / Kursi sekcija */
 #background-maratoni {
     position: absolute;
     inset: 0;
       background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/01/kalns.jpg'); 
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     z-index: -1;
     filter: saturate(1.8);
 }

 #background-maratoni::before {
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0, 0, 0, 0.3);
     z-index: 0;
 }

  #atsauksmes-maratoni {
     position: relative;
     background-image: url('https://images.pexels.com/photos/994605/pexels-photo-994605.jpeg'); 
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }

 #atsauksmes-maratoni::before {
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(255, 255, 255, 0.2);
     z-index: 0;
 }

 #atsauksmes-maratoni>* {
     position: relative;
     z-index: 1;
 }
	
/* Krija joga sekcija */         
 #background-krija {
     position: absolute;
     inset: 0;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/03/5857256535073950931_2026-03-06_09_33_37.907266.jpg-1-1.webp'); 
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     z-index: -1;
 }

@media (max-width: 767px) and (orientation: portrait) {
    #background-krija {
        background-position: left center;
    }
}

#background-krija::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);   /* pievienota rinda */
    z-index: 0;
}

 #atsauksmes-krija {
     position: relative;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/01/yoga-2.png'); 
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }

 #atsauksmes-krija::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-krija > * {
     position: relative;
     z-index: 1;
 }

 .krija-hero-section {
    isolation: isolate;
}

body.page-template-page-template-krija-joga {
    background-color: white;
}

/* Klātienes pasākumi sekcija */
 #background-klatiene {
     position: absolute;
     inset: 0;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/01/5.jpg');
     background-size: cover;
     background-position: center;
     background-repeat: no-repeat;
     z-index: -1;
 }

 #background-klatiene::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-klatiene {
     position: relative;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/Close-up-of-Beautiful-Candles-with-Spring-Blooming-Twigs.-Edited-scaled.png');
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }

 #atsauksmes-klatiene::before {
     content: "";
     position: absolute;
	   background: rgba(255, 255, 255, 0);
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-klatiene>* {
     position: relative;
     z-index: 1;
 }

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width: 991.98px) {
    .parallax-bg {
        background-attachment: scroll;
    }
}

 /* ============================================
   KLĀTIENES INTRO — KRĀSAS MAIŅA, KAD KOLONNA SAKĻAUJAS VERTIKĀLI
   ============================================ */
@media (max-width: 767px) {
    .klatienes-intro-title,
    .klatienes-intro-title span.text-custom-accent {
        color: var(--text-virsraksts, #1e1b4b) !important;
    }

    .klatienes-intro-text {
        color: var(--text-paragrafs, #000000) !important;
    }

    #background-klatiene::before {
     content: "";
     position: absolute;
     inset: 0;
       background: rgba(255, 255, 255, 0.2);
     z-index: 0;
 }
}


/* Individuālie seansi sekcija */
 #background-individualie {
     position: absolute;
     inset: 0;
      background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/03/Untitled-1-1.webp'); 
     background-size: cover;
     background-position: top;
     background-repeat: no-repeat;
     z-index: -1;
 }

  #background-individualie::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }
	
	  #atsauksmes-individualie {
     position: relative;
     background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/01/spare.jpeg');
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }
	
	 #atsauksmes-individualie::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-individualie>* {
     position: relative;
     z-index: 1;
 }

/* Dubultie seansi sekcija */
#background-dubultie {
    position: absolute;
    inset: 0;
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/2026/02/pexels-david-bartus-43782-714918-scaled.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

#background-dubultie::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 0;
}

	
  #atsauksmes-dubultie {
     position: relative;
     background-image: url('https://images.pexels.com/photos/807598/pexels-photo-807598.jpeg');
     background-size: cover;
     background-position: center;
     overflow: hidden;
 }
	
 #atsauksmes-dubultie::before {
     content: "";
     position: absolute;
     inset: 0;
     z-index: 0;
 }

 #atsauksmes-dubultie>* {
     position: relative;
     z-index: 1;
 }

.grecaptcha-badge {
	display: none!important;
}

/* ============================================
   TELEGRAM ABONEMENTS RESPONSIVE
   ============================================ */
@media (max-width: 767px) {

    /* Galvenā karte */
    #telegram-subscriptions .crystal-border-wrapper {
        padding: 3px;
    }

    #telegram-subscriptions .premium-card .p-12,
    #telegram-subscriptions .premium-card .p-16 {
        padding: 1.5rem !important;
    }

    /* Galvenais flex — kol uz rindu */
    #telegram-subscriptions .flex.flex-col.md\:flex-row.md\:items-stretch {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* Cenas kolonna — noņem labās apmales līniju */
    #telegram-subscriptions .md\:min-w-\[240px\] {
        min-width: unset !important;
        padding-right: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(30, 27, 75, 0.1);
        padding-bottom: 1.5rem;
        align-items: center;
        text-align: center;
    }

    /* Cenas teksts mazāks */
    #telegram-subscriptions .text-5xl {
        font-size: 3rem !important;
    }

    #telegram-subscriptions .text-6xl,
    #telegram-subscriptions .text-7xl {
        font-size: 3.5rem !important;
    }

    /* Features + poga — kol */
    #telegram-subscriptions .flex.flex-col.md\:flex-row.md\:items-center {
        flex-direction: column !important;
        gap: 1.5rem !important;
    }

    /* Poga — pilns platums */
    #telegram-subscriptions .md\:min-w-\[220px\] {
        min-width: unset !important;
        width: 100%;
        align-items: center !important;
    }

    #telegram-subscriptions .btn-base {
        width: 100% !important;
        text-align: center !important;
        font-size: 1rem !important;
    }

    /* Mazais teksts zem pogas */
    #telegram-subscriptions .text-stone-400 {
        text-align: center !important;
        max-width: unset !important;
    }
}

@media (max-width: 480px) {
    #telegram-subscriptions .premium-card .p-12,
    #telegram-subscriptions .premium-card .p-16 {
        padding: 1.25rem !important;
    }

    #telegram-subscriptions .text-5xl {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 1024px) {
    #telegram-subscriptions .flex.flex-col.md\:flex-row.md\:items-center {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 1.5rem !important;
    }

    #telegram-subscriptions .md\:min-w-\[220px\] {
        min-width: unset !important;
        width: 100%;
        align-items: center !important;
    }

    #telegram-subscriptions .btn-base {
        width: 100% !important;
        text-align: center !important;
    }

    #telegram-subscriptions .text-stone-400 {
        text-align: center !important;
        max-width: unset !important;
    }
}

/*
 * Responsive Styles — Atvērt Savu Gaismu
 * Mobile-first overrides, supplements style.css
 * Enqueue after style.css in functions.php
 */

/* ============================================
   BASE — GLOBAL OVERFLOW / FONT FIXES
   ============================================ */
body,
.site-wrapper,
#tw-scope {
    overflow-x: hidden;
    max-width: 100vw;
}

img,
video,
iframe {
    max-width: 100%;
}

/* ============================================
   HERO — GALVENĀ LAPA
   ============================================ */
@media (max-width: 1023px) {
    .hero-content {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.8rem);
        text-align: center;
    }

    /* Video un teksts — kol vertikāli */
    .video-column,
    .text-column {
        max-width: 100%;
        margin: 0 auto;
    }

    .video-wrapper {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    #destinations {
        padding-top: 6rem;
    }
}

@media (max-width: 767px) {
    #hero-section {
        min-height: 100svh; /* Safe viewport height on mobile */
    }

    .hero-title {
         font-size: clamp(2.2rem, 8vw, 3rem);
    }

        .hero-logo {
        max-height: 220px;
    }

    /* Disable 3D tilt on mobile — izslēdz 3D efektu uz touch */
    .video-wrapper {
        transform: none !important;
        transition: box-shadow 0.4s ease !important;
    }

    .video-wrapper:hover {
        transform: scale(1.01) !important;
    }
}

/* ============================================
   APAKŠLAPU INTRO SEKCIJAS (#intro)
   Visas lapas: individuālie, dubultie, klātienes, utt.
   ============================================ */
@media (max-width: 640px) {
    /* Samazina lielās padding vērtības uz xs ekrāniem */
    section#intro.pt-24,
    section#intro {
        padding-top: 5rem !important;
        padding-bottom: 4rem !important;
        min-height: auto !important;
    }
}

@media (max-width: 767px) {
    /* Video + teksts — stacks vertikāli (Tailwind to dara ar flex-col,
       bet padding vajag manuāli koriģēt) */
    section#intro .flex.flex-col.md\:flex-row {
        gap: 1.5rem;
    }

    /* Mazāks virsraksts apakšlapās */
    section#intro h1 {
        font-size: clamp(1.7rem, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    section#intro .aspect-video {
        border-radius: 1rem;
    }
}

/* ============================================
   PAR MUMS — BLOB SEKCIJA
   clip-path paliek aktīvs — tas ir vilnis!
   Koriģē tikai negatīvo margin, kas pārāk liels uz mobile
   ============================================ */
@media (max-width: 1023px) {
    /* Samazina negatīvo overlap — 250px ir par daudz uz tablet */
    section[style*="clip-path:url(#blob-wave)"],
    section[style*="clip-path: url(#blob-wave)"] {
        margin-top: -120px !important;
        padding-top: calc(3rem + 120px) !important;
    }

    /* Dekoratīvie blobs — samazina skaitu/opacity uz maziem ekrāniem */
    section[style*="clip-path"] > div[style*="position:absolute"] {
        opacity: 0.7;
    }
}

@media (max-width: 767px) {
    section[style*="clip-path:url(#blob-wave)"],
    section[style*="clip-path: url(#blob-wave)"] {
        margin-top: 0 !important;
        padding-top: 7rem !important;
    }
}

@media (max-width: 767px) {
    /* Par mums — 3 kolonnu grid uz 1 */
    .grid.grid-cols-1.lg\:grid-cols-\[0\.9fr_1fr_1\.1fr\] {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.5rem !important;
    }

    /* Attēla kolonna — centrē */
    .sacral-card {
        max-width: 320px;
        margin: 0 auto;
    }

    .sacral-name {
        font-size: 1.5rem;
    }

    /* Teksta kolonna — nav vajadzīgs liel padding */
    .grid.grid-cols-1.lg\:grid-cols-\[0\.9fr_1fr_1\.1fr\] > div.px-2 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* ============================================
   WAVE DIVIDER — NOVĒRŠ REDZAMU SPRAUGU
   ============================================ */
.wave-divider,
.wave-divider-top {
    pointer-events: none;
}

/* Novērš baltu spraugu starp wave un nākamo sekciju */
.wave-divider svg,
.wave-divider-top svg {
    display: block;
}

@media (max-width: 480px) {
    .wave-divider svg {
        height: 28px;
    }

    .wave-divider-top svg {
        height: 28px;
    }
}

/* ============================================
   GALLERY SECTION (gallery-section.php)
   ============================================ */
.carousel-viewport {
    overflow: hidden;
}

@media (max-width: 640px) {
    .carousel-card {
        width: 200px !important;
        height: 140px !important;
        margin: 0 6px !important;
    }

    /* Galerija virsraksts */
    section.py-16 .text-center.mb-12 h2,
    section.py-16 h2.text-3xl {
        font-size: 1.5rem;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .carousel-card {
        width: 260px !important;
        height: 180px !important;
    }
}

/* ============================================
   ATSAUKSMES (testimonials) — template-parts/atsauksmes.php
   ============================================ */

/* Bultiņas — centrē vertikāli */
#testimonial-prev,
#testimonial-next {
    align-self: center;
    flex-shrink: 0;
}

@media (max-width: 639px) {
    /* Bultiņas — samazina uz ļoti maziem ekrāniem */
    #testimonial-prev,
    #testimonial-next {
        width: 2rem;
        height: 2rem;
        min-width: 2rem;
    }

    #testimonial-prev svg,
    #testimonial-next svg {
        width: 1rem;
        height: 1rem;
    }

    /* Karte — pilns platums */
    #destinations-track .testimonial-card {
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    /* Testimonial teksts — mazāks scrollbox */
    .testimonial-text-wrap {
        max-height: 7rem !important;
    }

    section:has(#destinations-track) .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media (max-width: 639px) {
    /* Mazina grid kolonnu platumu atbilstoši samazinātajām bultiņām */
    .grid.grid-cols-\[64px_1fr_64px\] {
        grid-template-columns: 2.5rem 1fr 2.5rem !important;
        gap: 0.5rem !important;
        padding: 0 0.75rem;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-\[64px_1fr_64px\] {
        grid-template-columns: 2rem 1fr 2rem !important;
        gap: 0.4rem !important;
        padding: 0 0.5rem;
    }

    #testimonial-prev,
    #testimonial-next {
        width: 1.75rem;
        height: 1.75rem;
        min-width: 1.75rem;
    }

    #testimonial-prev svg,
    #testimonial-next svg {
        width: 0.875rem;
        height: 0.875rem;
    }
}

/* ============================================
   SAKRĀLIE CEĻOJUMI — destinations + gallery modal
   ============================================ */

/* Destinations track — fiksēts augstums mobilajā */
@media (max-width: 767px) {
    #celojumi-track {
        height: auto !important;
    }

    #celojumi-track > div {
        padding: 0.75rem !important;
    }

    /* Valstu grid — 2 kolonnas uz mobile */
    #celojumi-track .grid.grid-cols-1.sm\:grid-cols-2.lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    /* Ceļojumu saraksts aside — atceļ fiksēto augstumu */
    #dates {
        height: auto !important;
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    /* Valstu grid — 1 kolonna uz ļoti maziem ekrāniem */
    #celojumi-track .grid {
        grid-template-columns: 1fr !important;
    }
}

/* Gallery Modal — mobile */
@media (max-width: 767px) {
    /* Modālis aizpilda ekrānu */
    [id^="gallery-"] > div {
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 1rem !important;
        padding: 1rem !important;
        max-height: 92vh !important;
        margin: 1rem !important;
    }

    /* Bultiņas — paslēptas uz ļoti maziem ekrāniem, tā vietā swipe */
    .gallery-prev,
    .gallery-next {
        display: none !important;
    }

    /* Galvenais attēls — samazina augstumu */
    .gallery-main-image {
        max-height: 45vh !important;
        border-radius: 1rem !important;
    }

    /* Sīkattēlu josla — mazāki */
    .gallery-thumbs img {
        height: 3.5rem !important;
        width: 5.5rem !important;
    }

    /* Aizvērt poga — labāka pozīcija */
    [id^="gallery-"] .sticky.top-2.float-right {
        position: sticky !important;
        top: 0.5rem !important;
        float: right !important;
    }
}

/* ============================================
   TELEGRAM ABONĒŠANA + MANAGE SECTION
   ============================================ */
@media (max-width: 767px) {
    /* Manage subscription karte */
    #manage-subscription .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Donation forma */
    #donate .max-w-3xl {
        padding: 1.5rem !important;
    }

    /* Auth sekcija */
    #auth .max-w-4xl {
        padding: 1.5rem !important;
    }

    /* Iziet/Doties pogas */
    #auth .flex.flex-col.sm\:flex-row {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    #auth .btn-base,
    #auth .btn-iziet {
        text-align: center !important;
    }
}

/* ============================================
   VISPĀRĪGI — SEKCIJU VIRSRAKSTI MOBILAJĀ
   ============================================ */
@media (max-width: 767px) {
    /* Apakšlapu galvenie virsraksti */
    h1.text-4xl,
    h1.text-3xl {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        word-break: break-word;
    }

    h2.text-3xl,
    h2.text-2xl {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    /* Accent underlīnija — nodrošina pareizu pozicionēšanu, centrēta */
    h1.relative > span.absolute,
    h2.relative > span.absolute {
        position: static !important;
        display: block !important;
        margin: 1.25rem auto 0 !important;
    }
}

/* ============================================
   CONTACT FORMAS — APAKŠLAPU SEKCIJAS
   ============================================ */
@media (max-width: 767px) {
    /* Formu konteineri */
    .bg-stone-50.rounded-3xl.p-8,
    .bg-stone-50.rounded-3xl.p-10 {
        padding: 1.25rem !important;
        border-radius: 1.25rem !important;
    }

    /* Konta pārvaldības pogas */
    .woocommerce .woocommerce-MyAccount-content .button {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
}

/* ============================================
   WOOCOMMERCE — MY ACCOUNT MOBILAJĀ
   ============================================ */
@media (max-width: 767px) {
    /* Nav josla vertikāli */
    .woocommerce-MyAccount-navigation,
    .woocommerce .woocommerce-MyAccount-navigation {
        margin-bottom: 1rem;
    }

    /* Saturs — mazāks padding */
    .woocommerce .woocommerce-MyAccount-content {
        padding: 1.25rem !important;
    }

    /* Adreses bloks */
    .woocommerce-account .addresses .col-1,
    .woocommerce-account .addresses .col-2 {
        float: none !important;
        width: 100% !important;
    }
}

/* ============================================
   SACRAL DIVIDER — MOBILAJĀ CENTRĒ
   ============================================ */
@media (max-width: 767px) {
    .sacral-divider {
        margin: 0.5rem 0;
    }
}

/* ============================================
   FOOTER
   ============================================ */
@media (max-width: 480px) {
    footer.py-6 .container {
        gap: 0.5rem;
    }

    footer .footer-logo img {
        max-height: 60px !important;
        width: 50px !important;
    }

    footer p.text-white {
        font-size: 0.75rem;
        text-align: center;
    }
}

/* ============================================
   PREMIUM CARD / CRYSTAL BORDER — EXTRA SMALL
   ============================================ */
@media (max-width: 360px) {
    .crystal-border-wrapper {
        padding: 2px !important;
    }

    .crystal-border-wrapper .premium-card {
        border-radius: 18px !important;
    }

    #telegram-subscriptions .text-5xl {
        font-size: 2rem !important;
    }
}
/* ============================================
   LANDSCAPE MOBILE — HORIZONTĀLĀ ORIENTĀCIJA
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    #hero-section {
        min-height: auto;
    }

    .hero-content {
        padding: 1rem;
    }

    section#intro {
        padding-top: 4rem !important;
        padding-bottom: 3rem !important;
        min-height: auto !important;
    }
}

/* ============================================
   PRINT — TIKAI TEKSTS, BEZ ANIMĀCIJĀM
   ============================================ */
@media print {
    .wave-divider,
    .wave-divider-top,
    #image-carousel,
    .carousel-viewport,
    .top-right-logo,
    .animate-scroll {
        display: none !important;
    }

    .section-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* 1. Definējam krāsu visiem ekrāniem (desktopam) */
.individualais-virsraksts {
    color: #1e1b4b !important; /* Šeit ieraksti savu 'text-virsraksts' krāsas kodu */
}

/* 2. Tikai mobilajiem (līdz 767px) nomainām uz akcentu */
@media (max-width: 767px) {
    .individualais-virsraksts {
        color: #c8b3d0 !important; /* Šeit ieraksti savu 'text-custom-accent' krāsas kodu */
    }
}

	.wp-core-ui .button .dashicons,
	.wp-core-ui .button-primary .dashicons,
	.wp-core-ui .button-secondary .dashicons {
		line-height: 1!important;
	}

    .wp-core-ui .button .dashicons,
.wp-core-ui .button-primary .dashicons,
.wp-core-ui .button-secondary .dashicons {
	line-height: 1!important;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
#scroll-top-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    transform: translateZ(0);
    will-change: transform;
    cursor: pointer;
    background: #1e1b4b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(16px);
    pointer-events: none;
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.35s ease,
        background 0.35s ease;
}

#scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

#scroll-top-btn:hover {
    transform: translateY(-4px);
    background: #34315d;
}

#scroll-top-btn:active {
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    #scroll-top-btn {
        bottom: 6px;
        right: 16px;
        width: 42px;
        height: 42px;
    }
}

/* Konteiners, kas palīdz nopozicionēt pogu lapas saturā */
.static-btn-container {
    position: absolute;
    top: 50px;
    left: 20px;
    padding: 0;
    display: inline-block;
    z-index: 10;
}

#custom-left-btn-static {
    position: relative; 
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    cursor: pointer;
    background: #1e1b4b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        opacity 0.35s ease,
        transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.35s ease,
        background 0.35s ease;
}

#custom-left-btn-static:hover {
    transform: translateX(-4px);
    background: #34315d;
}

#custom-left-btn-static:active {
    transform: translateX(-2px);
}

@media (max-width: 767px) {
    #custom-left-btn-static {
        width: 42px;
        height: 42px;
    }
}

/* Desktop — dziļais vilnis */
section[style*="clip-path:url(#blob-wave)"],
section[style*="clip-path: url(#blob-wave)"] {
    clip-path: url(#blob-wave) !important;
}

/* Mobile — blob izslēgts, izmanto standarta wave-divider tā vietā */
@media (max-width: 767px) {
    section[style*="clip-path:url(#blob-wave)"],
    section[style*="clip-path: url(#blob-wave)"] {
        clip-path: none !important;
    }
}

.woocommerce .columns-4 {
    display:none;
}

input[type=checkbox]:checked {
    background: black!important;
}

input[type=checkbox] {
    accent-color: #1e1b4b!important;
}

@media (max-width: 767px) {
    #destinations .static-btn-container {
        position: fixed;
        top: 80px;
        left: 12px;
        z-index: 9999;
    }
}

/* ============================================
   OLIFE SADAĻA
   ============================================ */

.olife-card-wrap {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateZ(0); /* piespiež pašu elementu, ne tā robežas, kustēties */
}

.olife-card-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.olife-img-box {
    position: relative;
    overflow: hidden;
    height: 20rem;
    width: 100%;
}

.olife-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.olife-card-wrap:hover .olife-img-box img {
    transform: scale(1.05);
}

.olife-img-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
    pointer-events: none;
}

.olife-card-wrap:hover .olife-img-box::after {
    left: 150%;
}

/* ============================================
   OLIFE PIRMĀ RINDA — PORTRETA ATTĒLS RESPONSIVE
   ============================================ */
@media (max-width: 767px) {
    #olife-section .olife-portrait-wrap {
        width: 100% !important;
    }
    #olife-section .olife-portrait-wrap .olife-img-box {
        height: 24rem !important;
    }
}

@media (max-width: 480px) {
    #olife-section .olife-portrait-wrap .olife-img-box {
        height: 18rem !important;
    }
}

@media (max-width: 360px) {
    #olife-section .olife-portrait-wrap .olife-img-box {
        height: 14rem !important;
    }
}

/* ============================================
   PAR MUMS — BACK POGA, RESPONSĪVS IZVIETOJUMS
   ============================================ */
.static-btn-container {
    position: absolute;
    top: 50px;
    left: 20px;
    z-index: 10;
}

@media (max-width: 1023px) {
    .static-btn-container {
        position: fixed;
        top: 80px;
        left: 12px;
        z-index: 9999;
    }
}

@media (max-width: 480px) {
    .static-btn-container {
        top: 70px;
        left: 10px;
    }
}
/* ============================================
   PAR MUMS — BLOB ANIMĀCIJU SAMAZINĀŠANA MOBILAJĀ
   ============================================ */
@media (max-width: 1023px) {
    section[style*="clip-path:url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"],
    section[style*="clip-path: url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"] {
        transform: scale(0.55) !important;
        opacity: 0.5 !important;
    }
}

@media (max-width: 767px) {
    section[style*="clip-path:url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"],
    section[style*="clip-path: url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"] {
        transform: scale(0.4) !important;
        opacity: 0.35 !important;
    }

    /* Atslēdz animāciju zemas veiktspējas ierīcēm, lai nenosēžas scroll */
    section[style*="clip-path:url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"],
    section[style*="clip-path: url(#blob-wave)"] > div[style*="position:absolute"] > div[style*="border-radius:50%"] {
        animation-duration: 25s !important;
    }
}

/* ============================================
   PAR MUMS — ATSTARPE STARP VIDEO, MAZĀKA MOBILAJĀ
   ============================================ */
@media (max-width: 767px) {
    section[style*="clip-path:url(#blob-wave)"] p.mb-40,
    section[style*="clip-path: url(#blob-wave)"] p.mb-40 {
        margin-bottom: 1.5rem !important;
    }
}

/* ============================================
   PAR MUMS — IKONU ATSTARPE NO ATTĒLA/VĀRDA MOBILAJĀ
   ============================================ */
@media (max-width: 1023px) {
    .grid.grid-cols-1.lg\:grid-cols-\[0\.9fr_1fr_1\.1fr\] .flex.flex-col.gap-3.flex-grow.items-center.justify-center {
        flex-grow: 0;
        margin-top: 1.5rem;
        gap: 0.75rem !important;
    }
}

@media (max-width: 480px) {
    .grid.grid-cols-1.lg\:grid-cols-\[0\.9fr_1fr_1\.1fr\] .flex.flex-col.gap-3.flex-grow.items-center.justify-center {
        margin-top: 1.25rem;
    }
}

@media (max-width: 767px) {
    #destinations-track .testimonial-card {
        width: 100% !important;
    }
}

#background-video-hero {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e1b4b, #34315d); /* fallback */
    background-image: url('https://atvertsavugaismu.lv/wp-content/uploads/.../tavs-fons.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Atpakaļ-pogas pozīcija mobilajā — tāpat kā Krija */
@media (max-width: 910px) {
    .video-back-btn { transform: translateY(-90px); }
}

/* Noņem klikšķināšanas iespēju produkta saitēm norēķinu lapā */
.woocommerce-checkout .product-name a,
.woocommerce-checkout .wc-block-components-product-name {
    pointer-events: none;
    cursor: default;
    color: inherit; /* Saglabā parasto teksta krāsu */
    text-decoration: none; /* Noņem pasvītrojumu */
}

.krija-video-section {
    background: #ffffff;
}

section.relative.overflow-hidden > div.relative.text-center {
    transform: translateY(10rem);
}

@media (max-width: 768px) {
    section.relative.overflow-hidden > div.relative.text-center {
        transform: translateY(9rem);
    }
}

body.woocommerce-checkout .editor-content,
body.woocommerce-order-received .editor-content {
    padding: 1.5rem !important;
}

@media (max-width: 767px) {
    body.woocommerce-checkout .editor-content,
    body.woocommerce-order-received .editor-content {
        padding: 0.75rem !important;
    }
}

section:has(> #background-vitalitate) {
    min-height: 450px !important;
}

section:has(> #background-vitalitate) > div.relative.text-center {
    position: absolute !important;
    left: 50% !important;
    bottom: 4rem !important;
    transform: translateX(-50%) !important;
    width: 100%;
    margin: 0 !important;
}

@media (max-width: 768px) {
    section:has(> #background-vitalitate) {
        min-height: 500px !important;
    }
    section:has(> #background-vitalitate) > div.relative.text-center {
        bottom: 2.5rem !important;
    }
}

body.page-template-page-template-par-mums section.relative.overflow-hidden > div.relative.text-center {
    transform: none !important;
}

/* Par Mums — standarta vilnis tikai mobilajā, aizstāj blob-wave */
.par-mums-mobile-wave {
    display: none;
}

@media (max-width: 767px) {
    .par-mums-mobile-wave {
        display: block;
    }
}

/* Krāsa jāsakrīt ar nākamās sekcijas fonu (#f8f4ff), nevis noklusēto balto */
.par-mums-mobile-wave .shape-fill {
    fill: #f8f4ff;
}

@media (max-width: 768px) {
    .telefons, .pavidu {
        text-align: center!important;
    }
}

@media (max-width: 767px) {
    #manage-subscription .space-y-5.text-black > h2.relative {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .ziedot {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .individualiestripa {
        background-color:#c8b3d0;
    }
}