/* ========================================
   ELOWEN NATURE RETREAT & POOL VILLA
   Modern Nature Retreat Design System
======================================== */

/* ========================================
   CSS VARIABLES & ROOT
======================================== */

:root {
    /* Nature Color Palette */
    --color-primary: #2D5F3F;        /* Forest green */
    --color-primary-light: #7CAA85;  /* Light green */
    --color-primary-dark: #1A3A28;   /* Dark forest */
    --color-secondary: #4A9FBD;      /* Pool blue */
    --color-secondary-light: #8BC9DC;
    --color-accent: #8B6F47;         /* Natural wood */
    --color-accent-light: #B8996F;

    /* Neutral Colors */
    --color-white: #FFFFFF;
    --color-cream: #F7F6F2;
    --color-sand: #EAE7DF;
    --color-gray-light: #E5E5E5;
    --color-gray: #7A7A7A;
    --color-dark: #2C3E2C;
    --color-black: #1A1A1A;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Font Sizes */
    --fs-hero: clamp(2.5rem, 6vw, 5rem);
    --fs-h1: clamp(2.25rem, 5vw, 4rem);
    --fs-h2: clamp(2rem, 4vw, 3.25rem);
    --fs-h3: clamp(1.5rem, 3vw, 2.25rem);
    --fs-h4: clamp(1.25rem, 2.5vw, 1.75rem);
    --fs-body: clamp(1rem, 1.5vw, 1.125rem);
    --fs-small: clamp(0.875rem, 1.2vw, 1rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-2xl: 8rem;
    --space-3xl: 10rem;

    /* Container */
    --container-max: 1200px;
    --container-padding: 2rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: all 0.3s ease;
    --transition-fast: all 0.2s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);

    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
}

/* ========================================
   RESET & BASE STYLES
======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-dark);
    background-color: var(--color-cream);
    overflow-x: hidden !important;
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-medium);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

/* ========================================
   TYPOGRAPHY
======================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p {
    margin-bottom: 1.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

.section-title {
    font-size: var(--fs-h2);
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray);
}

/* ========================================
   CONTAINER & LAYOUT
======================================== */

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* ========================================
   BUTTONS
======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-heading);
    border-radius: var(--radius-md);
    transition: var(--transition-medium);
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--color-secondary);
    color: var(--color-white);
}

.btn-secondary:hover {
    background: #3A8FAD;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ========================================
   NAVIGATION
======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 300;
    padding: 1.5rem 0;
    transition: var(--transition-medium);
    background: transparent;
    overflow: visible !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    overflow: visible !important;
    z-index: 300;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible !important;
    position: relative;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.navbar.scrolled .logo-text {
    color: var(--color-primary) !important;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    position: relative;
    transition: var(--transition-medium);
}

.navbar.scrolled .nav-link,
.navbar.scrolled .nav-links .nav-link,
#navbar.scrolled .nav-link {
    color: var(--color-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-btn {
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-medium);
}

.nav-btn:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.navbar.scrolled .nav-btn {
    color: var(--color-white) !important;
}

/* Hamburger Menu - DESKTOP SKRIVEN */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 100000 !important;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 3px;
    transition: var(--transition-medium);
    display: block;
}

.navbar.scrolled .hamburger span {
    background: var(--color-white) !important;
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(29, 63, 47, 0.5) 0%,
        rgba(29, 63, 47, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    padding: 0 2rem;
}

.hero-label {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    color: var(--color-secondary-light);
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--color-white);
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.95;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTIONS
======================================== */

section {
    padding: var(--space-2xl) 0;
}

.section-white {
    background: var(--color-white);
}

.section-cream {
    background: var(--color-cream);
}

.section-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.section-primary .section-title,
.section-primary h2,
.section-primary h3 {
    color: var(--color-white);
}

/* ========================================
   ABOUT SECTION
======================================== */

.about-section {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 550px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.about-feature i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

/* ========================================
   FEATURES GRID
======================================== */

.features-section {
    background: var(--color-cream);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.feature-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-gray);
}

/* ========================================
   ROOMS SECTION
======================================== */

.rooms-section {
    background: var(--color-white);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.room-card {
    background: var(--color-cream);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-medium);
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.room-image {
    height: 300px;
    overflow: hidden;
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.room-card:hover .room-image img {
    transform: scale(1.1);
}

.room-content {
    padding: var(--space-md);
}

.room-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--color-dark);
}

.room-description {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
}

.room-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.room-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-dark);
}

.room-feature i {
    color: var(--color-primary);
}

/* ========================================
   AMENITIES SECTION
======================================== */

.amenities-section {
    background: var(--color-primary);
    color: var(--color-white);
}

.amenities-section .section-label {
    color: var(--color-secondary-light);
}

.amenities-section .section-title {
    color: var(--color-white);
}

.amenities-section .section-description {
    color: rgba(255, 255, 255, 0.9);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-medium);
}

.amenity-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.amenity-item i {
    font-size: 1.75rem;
    color: var(--color-secondary-light);
}

