:root {
    /* Brand Identity Guidelines - Color Palette */
    --primary-color: #2A2625; /* Main dark text/headings */
    --secondary-color: #F8F7F2; /* Main light background */
    --accent-color: #C1BAB0; /* Medium tone 1 */
    --text-color: #2A2625; /* Main dark text */
    --heading-color: #2A2625; /* Main dark for headings */
    --light-bg: #F8F7F2; /* Main light background */
    --warm-bg: #B5AD9E; /* Medium tone 2 */
    --dark-bg: #877C6D; /* Medium tone 3 */
    --color-medium-1: #C1BAB0; /* Medium tone 1 */
    --color-medium-2: #B5AD9E; /* Medium tone 2 */
    --color-medium-3: #877C6D; /* Medium tone 3 */
    --white-text: #FFFFFF; /* White text */
    --font-header: 'Tenor Sans', serif; /* Accurate ALTA alternative */
    --font-main: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Helvetica Now alternative */
    --container-width: 1200px;
    --transition-speed: 0.8s;
    color-scheme: light;
    -webkit-color-scheme: light;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 2;
    background-color: var(--secondary-color);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 100;
    touch-action: pan-y;
    -webkit-touch-callout: none;
}

/* Prevent zoom on double tap for interactive elements */
button, a, .floating-booking-btn, .popup-btn, .burger {
    touch-action: manipulation;
}

input, textarea, select {
    touch-action: auto;
    -webkit-user-select: auto;
    user-select: auto;
}

/* Typography - Brand Identity Guidelines */
/* ALTA Font for Headers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-header);
    color: var(--heading-color);
    margin-bottom: 1.5rem;
    font-weight: 400; /* Tenor Sans default */
    line-height: 1.2;
    letter-spacing: 4px; /* Increased for accurate ALTA/Luxury look */
    text-transform: uppercase;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: clamp(4px, 1vw, 8px);
    color: var(--white-text); /* Bijeli tekst preko fotografija */
    font-style: normal;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


h2, h3.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: clamp(3px, 1vw, 6px);
    font-weight: 400;
    text-transform: uppercase;
    color: var(--heading-color);
    position: relative;
    line-height: 1.2;
}

/* Group wrapper for title + subtitle + line */
.title-group {
    position: relative;
    width: 100%;
    margin-bottom: clamp(4rem, 8vw, 6rem); /* Increased space to separate from content */
    text-align: center;
    margin-top: 0;
}

/* Ensure title-group has enough space in landscape */
@media (orientation: landscape) {
    .title-group {
        margin-bottom: clamp(3rem, 6vw, 5rem) !important; /* Consistent spacing in landscape */
    }
}

/* Ensure float-image-layout and content-layout-vertical have margin-top to prevent overlap with titles */
.float-image-layout {
    margin-top: clamp(2rem, 4vw, 4rem); /* Space between title and content */
}

.content-layout-vertical {
    margin-top: clamp(2rem, 4vw, 4rem); /* Space between title and content */
}

.title-group h2 {
    margin-bottom: 0.5rem; /* Subtitle closer to title */
}

.title-group .section-subtitle {
    margin-top: 0;
    margin-bottom: 0;
    font-family: var(--font-header); /* Consistent font for headings */
}

.title-group::after {
    content: '';
    position: absolute;
    bottom: -30px; /* Line moved even lower, below subtitle */
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Lowered by 4mm/15px as requested */
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

/* Hide default h2 line when in a group */
.title-group h2::after {
    display: none;
}

h3 {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 400;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-color);
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h4:first-child {
    margin-top: 0;
}

/* Helvetica Now for Subheaders and Paragraphs */
p, li, span, div, label, input, textarea, button, a {
    font-family: var(--font-main);
}

p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem; /* Increased from 1.05rem */
    font-weight: 100;
    color: var(--text-color);
    letter-spacing: 0.5px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

strong {
    font-weight: 200;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.5s ease;
}

/* Scroll Animation Classes - All visible immediately, no fade-in */
.reveal-text {
    opacity: 1 !important;
    transition: none;
    animation-play-state: running;
}

.reveal-text.visible {
    opacity: 1 !important;
}

/* Ensure images with animations start immediately and are always visible */
.image-side {
    opacity: 1 !important;
    display: flex !important;
    visibility: visible !important;
}

.image-side img {
    animation-play-state: running !important;
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
}

/* Force Beauty Box image to load immediately */
#beauty-box .image-side img {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100% !important;
    max-width: 85% !important;
    height: auto !important;
    object-fit: cover !important;
}

.reveal-delay-1 { transition-delay: 0.2s; }
.reveal-delay-2 { transition-delay: 0.4s; }
.reveal-delay-3 { transition-delay: 0.6s; }

/* Pricing Section Styles */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.pricing-column h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 200;
    letter-spacing: 3px;
    text-transform: none;
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 15px;
}

.pricing-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 1px dashed #E8E0D4; /* Topla bež */
}

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

.service-name {
    font-size: 1.1rem;
    color: var(--heading-color);
    font-weight: 200;
    padding-right: 20px;
    background-color: transparent;
    z-index: 1;
}

.service-price {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 200;
    white-space: nowrap;
}

.service-detail {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
    font-style: italic;
    font-weight: 200;
}

/* Responsive Pricing */
@media (max-width: 800px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

/* Layout Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 40px);
}

.section {
    padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 8vw, 80px) 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Modern section styling */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    opacity: 0.3;
}

.section::before {
    display: none;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-warm {
    background-color: var(--warm-bg);
    position: relative;
}

/* Ensure consistent padding for all sections including bg-warm */
.section.bg-warm {
    padding: clamp(40px, 8vw, 80px) 0;
}

/* CONSOLIDATED LANDSCAPE FIXES - Prevents overlapping and optimizes layout */
@media (orientation: landscape) {
    /* Ensure body has light background in landscape mode */
    body {
        background-color: var(--secondary-color) !important; /* Light beige/white background */
    }
    
    html {
        background-color: var(--secondary-color) !important; /* Light beige/white background */
    }
    
    /* Fix nav menu for all landscape devices */
    .nav-overlay {
        height: 100vh !important;
        height: 100dvh !important; /* Use dynamic viewport height */
        min-height: 100vh !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    
    .nav-links {
        gap: clamp(15px, 3vh, 30px) !important;
        padding: 20px 0 !important;
        overflow: visible !important;
    }
    
    .nav-link {
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        pointer-events: auto !important;
        display: block !important;
        width: auto !important;
        min-width: fit-content !important;
    }
    
    .section, .container, .split-layout, .content-layout-vertical {
        height: auto !important;
        min-height: auto !important; /* Reduced from 100vh to minimize empty space */
        overflow: visible !important;
    }

    /* Hero section - full width, no margins */
    #home.section,
    #home.hero {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        background-color: var(--secondary-color) !important; /* Ensure light background */
    }
    
    /* Ensure hero slideshow doesn't affect page background */
    .hero-slideshow {
        background-color: transparent !important;
    }
    
    #home .container {
        padding: 0 !important;
        margin: 0 !important;
        max-width: 100vw !important;
    }

    /* All other sections - consistent margins with top padding to avoid navbar overlap */
    .section:not(#home) {
        padding: clamp(6rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6rem) 0 !important; /* Increased top padding to prevent navbar overlap */
        margin-top: 0 !important;
    }
    
    /* First section after hero needs extra top padding */
    .section:not(#home):first-of-type {
        padding-top: clamp(7rem, 12vw, 10rem) !important; /* Extra top padding for first section */
    }
    
    /* Ensure alternating background colors: beige for bg-warm, light for others */
    .section:not(#home):not(.bg-warm) {
        background-color: var(--secondary-color) !important; /* Light beige/white for regular sections */
    }
    
    .section.bg-warm {
        background-color: var(--warm-bg) !important; /* Beige for bg-warm sections */
    }

    .container:not(#home .container) {
        max-width: 100% !important;
        padding-left: clamp(80px, 15vw, 300px) !important; /* Increased side margins for TV viewing */
        padding-right: clamp(80px, 15vw, 300px) !important; /* Increased side margins for TV viewing */
        padding-top: clamp(2rem, 4vw, 3rem) !important; /* Top padding to prevent navbar overlap */
        padding-bottom: 0 !important;
        margin: 0 auto !important;
    }
    
    .text-side {
        height: auto !important;
        min-height: auto;
        overflow-y: visible !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        max-width: 100% !important;
        padding-right: clamp(20px, 3vw, 40px) !important; /* Move text inwards to match left margin alignment */
    }
    
    .pricing-grid {
        height: auto !important;
        margin-top: 40px !important;
        margin-bottom: 40px !important;
        grid-template-columns: 1fr 1fr !important;
        gap: clamp(40px, 6vw, 120px) !important; /* Same gap as other sections for consistency */
        width: 100% !important;
        max-width: 1600px !important;
    }

    .content-layout-vertical {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Equal columns (50/50) for balanced alignment */
        gap: clamp(30px, 4vw, 80px) !important; /* Reduced gap to balance image and text around center */
        width: 100% !important;
        max-width: 100% !important; /* Full width to align with container margins */
        margin: 0 !important; /* Remove auto margin to align with container */
        margin-top: clamp(3rem, 6vw, 5rem) !important; /* Add space between title and content */
        align-items: center !important; /* Vertically align both image and text */
        padding-top: 0; /* Remove padding-top since we use margin-top */
        padding-left: 0 !important; /* Content stays within container margins */
        padding-right: 0 !important; /* Content stays within container margins */
    }
    
    /* Zigzag pattern - reverse layout for alternating sections */
    .content-layout-vertical.reverse-layout {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .content-layout-vertical.reverse-layout .image-side {
        order: 2 !important; /* Image on the right */
    }
    
    .content-layout-vertical.reverse-layout .text-side {
        order: 1 !important; /* Text on the left */
        padding-right: 0 !important; /* No extra padding when text is on the left */
    }

    /* Float image logic for text-heavy sections in landscape - use grid to prevent overlap */
    .float-image-layout {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Equal columns (50/50) like content-layout-vertical */
        gap: clamp(30px, 4vw, 80px) !important; /* Same gap as content-layout-vertical */
        width: 100% !important;
        max-width: 100% !important; /* Full width to align with container margins */
        margin: 0 !important; /* Remove auto margin to align with container */
        margin-top: clamp(3rem, 6vw, 5rem) !important; /* Add space between title and content */
        padding-left: 0 !important; /* Content stays within container margins */
        padding-right: 0 !important; /* Content stays within container margins */
    }
    
    /* Zigzag pattern - reverse layout for float-image-layout */
    .float-image-layout.reverse-layout {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .float-image-layout.reverse-layout .image-side {
        order: 2 !important; /* Image on the right */
    }
    
    .float-image-layout.reverse-layout .text-side {
        order: 1 !important; /* Text on the left */
    }

    .float-image-layout .image-side {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin: 0 !important; /* Remove all margins since we use grid gap */
        padding: 0 !important; /* Image stays within container margins */
    }

    .float-image-layout .image-side img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        display: block;
        margin: 0 auto !important; /* Center the image */
        padding: 0 !important; /* Remove padding */
    }
    
    /* Transparent background images - show full image without cropping */
    .float-image-layout .image-side img.transparent-bg-image {
        width: auto !important;
        max-width: 100% !important;
        max-height: 80vh !important;
        height: auto !important;
        object-fit: contain !important;
        background: transparent !important;
        background-color: transparent !important;
    }
    
    .float-image-layout .image-side:has(.transparent-bg-image) {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        overflow: visible !important;
    }

    .float-image-layout .text-side {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        padding: 0 !important; /* No padding - stays within container margins */
        padding-right: clamp(20px, 3vw, 40px) !important; /* Move text inwards to match left margin alignment */
        overflow: visible !important;
        margin: 0 !important; /* Remove all margins since we use grid gap */
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .float-image-layout .text-side p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    /* For sections with only text (like Instructions) */
    #instructions .content-layout-vertical {
        display: block !important;
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .content-layout-vertical .image-side {
        margin: 0 !important; /* Remove all margins */
        padding: 0 !important; /* Image stays within container margins */
        display: flex;
        justify-content: flex-start; /* Image to the left */
        align-items: center; /* Vertically center image */
    }

    .content-layout-vertical .image-side img {
        max-width: 100% !important;
        max-height: 75vh !important; /* Slightly smaller height to fit better with title */
        object-fit: cover;
        display: block; /* Prevent inline spacing issues */
        margin: 0 !important; /* Remove all margins */
        padding: 0 !important; /* Remove padding */
    }
    
    .content-layout-vertical .text-side {
        padding: 0 !important; /* No padding - stays within container margins */
        padding-right: clamp(20px, 3vw, 40px) !important; /* Move text inwards to match left margin alignment */
        text-align: left !important;
        max-width: 100% !important; /* Full width of column for balanced alignment */
        align-self: center !important; /* Vertically center text relative to image */
        margin: 0 !important; /* No margins */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important; /* Vertically center text content */
    }
    
    .content-layout-vertical .text-side p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    /* Specific layout for full-screen sections */
    #instructions.section.bg-warm,
    #lightsheer.section.bg-warm {
        padding: 3rem 0 !important; /* Reduced top padding to move title closer */
        display: block !important;
    }

    #instructions .container, #lightsheer .container {
        max-width: 100% !important;
        padding: 0 clamp(40px, 8vw, 150px) !important; /* Consistent margins */
        width: 100%;
    }

    /* Instructions specific adjustments (doesn't use content-layout-vertical in landscape) */
    #instructions .image-side {
        min-height: auto;
        display: flex;
        padding: 0;
        align-items: center;
        justify-content: flex-start;
    }

    #instructions .text-side {
        padding: 0;
        background: transparent;
        min-height: auto;
        width: 100%;
    }

    /* All content-layout-vertical sections use the same styles defined above */
    
    /* Title adjustments for landscape */
    .section-title {
        margin-top: 0 !important;
        margin-bottom: 1.5rem !important; /* Moved title closer to content */
        width: 100%;
        text-align: center;
        font-size: clamp(1.8rem, 3.5vw, 2.5rem) !important; /* Smaller title size as requested */
        letter-spacing: 3px !important;
    }

    /* Subtitle adjustments */
    .section-subtitle {
        margin-top: -1rem !important;
        margin-bottom: 2rem !important;
        font-size: clamp(1rem, 1.5vw, 1.2rem) !important;
        font-family: var(--font-header) !important; /* Consistent font for headings */
    }

    /* Text adjustments for better readability on large screens */
    p {
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important; /* Slightly larger font */
        line-height: 1.8 !important;
        margin-bottom: 1.5rem !important;
    }

    li, span, .service-name, .service-price {
        font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important; /* Slightly larger */
    }

    h4 {
        font-size: clamp(1.3rem, 2vw, 1.6rem) !important;
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
    
    .feature-list li {
        margin-bottom: 1rem !important;
    }
    
    /* Center intro text below title in technology section */
    #technology .centered-intro-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    /* Center conclusion text below image and text in technology section */
    #technology .centered-conclusion-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: clamp(2rem, 4vw, 3rem) auto 0 auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    #technology .centered-intro-text p,
    #technology .centered-conclusion-text p {
        text-align: justify !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* LightSheer Quattro section - center intro text and vacuum layout */
    #lightsheer .lightsheer-intro-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
    }
    
    #lightsheer .lightsheer-intro-text p {
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        font-family: var(--font-main) !important; /* Consistent font for paragraphs */
        line-height: 1.8 !important;
        margin-bottom: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: justify !important;
    }
    
    /* Info section conclusion text - centered below image and text with justify */
    #info .info-conclusion-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: clamp(2rem, 4vw, 3rem) auto 0 auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
    }
    
    #info .info-conclusion-text p,
    #info .info-conclusion-text h4 {
        text-align: justify !important;
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #info .info-conclusion-text h4 {
        font-size: clamp(1.3rem, 2vw, 1.6rem) !important;
        text-align: left !important; /* Headings left-aligned */
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
    }
    
    #info .info-conclusion-text ul {
        text-align: left !important; /* Lists left-aligned */
    }
    
    /* Dreams section intro and conclusion text - centered */
    .dreams-intro-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    .dreams-intro-text p {
        text-align: justify !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .dreams-conclusion-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: clamp(2rem, 4vw, 3rem) auto 0 auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
    }
    
    .dreams-conclusion-text p {
        text-align: justify !important;
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    .dreams-conclusion-text h4 {
        text-align: left !important; /* Headings left-aligned */
        font-size: clamp(1.3rem, 2vw, 1.6rem) !important;
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
        color: var(--primary-color) !important;
        font-weight: 300 !important;
    }
    
    /* Info section intro text - centered */
    #info .info-intro-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    #info .info-intro-text p {
        text-align: justify !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Treatments section intro and conclusion text - centered */
    #treatments .treatments-intro-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: 0 auto clamp(2rem, 4vw, 3rem) auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    #treatments .treatments-intro-text p {
        text-align: justify !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #treatments .treatments-conclusion-text {
        text-align: justify !important;
        max-width: 100% !important;
        width: 100% !important;
        margin: clamp(2rem, 4vw, 3rem) auto 0 auto !important;
        padding: 0 !important; /* Within container margins - perfectly aligned */
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        line-height: 1.8 !important;
    }
    
    #treatments .treatments-conclusion-text p {
        text-align: justify !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Vacuum technology layout - image left with text wrapping around */
    #lightsheer .vacuum-technology-layout {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: clamp(2rem, 4vw, 3rem) !important;
        visibility: visible !important;
        opacity: 1 !important;
        overflow: hidden !important;
    }
    
    #lightsheer .vacuum-technology-layout .image-side {
        float: left !important;
        width: auto !important;
        max-width: 45% !important;
        margin: 0 !important;
        margin-right: clamp(30px, 4vw, 60px) !important;
        margin-bottom: 1.5rem !important;
        padding: 0 !important; /* Image stays within container margins */
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }
    
    #lightsheer .vacuum-technology-layout .image-side img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    #lightsheer .vacuum-technology-layout .text-side.vacuum-technology-content {
        display: block !important;
        padding: 0 !important; /* Text stays within container margins - perfectly aligned */
        padding-right: clamp(20px, 3vw, 40px) !important; /* Move text inwards to match left margin alignment */
        overflow: visible !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        text-align: left !important; /* Left align text */
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content ul {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Clearfix for float layout */
    #lightsheer .vacuum-technology-layout::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
    
    /* Vacuum technology content text styling */
    #lightsheer .vacuum-technology-layout .vacuum-technology-content {
        width: auto !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content p {
        text-align: left !important;
        font-size: clamp(1.15rem, 1.4vw, 1.45rem) !important;
        font-family: var(--font-main) !important; /* Consistent font for paragraphs */
        line-height: 1.8 !important;
        margin-bottom: 1.5rem !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content ul {
        text-align: left !important;
        list-style: none !important;
        padding-left: 0 !important;
        margin: 1.5rem 0 !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content ul li {
        text-align: left !important;
        margin-bottom: 1rem !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        position: relative !important;
        font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
        font-family: var(--font-main) !important; /* Consistent font for list items */
        line-height: 1.8 !important;
        list-style: none !important;
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content ul li::after {
        display: none !important; /* Remove all bullets */
    }
    
    #lightsheer .vacuum-technology-layout .vacuum-technology-content ul li::before {
        display: none !important; /* Remove all bullets */
    }
    
    /* Vacuum technology title - within margins */
    .vacuum-technology-title {
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        font-size: clamp(1.8rem, 3vw, 2.5rem) !important;
        font-family: var(--font-header) !important; /* Consistent font for headings */
        color: var(--primary-color) !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
        padding: clamp(2rem, 4vw, 3rem) 0 !important; /* Within container margins */
        margin-top: clamp(2rem, 4vw, 3rem) !important;
        margin-bottom: clamp(2rem, 4vw, 3rem) !important;
    }
}

.bg-warm > .container {
    padding: 0 clamp(20px, 4vw, 40px);
    position: relative;
    z-index: 1;
}

.bg-warm::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #F9F8F6 0%, #FAF9F7 100%);
    pointer-events: none;
    z-index: 0;
}

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

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 60px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: transparent;
    transition: background-color 0.8s ease;
}