.amenity-text {
    font-size: 1.05rem;
    font-weight: 500;
}

/* ========================================
   GALLERY
======================================== */

.gallery-section {
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    height: 350px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 95, 63, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-medium);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay i {
    font-size: 3rem;
    color: var(--color-white);
}

/* ========================================
   CTA SECTION
======================================== */

.cta-section {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--color-secondary-light);
}

.cta-title {
    font-size: var(--fs-h2);
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.cta-text {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   FOOTER
======================================== */

.footer {
    background: var(--color-primary-dark);
    color: #FFFFFF !important;
    padding: var(--space-xl) 0 var(--space-md);
}

/* Force white color on ALL footer elements */
.footer * {
    color: #FFFFFF !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF !important;
}

.footer-tagline {
    font-size: 1rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    color: #FFFFFF !important;
}

.footer-text {
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
}

.footer-title {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #FFFFFF !important;
    font-weight: 600;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #FFFFFF !important;
    opacity: 0.95;
    transition: var(--transition-medium);
    text-decoration: none;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.footer-contact i {
    margin-top: 3px;
    color: var(--color-secondary-light);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-medium);
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ========================================
   BACK TO TOP BUTTON
======================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-medium);
    z-index: var(--z-sticky);
    box-shadow: var(--shadow-md);
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 992px) {
    :root {
        --container-padding: 1.5rem;
        --space-3xl: 6rem;
        --space-2xl: 5rem;
        --space-xl: 4rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .about-image {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rooms-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   LANGUAGE SWITCHER - GLOBAL STYLES
======================================== */

.flag-icon {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
}

.lang-text {
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    vertical-align: middle;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========================================
   RESPONSIVE - DESKTOP (force normal navbar)
======================================== */

@media (min-width: 769px) {
    /* DESKTOP: Hamburger SKRIVEN */
    .hamburger,
    .navbar .hamburger,
    .navbar.scrolled .hamburger,
    #hamburger {
        display: none !important;
        visibility: hidden !important;
    }

    /* DESKTOP: nav-links NORMALAN flex layout GORE u navbar-u */
    .nav-links,
    .navbar .nav-links,
    #navLinks {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 2.5rem !important;
        background: transparent !important;
        padding: 0 !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        transform: none !important;
        right: auto !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* DESKTOP: Links vidljivi */
    .nav-links .nav-link,
    .nav-links a {
        display: inline-block !important;
    }

    /* UKLONI "ZATVORI MENI" button na desktopu */
    #closeMenuBtn {
        display: none !important;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 768px) {
    :root {
        --container-padding: 1.25rem;
        --space-3xl: 4rem;
        --space-2xl: 3rem;
        --space-xl: 2.5rem;
        --space-lg: 2rem;
    }

    /* Force everything to stay within viewport */
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
        width: 100% !important;
        position: relative !important;
    }

    * {
        max-width: 100% !important;
    }

    /* IZUZETAK: nav-links ne sme imati max-width */
    .nav-links,
    .nav-links * {
        max-width: none !important;
    }

    /* KRITIČNO: NE sakrivaj nav-links! */
    .navbar,
    .nav-container {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        clip-path: none !important;
        contain: none !important;
    }

    /* Logo i navbar elementi ISPOD menija */
    .logo,
    .logo-text,
    .navbar .logo,
    .navbar .logo-text {
        z-index: 1 !important;
        position: relative;
    }

    /* SVE sekcije (hero, about, features, itd.) ISPOD menija */
    section,
    .hero,
    .hero-content,
    .hero-title,
    .hero-subtitle,
    .hero-buttons,
    main,
    article {
        z-index: 1 !important;
    }

    /* ZELENI HAMBURGER - KAO NA HOME */
    .hamburger,
    .navbar .hamburger,
    #hamburger {
        width: 45px !important;
        height: 45px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 5px !important;
        background: #2D5F3F !important;
        border-radius: 8px !important;
        padding: 10px !important;
        cursor: pointer !important;
        z-index: 100000 !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2) !important;
    }

    .hamburger span,
    .navbar .hamburger span,
    #hamburger span {
        width: 28px !important;
        height: 3px !important;
        background: white !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }

    /* Hamburger postaje X - ZELENE linije */
    .hamburger.active,
    #hamburger.active {
        background: white !important;
        border: 3px solid #2D5F3F !important;
    }

    .hamburger.active span:nth-child(1),
    #hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px) !important;
        background: #2D5F3F !important;
    }

    .hamburger.active span:nth-child(2),
    #hamburger.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .hamburger.active span:nth-child(3),
    #hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px) !important;
        background: #2D5F3F !important;
    }

    .hero,
    section,
    footer,
    .container {
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }

    div, section, main, article, header, footer {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    [class*="grid"],
    [class*="row"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 100000 !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: all !important;
    }

    /* HAMBURGER VIDLJIV NA SVIM STRANICAMA - SCROLLED I NON-SCROLLED */
    .hamburger,
    .navbar .hamburger,
    .navbar.scrolled .hamburger,
    #hamburger {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 100000 !important;
    }

    .hamburger span,
    .navbar .hamburger span,
    .navbar.scrolled .hamburger span,
    #hamburger span {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 28px !important;
        height: 3px !important;
        background: white !important;
    }

    /* BELE linije i kada je scrolled */
    .navbar.scrolled .hamburger span {
        background: white !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        background: linear-gradient(135deg, rgba(45, 95, 63, 0.98) 0%, rgba(26, 58, 40, 0.98) 100%) !important;
        backdrop-filter: blur(10px) !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 3rem 2rem !important;
        gap: 2rem;
        box-shadow: none !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        z-index: 99999 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateZ(0) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .nav-links > * {
        pointer-events: all !important;
        z-index: 100002 !important;
    }

    /* "ZATVORI MENI" dugme - SAMO MOBILNI!!! */
    #closeMenuBtn {
        display: none !important; /* SKRIVEN na desktopu! */
    }

    @media (max-width: 768px) {
        #closeMenuBtn {
            display: block !important;
            position: absolute;
            top: 2rem;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            color: #2D5F3F;
            background: #FFFFFF;
            padding: 14px 30px;
            font-size: 18px;
            font-weight: 700;
            border-radius: 12px;
            border: none;
            cursor: pointer;
            z-index: 100001;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            pointer-events: all !important;
            transition: all 0.3s ease;
            min-width: 200px;
        }

        #closeMenuBtn:hover {
            background: #8BC9DC;
            color: #FFFFFF;
            transform: translateX(-50%) translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        #closeMenuBtn:active {
            transform: translateX(-50%) scale(0.98);
        }
    }

    /* FORSIRA da nav-links bude IZNAD svega */
    .navbar .nav-links,
    .nav-container .nav-links,
    body > .nav-links {
        position: fixed !important;
        z-index: 99999 !important;
    }

    .nav-links.active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
        display: flex !important;
    }

    /* UKLONJEN OVERLAY - NIŠTA NE BLOKIRA KLIKOVE */
    .nav-links::before {
        content: none !important;
        display: none !important;
    }

    .nav-links.active::before {
        content: none !important;
        display: none !important;
    }

    /* Mobile menu links - BELI TEKST na zelenoj pozadini */
    .nav-links .nav-link,
    .nav-links a,
    .nav-link,
    .navbar.scrolled .nav-link {
        color: #FFFFFF !important;
        font-size: 1.25rem;
        padding: 0.875rem 0;
        font-weight: 600;
        z-index: 100002 !important;
        pointer-events: all !important;
        position: relative !important;
        cursor: pointer !important;
        text-align: center;
        width: 100%;
        max-width: 300px;
    }

    .nav-links .nav-link:hover,
    .nav-links a:hover {
        color: #8BC9DC !important;
        transform: scale(1.05);
    }

    /* Mobile menu button - BELI BACKGROUND */
    .nav-links .nav-btn,
    .nav-links button {
        background: #FFFFFF !important;
        color: #2D5F3F !important;
        padding: 1rem 2rem;
        border-radius: 12px;
        width: 100%;
        max-width: 300px;
        text-align: center;
        margin-top: 1rem;
        font-size: 1.125rem;
        font-weight: 700;
        z-index: 100002 !important;
        pointer-events: all !important;
        cursor: pointer !important;
        position: relative !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .nav-links .nav-btn:hover,
    .nav-links button:hover {
        background: #8BC9DC !important;
        color: #FFFFFF !important;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }

    /* Mobile Language Switcher */
    .nav-links .language-switcher {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 2px solid rgba(255, 255, 255, 0.2);
        z-index: 100002 !important;
        position: relative !important;
    }

    .nav-links .lang-btn {
        padding: 12px 24px;
        border: 2px solid #FFFFFF;
        color: #FFFFFF;
        background: transparent;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        min-width: 90px;
        z-index: 100002 !important;
        pointer-events: all !important;
        cursor: pointer !important;
        position: relative !important;
        transition: all 0.3s ease;
    }

    .nav-links .lang-btn:hover {
        background: #FFFFFF;
        color: #2D5F3F;
        transform: scale(1.05);
    }

    .nav-links .lang-btn.active {
        background: #FFFFFF;
        color: #2D5F3F;
        border-color: #FFFFFF;
        box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
    }

    /* Flag icons and text in language switcher */
    .nav-links .flag-icon {
        width: 24px;
        height: 24px;
        object-fit: cover;
        border-radius: 4px;
    }

    .nav-links .lang-text {
        font-size: 16px;
        font-weight: 600;
    }

    .hero {
        min-height: 600px;
        height: auto;
        padding: 120px 0 60px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item {
        height: 300px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: var(--space-xl) 0;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1.5rem;
        right: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        width: 100%;
    }

    .btn {
        max-width: 100%;
    }

    .room-image {
        height: 250px;
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }

.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