.navbar.scrolled {
    background-color: transparent !important;
    border-bottom: none !important;
}

.navbar.scrolled .logo-text {
    opacity: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Logo & Menu Color Adaptation */
.navbar.over-white .logo-img {
    filter: brightness(0) !important;
}

.navbar.over-white .logo-text {
    color: #000000 !important;
    text-shadow: none !important;
}

.navbar.over-white .burger-line {
    background-color: #000000 !important;
    box-shadow: none !important;
}

.navbar.over-brown .logo-img {
    filter: none !important;
}

.navbar.over-brown .logo-text {
    color: var(--white-text) !important;
    text-shadow: none !important;
}

.navbar.over-brown .burger-line {
    background-color: var(--white-text) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

/* Base styles for transition */
.logo-img, .logo-text, .burger-line {
    transition: all 0.4s ease !important;
}

/* Portrait Fixes */
@media (orientation: portrait) {
    .section-title, h2, h3.section-title {
        margin-top: calc(2rem + 15px) !important; /* Lowered titles by approx 4mm */
    }
    
    .title-group {
        margin-top: 30px !important; /* Move the whole group down */
    }

    /* Centering Instagram button in portrait - centered in its column/section */
    #giveaway .instagram-btn-giveaway {
        margin: 2rem auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        float: none !important;
        position: static !important;
        left: auto !important;
        transform: none !important;
        right: auto !important;
    }
    
    /* Ensure the text side allows centering */
    #giveaway .text-side {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Also center all paragraphs and headings in giveaway section */
    #giveaway .text-side p,
    #giveaway .text-side h4 {
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Ensure float-image-layout text-side is also centered */
    .float-image-layout .text-side {
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        justify-content: center !important;
    }
    
    /* Ensure parent container of Instagram button is centered */
    .float-image-layout .text-side > * {
        text-align: center !important;
    }
    
    /* Ensure Instagram button in float-image-layout is centered */
    .float-image-layout .instagram-btn-giveaway {
        margin: 2rem auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Ensure full image display in portrait for content-layout-vertical sections */
    .content-layout-vertical .image-side img {
        object-fit: contain !important; /* Show full image without cropping */
        max-height: 70vh !important;
        width: auto !important;
        max-width: 90% !important;
    }
    
    .content-layout-vertical .image-side {
        overflow: visible !important; /* Don't crop the image */
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    /* Center the review button container */
    #reviews div[style*="text-align: center"] {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    #reviews .instagram-btn-giveaway {
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
    
    /* Make transparent background image smaller in portrait - ensure full image is visible */
    .image-side img.transparent-bg-image {
        max-width: 60% !important;
        max-height: 50vh !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
    
    /* Ensure parent container doesn't crop the image */
    .image-side:has(.transparent-bg-image) {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: visible !important;
        padding: 20px 0 !important;
    }
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-header);
    color: var(--white-text); /* Default for hero */
    font-size: 1.2rem;
    font-weight: 200;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-style: normal;
    text-shadow: none;
}

/* Modern Menu Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh; /* Use dynamic viewport height for mobile browsers */
    background: linear-gradient(135deg, #F6F2EC 0%, #E2D7C8 100%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Disable clicks when closed */
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Enable clicks when open */
}

.nav-links {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 2;
}

.nav-item {
    position: relative;
    overflow: hidden;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 200;
    font-style: normal;
    font-family: var(--font-header);
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--heading-color);
    text-decoration: none;
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    transition: color 0.3s ease,
                transform 0.3s ease,
                letter-spacing 0.3s ease;
    z-index: 1;
    opacity: 1;
    visibility: visible;
    white-space: nowrap;
    overflow: visible;
    pointer-events: auto;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}


/* Letter animation - delays are set via JavaScript */

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #D4C9B8, transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateX(10px);
    letter-spacing: 3px;
}

/* Modern Menu Icon */
.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    padding: 12px 8px;
    width: 50px;
    height: 40px;
    position: relative;
    pointer-events: auto; /* Ensure it's always clickable */
    touch-action: manipulation; /* Optimize for touch */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.burger-line {
    width: 100%;
    height: 2px;
    background-color: var(--white-text);
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    border-radius: 2px;
}

.burger.active .line1 {
    transform: rotate(45deg) translate(8px, 8px);
    background-color: var(--text-color);
}

.burger.active .line2 {
    opacity: 0;
    transform: translateX(-20px);
}

.burger.active .line3 {
    transform: rotate(-45deg) translate(8px, -8px);
    background-color: var(--text-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--secondary-color); /* Svijetla krem */
    overflow: hidden;
    perspective: 1000px;
}

/* Slideshow */
.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    contain: layout style paint; /* Isolate rendering to prevent layout thrashing */
    transform: translateZ(0); /* Force hardware acceleration on container */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out, transform 0.01s linear;
    /* Use transform with opacity for GPU acceleration - both properties are compositor-friendly */
    will-change: opacity, transform; /* Optimize for transitions */
    transform: translateZ(0) scale(1); /* Force hardware acceleration on separate compositor layer */
    backface-visibility: hidden; /* Improve rendering performance */
    pointer-events: none; /* Prevent interference with scroll */
    isolation: isolate; /* Create new stacking context - isolate from rest of page */
    contain: layout style paint; /* Isolate slide rendering - prevent affecting rest of page */
}

/* Desktop: prevent top cropping of hero images */
@media (min-width: 1024px) {
    .slide {
        background-position: center top;
        object-fit: cover;
        object-position: center top;
    }
}

/* Landscape orientation: show higher part of vertical images */
@media (orientation: landscape) and (max-height: 768px) {
    .slide {
        background-position: center 30%;
        background-attachment: scroll; /* Faster loading than fixed */
    }
    
    /* Optimize hero for faster loading in landscape */
    .hero-slideshow {
        image-rendering: -webkit-optimize-contrast; /* Better image rendering */
        image-rendering: crisp-edges;
    }
}

/* Landscape on larger screens: show higher part of vertical images */
@media (orientation: landscape) and (min-width: 1024px) {
    .slide {
        background-position: center 30%;
    }
}

/* Landscape on mobile devices: show higher part */
@media (orientation: landscape) and (max-width: 1023px) {
    .slide {
        background-position: center 30%;
    }
    
    /* Ensure burger menu is always clickable in landscape mode on mobile */
    .burger {
        pointer-events: auto !important;
        touch-action: manipulation !important;
        z-index: 1001 !important;
        position: relative !important;
    }
    
    /* Ensure navbar doesn't block burger menu */
    .navbar {
        position: relative !important;
        z-index: 1000 !important;
    }
    
    /* Fix nav overlay for landscape mode - ensure it covers properly */
    .nav-overlay {
        height: 100vh !important;
        height: 100dvh !important; /* Use dynamic viewport height for mobile */
        min-height: 100vh !important;
        min-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Ensure nav links are properly sized and visible in landscape */
    .nav-links {
        height: 100% !important;
        min-height: 100% !important;
        padding: 20px 0 !important;
        gap: clamp(15px, 3vh, 25px) !important; /* Reduce gap in landscape */
        justify-content: center !important;
        align-items: center !important;
        overflow: visible !important;
    }
    
    .nav-item {
        overflow: visible !important;
        width: 100% !important;
        max-width: 90% !important;
        text-align: center !important;
    }
    
    .nav-link {
        font-size: clamp(0.9rem, 2.5vh, 1.1rem) !important; /* Responsive font size */
        padding: 12px 20px !important;
        width: 100% !important;
        display: block !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Ensure nav links are clickable */
    .nav-overlay.active .nav-link {
        pointer-events: auto !important;
        z-index: 10 !important;
        position: relative !important;
    }
}

.slide.active {
    opacity: 1;
}

/* Optional Overlay to ensure text readability */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent; /* Transparent to show hero images */
    z-index: 1;
}

/* Welcome Text Animation - Appears for 1.3 seconds then zooms out */
.hero-welcome-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(3rem, 12vw, 8rem);
    font-weight: 200;
    letter-spacing: clamp(5px, 2vw, 20px);
    color: var(--white-text);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.5);
    z-index: 2;
    opacity: 0;
    animation: welcomeAppear 3s ease-in-out forwards;
    pointer-events: none;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 95vw;
    text-align: center;
    font-family: var(--font-main);
}

@keyframes welcomeAppear {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    40% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    70% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(5);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 30px;
    width: 100%;
}

/* Rotating Slogan */
.rotating-slogan {
    position: relative;
    display: block;
    text-align: center;
    width: 100%;
}

.rotating-slogan .slogan-text {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    font-weight: 300;
    letter-spacing: 2px;
    font-size: 1.3rem;
    color: var(--white-text); /* Bijeli tekst preko fotografija */
    margin-bottom: 0;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.rotating-slogan .slogan-text.active {
    opacity: 1;
    position: relative;
}

.subtitle {
    font-size: 1.3rem;
    margin-bottom: 4rem;
    color: var(--white-text); /* Bijeli tekst preko fotografija */
    letter-spacing: 2px;
    font-weight: 300;
    font-style: normal;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: relative;
    min-height: 60px; /* Prevent layout shift */
    text-align: center;
    width: 100%;
}

.cta-button {
    display: inline-block;
    padding: 20px 70px;
    background-color: transparent;
    color: var(--white-text);
    border: 1px solid var(--white-text);
    text-transform: none;
    font-size: 0.9rem;
    letter-spacing: 4px;
    font-weight: 200;
    transition: all 0.5s ease;
    font-style: normal;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cta-button:hover {
    background-color: var(--white-text);
    color: var(--dark-bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Content Blocks */
.content-wrapper {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.text-block p {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
}

/* Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 6vw, 60px);
    align-items: center;
    padding: clamp(15px, 3vw, 30px) 0;
    position: relative;
}

/* Vertical Layout - Title -> Image -> Text */
.content-layout-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.content-layout-vertical .image-side {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-layout-vertical .image-side img {
    width: 100%;
    max-width: 90%; /* Slight adjustment for better balance */
    aspect-ratio: auto;
    max-height: 80vh; /* Increased from 70vh */
    object-fit: cover;
    border-radius: 20px !important; /* Rounded corners for all images except hero */
    box-shadow: none !important; /* Remove shadow from all images except hero */
    will-change: transform;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Specific larger image for sections with lots of text */
#lightsheer .image-side img, 
#info .image-side img, 
#instructions .image-side img,
#treatments .image-side img {
    max-width: 100% !important;
    border-radius: 20px !important; /* Ensure rounded corners */
}

/* Scroll animation - images move left on scroll */
.content-layout-vertical .image-side {
    overflow: visible !important; /* Allow rounded corners to show */
}

.content-layout-vertical .image-side.scrolled img {
    transform: translateX(-15%);
}

.content-layout-vertical .text-side {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin-top: 2rem;
}

.text-side {
    padding-right: 20px;
    will-change: auto;
    transform: none;
    max-width: 100%;
    box-sizing: border-box;
}

.image-side {
    max-width: 100%;
    box-sizing: border-box;
    will-change: transform;
}

.split-layout.reverse-layout .text-side {
    padding-right: 0;
    padding-left: 20px;
}

.feature-list {
    margin: 2rem 0;
    border-top: 1px solid var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding: 2rem 0;
}

.feature-list li {
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 300;
}

.feature-list i {
    color: var(--primary-color);
    margin-right: 20px;
    font-size: 1rem;
    margin-top: 5px;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

.feature-list i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.feature-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.feature-title {
    display: block;
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.feature-text {
    display: block;
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-color);
    line-height: 1.6;
}

/* Laser Slideshow - Elegant Animation */
.laser-slideshow {
    position: relative;
    width: 100%;
    max-width: 85%;
    aspect-ratio: 3/4;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background-color: var(--secondary-color);
    min-height: 400px;
}

.laser-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 2s ease-in-out, 
                transform 2s ease-in-out;
    border-radius: 8px;
    will-change: opacity, transform;
    display: block !important;
    visibility: visible !important;
}

.laser-slide.active {
    opacity: 1 !important;
    transform: scale(1);
    z-index: 2;
    visibility: visible !important;
}

.laser-slide:not(.active) {
    z-index: 1;
    pointer-events: none;
}

/* Image side styles - Always visible and animated */
.image-side {
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible !important; /* Allow rounded corners to show */
    border-radius: 0;
    box-shadow: none;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Global rule: All images except hero and logos should have rounded corners */
img:not(.laser-slide):not(.logo-img):not(.footer-logo-img) {
    border-radius: 20px !important;
}

/* Ensure logos stay square (no rounded corners) */
.logo-img, .footer-logo-img {
    border-radius: 0 !important;
}

/* Hero slides are background images, so they're excluded automatically */
.hero .slide {
    border-radius: 0 !important; /* Hero slides stay square */
}

/* Continuous Animation for Images - Always running, no hover effects, immediate load */
/* Apply same size and animation as content-layout-vertical images to all side images */
.image-side img:not(.laser-slide):not(.logo-img):not(.footer-logo-img), .image-placeholder {
    width: 100%;
    max-width: 90% !important; /* Same as content-layout-vertical */
    aspect-ratio: auto;
    max-height: 80vh !important; /* Same as content-layout-vertical */
    object-fit: cover;
    background-color: var(--secondary-color);
    color: var(--accent-color);
    will-change: transform;
    border-radius: 20px !important;
    box-shadow: none !important; /* Remove shadow from all images except hero */
    transform: scale(1.05);
    transition: none !important; 
    animation: zoomInOut 20s infinite ease-in-out !important;
    animation-play-state: running !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Laser images stack - apply same size and animation as content-layout-vertical */
.laser-images-stack img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 20px !important; /* Rounded corners */
    box-shadow: none !important; /* Remove shadow */
    max-width: 90% !important; /* Same as content-layout-vertical */
    max-height: 80vh !important; /* Same as content-layout-vertical */
    animation: zoomInOut 20s infinite ease-in-out !important; /* Same animation */
    animation-play-state: running !important;
    transform: scale(1.05);
}

/* Remove all hover effects from all images across the site */
img:hover, .image-side img:hover, .laser-images-stack img:hover {
    transform: none !important;
    scale: none !important;
}

/* Specific exception for prozirni laser - No background, no shadow, but with rounded corners */
.image-side img.transparent-bg-image {
    background: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    border-radius: 20px !important; /* Rounded corners */
    filter: none !important;
    animation: none !important;
    transform: none !important;
    outline: none !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important; /* Show full image without cropping */
    display: block !important;
}

/* Parent container check for shadow */
.image-side:has(.transparent-bg-image) {
    box-shadow: none !important;
    border-radius: 20px !important; /* Rounded corners */
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: visible !important;
}

.image-side img.transparent-bg-image:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Ensure all reveal elements are visible immediately on load */
.reveal-text, .reveal-delay-1, .reveal-delay-2, .reveal-delay-3, .image-side.reveal-text {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: none !important;
}

/* Remove animations from image-side containing transparent image */
.image-side:has(.transparent-bg-image) {
    perspective: none;
}

.image-side:has(.transparent-bg-image) img {
    transform: none !important;
}

/* Laser Images Stack */
.laser-images-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    max-width: 85%;
}

.laser-images-stack img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image side styles updated to global continuous animation above */

/* Parallax zoom effect on scroll - only for images, not text */
.split-layout {
    perspective: 1000px;
}

.image-side {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.text-side {
    /* No transform on text-side to prevent text movement */
    transform: none !important;
    will-change: auto;
}

/* Staggered zoom animations for visual interest */
.split-layout:nth-of-type(odd) .image-side img:not(.laser-slide) {
    animation-delay: -2s;
}

.split-layout:nth-of-type(even) .image-side img:not(.laser-slide) {
    animation-delay: -4s;
}

.split-layout.reverse-layout .image-side img:not(.laser-slide) {
    animation-delay: -1s;
}

/* Symbiosis between text and images */
.split-layout {
    position: relative;
    overflow: visible;
    transition: gap 0.3s ease;
}

.text-side {
    position: relative;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.image-side {
    position: relative;
    z-index: 1;
}

/* Interactive hover effects - disabled */
.split-layout:hover .image-side img:not(.laser-slide) {
    transform: none;
    filter: none;
}

/* Exclude laser slideshow from hover effects */
.split-layout:hover .laser-slideshow .laser-slide {
    transform: scale(1) !important;
    filter: none !important;
}

.split-layout:hover .text-side {
    /* Text stays in place, no movement */
    transform: none;
}

.split-layout:hover .text-side h2,
.split-layout:hover .text-side h3,
.split-layout:hover .text-side h4 {
    color: var(--primary-color);
    /* No transform, just color change */
    transform: none;
}

.split-layout.reverse-layout:hover .text-side {
    /* Text stays in place, no movement */
    transform: none;
}

.split-layout.reverse-layout:hover .text-side h2,
.split-layout.reverse-layout:hover .text-side h3,
.split-layout.reverse-layout:hover .text-side h4 {
    /* No transform, just color change */
    transform: none;
    color: var(--primary-color);
}

/* Connection line effect on hover - removed */
.split-layout::after {
    display: none;
}

/* Process Cards */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 80px;
}

.process-card {
    text-align: center;
    padding: 0;
    background: transparent;
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 400;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.img-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--secondary-color); /* Svijetla krem */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #BEB09E;
    font-weight: 300;
    font-style: normal;
    transition: transform 1s ease;
}

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

/* Contact Link - kept for popup */
.contact-link {
    color: #999;
    font-size: 1rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 300;
}

.contact-link:hover {
    color: var(--primary-color);
}

/* Footer */
.footer-section {
    background-color: var(--white-text); /* Bijela pozadina */
    color: var(--heading-color);
    padding: 80px 0 40px;
    margin-top: 40px;
    border-top: 1px solid #E8E6E4; /* Svijetla linija */
}

/* Google Maps Section */
.maps-section {
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.maps-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.maps-wrapper iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 300px;
    max-height: 600px;
    height: clamp(300px, 50vh, 600px);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.maps-wrapper iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
    flex-direction: column;
    text-align: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.footer-logo-img {
    height: 60px;
    width: auto;
    margin-bottom: 15px;
    filter: brightness(0); /* Tamni logo na bijeloj pozadini */
    opacity: 0.9;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.footer-sub {
    font-size: 0.9rem;
    color: var(--heading-color); /* Vrlo tamna sivo-smeđa */
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 0;
    opacity: 0.8;
}

.footer-info {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-item i {
    color: var(--primary-color); /* Srednje tamni taupe */
    font-size: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    display: inline-block;
}

.info-item i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.info-item p, .info-item a {
    font-size: 0.95rem;
    color: var(--heading-color); /* Vrlo tamna sivo-smeđa */
    font-weight: 200;
    line-height: 1.6;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.info-item a:hover {
    color: var(--primary-color); /* Srednje tamni taupe */
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #D1CECC; /* Svijetla linija na bijeloj pozadini */
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--heading-color); /* Vrlo tamna sivo-smeđa */
    margin-bottom: 0;
    opacity: 0.7;
}

@media (max-width: 960px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-logo-img {
        height: 50px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }
    
    .info-item {
        flex-direction: column;
        gap: 10px;
    }
}

/* Popup Overlay - Modern & Transparent */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #7C7C79;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.4s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: #F5F0E9; /* Svijetla krem s prozirnošću */
    padding: 50px 40px;
    border-radius: 2px;
    width: 90%;
    max-width: 450px;
    border: 1px solid #FCFCFA;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s ease;
    opacity: 0;
}

.popup-overlay.active .popup-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.8rem;
    color: var(--heading-color);
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F5F4F1;
    opacity: 0.7;
}

.close-popup:hover {
    color: var(--primary-color);
    opacity: 1;
    background: #F2F1EE;
    transform: rotate(90deg);
}

.popup-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-content h3 {
    color: var(--heading-color);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-style: normal;
    font-weight: 200;
    text-transform: none;
    letter-spacing: 3px;
}

.popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px;
    border-radius: 2px;
    font-weight: 200;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-size: 0.75rem;
    background-color: #4D4D4A;
    color: #FFFFFF;
    border: 1px solid #FCFCFA;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.popup-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FBFBF9, transparent);
    transition: left 0.6s ease;
}

.popup-btn:hover::before {
    left: 100%;
}

.popup-btn:hover {
    background-color: #262626;
    border-color: #FEFDFB;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.popup-btn i {
    font-size: 1rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

.popup-btn i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.popup-btn:hover i {
    opacity: 1;
}

/* Floating Booking Button - Subtle & Refined LYS Style */
/* Floating Booking Button - Subtle & Refined LYS Style */
.floating-booking-btn {
    position: fixed !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 140px !important;
    height: 40px !important;
    background-color: #3A3635 !important;
    color: #FFFFFF !important;
    border: 1px solid #FCFCFA !important;
    border-radius: 25px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    z-index: 2000 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
    padding: 0 20px !important;
    overflow: hidden !important;
    font-family: var(--font-main) !important;
    opacity: 1 !important;
}

.floating-booking-btn.scrolled {
    left: auto !important;
    right: 30px !important;
    transform: translateX(0) !important;
    min-width: 110px !important;
    height: 32px !important;
    padding: 0 14px !important;
    gap: 6px !important;
}

.floating-booking-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, #FBFBF8, transparent);
    transition: left 0.8s ease;
}

.floating-booking-btn:hover::before {
    left: 100%;
}

.floating-booking-btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 25px rgba(42, 38, 37, 0.5) !important;
    background-color: #2C2827 !important;
    border-color: #FEFDFB !important;
    opacity: 1 !important;
}

.floating-booking-btn.scrolled:hover {
    transform: translateY(-2px) translateX(0) !important;
}

.floating-booking-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.floating-booking-btn i {
    font-size: 0.7rem !important;
    font-weight: 300 !important;
    color: #FFFFFF !important;
    transition: transform 0.5s ease !important;
    position: relative !important;
    z-index: 2 !important;
    opacity: 0.9 !important;
    width: 0.7rem !important;
    height: 0.7rem !important;
    display: inline-block !important;
}

.floating-booking-btn i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.floating-booking-btn:hover i {
    transform: translateX(1px);
    opacity: 1;
}

.floating-booking-btn .btn-text {
    font-size: 0.6rem !important;
    font-weight: 200 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: var(--font-main) !important;
    transition: letter-spacing 0.5s ease !important;
    opacity: 0.95 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.floating-booking-btn:hover .btn-text {
    letter-spacing: 3px;
    opacity: 1;
}

/* Dynamic color based on hero slide */
.floating-booking-btn.slide-0 {
    background-color: #9A8F7F;
    border-color: #FDFCFA;
}

.floating-booking-btn.slide-1 {
    background-color: #9A8F7F;
    border-color: #FDFCFA;
}

.floating-booking-btn.slide-2 {
    background-color: #9A8F7F;
    border-color: #FDFCFA;
}

.floating-booking-btn.slide-3 {
    background-color: #9A8F7F;
    border-color: #FDFCFA;
}

/* Instruction List Styling */
.instruction-list {
    list-style: none;
    padding: 0;
}

.instruction-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    color: var(--text-color);
    font-weight: 300;
    line-height: 1.6;
}

.instruction-list li i {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 10px;
    margin-top: 2px;
    flex-shrink: 0;
    color: var(--primary-color);
}

.instruction-list li i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

/* Enhanced Color Contrast */
.section-title.text-left {
    color: var(--heading-color);
    font-weight: 200;
    letter-spacing: clamp(1px, 0.5vw, 2px);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.section-title.text-left::after {
    display: none;
}

/* Ensure consistent margins for Revolucionarna tehnologija section */
/* #technology uses float-image-layout, so it follows the general float-image-layout styles */

#technology .split-layout.reverse-layout .text-side {
    padding-left: clamp(10px, 2vw, 20px);
    padding-right: 0;
}

/* Ensure all bg-warm sections have consistent container padding */
.bg-warm .container {
    padding: 0 clamp(20px, 4vw, 40px);
}

.text-side h4 {
    color: var(--primary-color);
    font-weight: 300;
    margin-top: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.text-side h3 {
    font-size: clamp(1.3rem, 3vw, 2rem);
    margin-bottom: clamp(1rem, 2vw, 1.5rem);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.text-side h2 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    margin-bottom: clamp(2rem, 4vw, 3rem);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Modern Image-Text Correlation */
.split-layout {
    gap: 50px;
}

.text-side p {
    color: var(--text-color);
    line-height: 1.8;
}

.text-side ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    border: none;
    background: none;
}

.text-side ul li {
    color: var(--text-color);
    line-height: 1.8;
    font-weight: 300;
    margin-bottom: 1rem;
    padding-left: 0;
    border: none;
    background: none;
}

.text-side ul li strong {
    color: var(--primary-color);
    font-weight: 400;
}

/* Inline Instagram link in text */
.instagram-link-inline {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.instagram-link-inline i {
    font-size: 1rem;
    color: var(--primary-color);
    width: 1rem;
    height: 1rem;
    display: inline-block;
}

.instagram-link-inline i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.instagram-link-inline:hover {
    color: var(--dark-bg);
    text-decoration: underline;
}

.instagram-link-inline:hover i {
    color: var(--dark-bg);
}

/* Instagram button for giveaway section */
.instagram-btn-giveaway {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px; /* Fixed padding */
    background-color: var(--dark-bg);
    color: #FFFFFF;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(135, 124, 109, 0.3);
    margin-top: 1rem;
    margin-bottom: 2rem;
    border: 1px solid #FBFBF8;
    width: fit-content; /* Ensure button doesn't stretch */
    margin-left: auto;
    margin-right: auto;
}

.instagram-btn-giveaway i {
    width: 1.2rem;
    height: 1.2rem;
    color: #FFFFFF;
}

.instagram-btn-giveaway i svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
}

.instagram-btn-giveaway:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 124, 109, 0.4);
    background-color: var(--primary-color);
    border-color: #FCFCFA;
}

.instagram-btn-giveaway:active {
    transform: translateY(0);
}

/* Remove any borders from h4 in text-side */
.text-side h4 {
    border: none;
    background: none;
}

.image-side img:not(.laser-slide):not(.logo-img):not(.footer-logo-img) {
    border-radius: 20px !important; /* Rounded corners for all images except hero and logos */
    box-shadow: none !important; /* Remove shadow from all images except hero */
    max-width: 90% !important; /* Same as content-layout-vertical */
    max-height: 80vh !important; /* Same as content-layout-vertical */
    animation: zoomInOut 20s infinite ease-in-out !important; /* Same animation */
    animation-play-state: running !important;
    transform: scale(1.05);
    transition: none !important;
    transform-origin: center center;
}

.image-side img:not(.laser-slide):not(.logo-img):not(.footer-logo-img):hover {
    transform: scale(1.05) !important; /* Keep same scale on hover */
    box-shadow: none !important; /* No shadow on hover either */
}

/* Responsive */
@media (max-width: 960px) {
    h1 { 
        font-size: clamp(2rem, 5vw, 2.5rem); 
        letter-spacing: clamp(1px, 0.5vw, 2px); 
    }
    h2 { 
        font-size: clamp(1.8rem, 4vw, 2rem); 
        line-height: 1.3;
    }
    .hero-welcome-text {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: clamp(3px, 1.5vw, 10px);
        max-width: 90vw;
    }
    
    .laser-images-stack {
        max-width: 100%;
        gap: 15px;
    }
    
    /* Maintain structure - convert to single column but preserve order */
    .split-layout { 
        grid-template-columns: 1fr; 
        gap: 40px; 
        display: grid; /* Ensure grid layout */
    }
    .text-side { 
        padding-right: 0; 
        order: 1; /* Text first */
    }
    .image-side {
        order: 2; /* Image second */
    }
    .split-layout.reverse-layout .text-side { 
        padding-left: 0; 
        order: 2; /* Text second in reverse layout */
    }
    .split-layout.reverse-layout .image-side {
        order: 1; /* Image first in reverse layout */
    }
    
    .image-side img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: none;
        object-fit: cover;
        margin-top: 20px;
    }
    
    /* Ensure structure is maintained */
    .split-layout.reverse-layout {
        display: grid; /* Use grid for better control */
        grid-template-columns: 1fr;
    }
    
    .split-layout.reverse-layout .image-side img {
        margin-top: 30px;
        margin-bottom: 0;
    }
    
    /* Maintain container structure */
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    /* Ensure sections maintain structure */
    .section {
        padding: 60px 0;
        width: 100%;
        overflow-x: hidden;
    }
    
    .process-grid { grid-template-columns: 1fr; gap: 50px; }
    .gallery-grid { grid-template-columns: 1fr; }
    
    .navbar { padding: 20px 30px; }
    
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .floating-booking-btn {
        min-width: 110px !important;
        height: 32px !important;
        bottom: 20px !important;
        right: 30px !important;
        padding: 0 14px !important;
        gap: 6px !important;
        background-color: #A89A8A !important;
    }
    
    .floating-booking-btn i {
        font-size: 0.7rem !important;
        width: 0.7rem !important;
        height: 0.7rem !important;
    }
    
    .floating-booking-btn .btn-text {
        font-size: 0.6rem !important;
        letter-spacing: 2px !important;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2) !important;
    }
    
    .floating-booking-btn:hover .btn-text {
        letter-spacing: 2.5px !important;
    }
    
    .nav-links a {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }
    
    /* LightSheer Quattro Section - Mobile Optimization */
    .laser-slideshow {
        max-width: 100%;
        margin: 0 auto;
        min-height: 300px;
    }
    
    .laser-slide {
        min-height: 300px;
    }
    
    /* Adjust long titles on mobile - maintain brand font */
    h3 {
        font-family: var(--font-header); /* ALTA font for headers */
        font-size: 1.3rem !important;
        line-height: 1.5 !important;
        word-wrap: break-word;
        hyphens: auto;
        margin-bottom: 1rem !important;
        font-weight: 400;
    }
    
    /* Specific styling for LightSheer Quattro title */
    .text-side h3[style*="font-size: 2rem"] {
        font-family: var(--font-header); /* ALTA font for headers */
        font-size: 1.4rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.2rem !important;
        font-weight: 400;
    }
    
    /* Ensure headings maintain brand font */
    h1, h2, h4, h5, h6 {
        font-family: var(--font-header); /* ALTA font for headers */
        font-weight: 400;
    }
    
    /* Feature list mobile optimization */
    .feature-list {
        padding: 1.5rem 0 !important;
    }
    
    .feature-list li {
        font-size: 0.9rem !important;
        line-height: 1.7 !important;
        margin-bottom: 1.2rem !important;
        padding-right: 10px;
    }
    
    .feature-list li strong {
        display: block;
        margin-bottom: 0.3rem;
        font-size: 0.95rem;
    }
    
    /* Better text wrapping for long content - maintain brand font */
    .text-side p {
        font-family: var(--font-main); /* Helvetica Now for paragraphs */
        font-size: 0.95rem;
        line-height: 1.7;
        word-wrap: break-word;
        font-weight: 300;
    }
    
    /* Ensure all text elements use brand fonts */
    .text-side li, .text-side span, .text-side div {
        font-family: var(--font-main); /* Helvetica Now for subheaders and paragraphs */
    }
    
    .laser-images-stack {
        gap: 10px;
    }
    
    .laser-images-stack img {
        border-radius: 6px;
    }
}

/* Background Music Player - Hidden */
#backgroundMusic {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

/* Additional mobile optimizations for very small screens */
@media (max-width: 600px) {
    h3 {
        font-size: clamp(1.1rem, 3vw, 1.3rem) !important;
        letter-spacing: clamp(0.5px, 0.3vw, 1px) !important;
        line-height: 1.3 !important;
    }
    
    .feature-list li {
        font-size: clamp(0.85rem, 2vw, 0.9rem) !important;
        line-height: 1.6 !important;
    }
    
    .hero-welcome-text {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: clamp(2px, 1vw, 8px);
        max-width: 95vw;
        padding: 0 10px;
    }
    
    .text-side p {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
        line-height: 1.7;
    }
    
    .laser-slideshow {
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .container {
        padding: 0 clamp(15px, 3vw, 20px);
    }
    
    .section {
        padding: clamp(30px, 6vw, 60px) 0;
    }
}

/* Extra small screens */
@media (max-width: 375px) {
    .hero-welcome-text {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        letter-spacing: clamp(1px, 0.8vw, 5px);
    }
    
    h2 {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }
    
    .container {
        padding: 0 15px;
    }
}






/* --- TEAM SECTION STYLES --- */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 5rem;
    margin-top: 6rem;
    padding: 0 20px;
}

.team-member-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

.member-image-container {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 45px rgba(0,0,0,0.12);
    transition: transform 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    background: var(--secondary-color);
    border: 1px solid #E8E0D4;
}

.member-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.team-member-card:hover .member-photo {
    transform: scale(1.08);
}

.member-info {
    text-align: center;
    padding: 1.5rem;
    opacity: 0;
    transform: translateX(30px);
    transition: all 1s cubic-bezier(0.19, 1, 0.22, 1);
    transition-delay: 0.3s;
    position: absolute;
    left: 200px;
    width: 300px;
    pointer-events: none;
    z-index: 1;
}

.team-member-card.visible .member-image-container {
    transform: translateX(-150px);
}

.team-member-card.visible .member-info {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

@media (max-width: 1024px) {
    .team-members-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .member-info {
        position: relative;
        left: 0;
        width: 100%;
        margin-top: 1rem;
        transform: translateY(20px);
        transition-delay: 0s;
    }
    
    .team-member-card.visible .member-image-container {
        transform: translateX(0) scale(0.9);
    }
    
    .team-member-card.visible .member-info {
        transform: translateY(0);
    }
    
    .member-image-container {
        width: 200px;
        height: 200px;
    }
}

/* Team Section Portrait/iPhone View */
@media (orientation: portrait) {
    .team-landscape-wrapper {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Big photo first */
    #team .content-layout-vertical.team-main-image {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 1 !important;
    }
    
    #team .content-layout-vertical.team-main-image .image-side {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    #team .content-layout-vertical.team-main-image .image-side img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 60vh !important;
        object-fit: cover !important;
        border-radius: 20px !important;
    }
    
    /* Team members grid - circular photos with text underneath */
    .team-members-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 3rem !important;
        margin: 2rem 0 0 0 !important;
        padding: 0 20px !important;
        order: 2 !important;
        width: 100% !important;
    }
    
    .team-member-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .team-member-card .member-image-container {
        width: 200px !important;
        height: 200px !important;
        margin: 0 auto 1.5rem auto !important;
        order: 1 !important;
    }
    
    .team-member-card .team-member-text-card {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 !important;
        padding: 0 !important;
        order: 2 !important;
    }
    
    .team-member-text-card h3 {
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: 1.5rem !important;
        text-align: center !important;
    }
    
    .team-member-text-card .technician-title {
        margin-bottom: 1rem !important;
        text-align: center !important;
    }
    
    .team-member-text-card p {
        margin-bottom: 0 !important;
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
        text-align: center !important;
    }
    
    /* Hide the separate team-members-text div in portrait */
    .team-members-text {
        display: none !important;
    }
}

/* --- GOOGLE REVIEWS STYLES --- */
#reviews {
    background-color: var(--secondary-color);
    padding-bottom: 80px;
}

.reviews-container {
    max-width: 1100px;
    margin: 0 auto;
}

.google-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
    padding: 2rem 1.5rem; /* Increased top padding to ensure logo is fully visible */
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #F0EBE3;
    animation: fadeInDown 0.8s ease-out;
    overflow: visible; /* Ensure logo is not clipped */
}

.google-logo {
    height: 80px !important; /* Increased to show full logo */
    margin-bottom: 1rem;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important; /* Ensure full logo is visible */
    border-radius: 0 !important; /* Ensure logo is not circular */
}

.badge-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.rating-score {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary-color);
}

.stars {
    display: flex;
    gap: 2px;
}

.star-filled {
    fill: #FBBC05;
    color: #FBBC05;
    width: 18px;
    height: 18px;
}

.review-count {
    font-size: 0.85rem;
    color: #888;
    font-weight: 200;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.review-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #F2EDE6;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 1; /* Make visible as requested for all images/content */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(135, 124, 109, 0.1);
    border-color: var(--accent-color);
}

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

.user-avatar {
    width: 45px;
    height: 45px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 300;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 1rem;
    font-weight: 400;
    color: var(--primary-color);
    text-transform: none;
    letter-spacing: 0.5px;
}

.stars-mini {
    display: flex;
    gap: 1px;
}

.stars-mini .star-filled {
    width: 14px;
    height: 14px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 0;
    font-weight: 100;
}

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

@media (max-width: 960px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .review-card {
        padding: 2rem;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- TEAM LANDSCAPE FIX --- */
@media (orientation: landscape) {
    .team-landscape-wrapper {
        display: grid !important;
        grid-template-columns: 1.2fr 0.7fr 1.1fr !important; /* Main image left, circular images middle, text right */
        gap: clamp(30px, 4vw, 60px) !important;
        align-items: center !important; /* Center align all columns vertically */
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        margin-top: clamp(2rem, 4vw, 3rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    #team .content-layout-vertical {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    #team .content-layout-vertical .image-side {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important; /* Stays within container margins */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    #team .content-layout-vertical .image-side img {
        width: 100% !important;
        height: auto !important;
        max-height: 80vh !important; /* Larger image */
        object-fit: cover !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    .team-members-grid {
        margin-top: 0 !important;
        grid-template-columns: 1fr !important; /* Stack circular images vertically */
        gap: 2.5rem !important;
        padding: 0 !important;
        width: 100% !important;
        display: grid !important;
        align-items: center !important;
        justify-items: center !important; /* Center items horizontally */
    }
    
    .team-member-card {
        display: block !important; /* In landscape, only show circular image */
        width: 100% !important;
        position: relative !important;
        padding: 0 !important;
    }
    
    .team-member-card .member-image-container {
        width: 160px !important;
        height: 160px !important;
        flex-shrink: 0 !important;
        position: relative !important;
        transform: none !important;
        margin: 0 auto !important; /* Center circular image */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .team-member-card .member-image-container img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
    }
    
    /* Hide text cards within team-member-card in landscape - use separate text section */
    .team-member-card .team-member-text-card {
        display: none !important;
    }
    
    /* Team members text section - right column */
    .team-members-text {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding: 0 !important;
        width: 100% !important;
        align-items: center !important;
    }
    
    .team-members-text .team-member-text-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        width: 100% !important;
        text-align: left !important;
        padding: 0 !important; /* Stays within container margins */
    }
    
    .team-members-text .team-member-text-card h3 {
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
        text-align: left !important;
    }
    
    .team-members-text .team-member-text-card .technician-title {
        margin-bottom: 1rem !important;
        text-align: left !important;
    }
    
    .team-members-text .team-member-text-card p {
        margin-bottom: 0 !important;
        font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
        line-height: 1.8 !important;
        text-align: left !important;
    }
    
    .team-member-card .member-info h3 {
        margin-top: 0 !important;
        margin-bottom: 0.5rem !important;
        font-size: clamp(1.5rem, 2.5vw, 2rem) !important;
    }
    
    .team-member-card .member-info .technician-title {
        margin-bottom: 1rem !important;
    }
    
    .team-member-card .member-info p {
        margin-bottom: 0 !important;
        font-size: clamp(1.05rem, 1.25vw, 1.25rem) !important;
        line-height: 1.8 !important;
    }
    
    .team-member-card.visible .member-image-container {
        transform: none !important;
    }
    
    .team-member-card.visible .member-info {
        opacity: 1 !important;
        transform: none !important;
    }
}

.technician-title {
    font-size: 0.9rem; 
    color: var(--primary-color); 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    margin-bottom: 1rem;
}

/* --- ADDITIONAL UI FIXES --- */
.instructions-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

/* Instructions grid in portrait - centered with gap in middle */
@media (orientation: portrait) {
    .instructions-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 3rem !important;
        max-width: 1000px !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
        justify-items: center !important;
    }
}

/* Instructions grid in landscape - left "Prije dolaska", right "Nakon tretmana" */
@media (orientation: landscape) {
    #instructions .instructions-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important; /* Left "Prije dolaska", right "Nakon tretmana" */
        gap: clamp(30px, 4vw, 80px) !important; /* Reduced gap to match other sections */
        max-width: 1400px !important; /* Same max-width as other sections */
        margin: 0 auto !important;
        padding: 0 !important;
        align-items: flex-start !important;
    }
}

/* Fix team section info alignment */
.team-member-card {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

.team-member-card .member-image-container {
    transform: none !important; /* Remove horizontal slide */
    margin-bottom: 1.5rem !important;
}

.team-member-card .member-info {
    position: static !important; /* Bring text under image */
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
    padding: 0 !important;
}

/* Float image logic - ONLY FOR LANDSCAPE - Consolidated styles (duplicate removed, using styles from line 387) */

/* LightSheer intro text in portrait */
@media (orientation: portrait) {
    #lightsheer .lightsheer-intro-text {
        text-align: left;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 20px;
    }
    
    #lightsheer .lightsheer-intro-text p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 0;
        text-align: left;
    }
    
    /* Info conclusion text in portrait */
    #info .info-conclusion-text {
        text-align: left;
        max-width: 100%;
        margin: 2rem 0 0 0;
        padding: 0 20px;
    }
    
    #info .info-conclusion-text p,
    #info .info-conclusion-text h4 {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    #info .info-conclusion-text h4 {
        font-size: 1.3rem;
    }
    
    /* Dreams section intro and conclusion text in portrait */
    .dreams-intro-text {
        text-align: left;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 20px;
    }
    
    .dreams-intro-text p {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .dreams-conclusion-text {
        text-align: left;
        max-width: 100%;
        margin: 2rem 0 0 0;
        padding: 0 20px;
    }
    
    .dreams-conclusion-text p {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .dreams-conclusion-text h4 {
        text-align: left;
        font-size: 1.3rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
        color: var(--primary-color);
        font-weight: 300;
    }
    
    /* Info section intro text in portrait */
    #info .info-intro-text {
        text-align: left;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 20px;
    }
    
    #info .info-intro-text p {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    /* Treatments section intro and conclusion text in portrait */
    .treatments-intro-text {
        text-align: left;
        max-width: 100%;
        margin: 0 0 2rem 0;
        padding: 0 20px;
    }
    
    .treatments-intro-text p {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .treatments-conclusion-text {
        text-align: left;
        max-width: 100%;
        margin: 2rem 0 0 0;
        padding: 0 20px;
    }
    
    .treatments-conclusion-text p {
        text-align: left;
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    /* Vacuum technology title in portrait mode */
    .vacuum-technology-title {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        text-align: center !important;
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
        letter-spacing: 0.5px !important;
        padding: 2rem 20px !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
    
    /* Vacuum technology content in portrait mode */
    .vacuum-technology-content {
        width: 100vw !important;
        position: relative !important;
        left: 50% !important;
        right: 50% !important;
        margin-left: -50vw !important;
        margin-right: -50vw !important;
        padding: 2rem 20px !important;
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
    }
    
    .vacuum-technology-content p {
        text-align: center !important;
        font-size: 1.1rem !important;
        line-height: 1.8 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .vacuum-technology-content ul {
        text-align: center !important;
        list-style: none !important;
        padding-left: 0 !important;
        margin: 2rem auto !important;
        display: inline-block !important;
    }
    
    .vacuum-technology-content ul li {
        text-align: left !important;
        margin-bottom: 1rem !important;
        padding-left: 1.5rem !important;
        position: relative !important;
        font-size: 1.05rem !important;
        line-height: 1.8 !important;
    }
    
    .vacuum-technology-content ul li::before {
        content: "•" !important;
        position: absolute !important;
        left: 0 !important;
        color: var(--primary-color) !important;
    }
}

/* Standard vertical layout for PORTRAIT/MOBILE */
@media (orientation: portrait) {
    .float-image-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem;
    }

    .float-image-layout .image-side {
        float: none !important;
        width: 100% !important;
        margin-right: 0 !important;
        display: flex;
        justify-content: center;
    }

    .float-image-layout .image-side img {
        max-width: 90% !important; /* Same as content-layout-vertical */
        max-height: 80vh !important; /* Same as content-layout-vertical */
        border-radius: 20px !important;
        animation: zoomInOut 20s infinite ease-in-out !important; /* Same animation */
        animation-play-state: running !important;
        transform: scale(1.05);
        object-fit: cover;
    }

    .float-image-layout .text-side {
        width: 100% !important;
        padding: 0 20px;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Ensure Instagram button is centered in portrait */
    .float-image-layout .instagram-btn-giveaway {
        margin: 2rem auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        right: auto !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Center text and fix right edge issues */
.text-center-fix {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Footer line adjustment */
.footer-bottom {
    border-top: none !important;
}

.footer-section::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: #E8E6E4;
    margin-top: 40px;
}
