/*
Theme Name: SmileArt WP Theme
Author: Ales Jurancic
Description: WordPress verzija modularne strani SmileArt.
Version: 1.0
Text Domain: smileart
*/

/* 
   Colors:
   Blue: #032d52
   Gold: #edca96
*/

@font-face {
    font-family: 'Gotham';
    src: url('resources/fonts/Gotham-Book.woff2') format('woff2'),
         url('resources/fonts/Gotham-Book.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Gotham';
    src: url('resources/fonts/Gotham-Bold.woff2') format('woff2'),
         url('resources/fonts/Gotham-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

:root {
    --primary-blue: #032d52;
    --accent-gold: #edca96;
    --text-dark: #333;
    --bg-light: #f9f9f9;
    --white: #ffffff;
}

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

html {
    overflow-x: hidden;
    width: 100vw;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Stroga prepoved vodoravnega drsenja */
}

body {
    padding-top: 90px; /* Višina originalnega headerja (60px logo + 30px padding) */
    font-family: 'Gotham', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    position: relative;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Mobile: reduce padding for more compact layout */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

/* Header & Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 15px 0;
    position: fixed; /* Spremenjeno iz sticky v fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* DODANO: Potisnemo vsebino navzdol, ker je fixed header "izven" toka strani */
body {
    padding-top: 90px; /* Višina originalnega headerja (60px logo + 30px padding) */
    font-family: 'Gotham', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    position: relative;
}

/* DODANO: Popravek za mobilni meni, da se ne prekriva z novo višino */
@media (max-width: 768px) {
    body {
        padding-top: 65px; /* Compacted for mobile */
    }
}

header.header-scrolled {
    padding: 5px 0;
    background-color: rgba(255, 255, 255, 0.95); /* Rahlo prosojno */
    backdrop-filter: blur(10px); /* Modern učinek zameglitve ozadja */
}

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

.logo img {
    height: 60px; /* Nastavljeno na 60px */
    display: block;
    transition: height 0.3s ease; /* DODANO: Za mehko krčenje logotipa */
}

/* DODANO: Manjši logotip ob pomiku */
header.header-scrolled .logo img {
    height: 45px;
}

/* Mobile: smaller logo */
@media (max-width: 768px) {
    .logo img {
        height: 48px;
    }
    header.header-scrolled .logo img {
        height: 40px;
    }
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: bold;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Hero Section & Appointment Composer */
.hero {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

/* Mobile: reduce hero padding */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0 40px;
    }
}

.appointment-composer {
    background: var(--white);
    color: var(--text-dark);
    max-width: 500px;
    margin: 40px auto 0;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.appointment-composer h3 {
    margin-bottom: 20px;
    color: var(--primary-blue);
    font-size: 1.4rem;
}

/* Mobile: more compact appointment form */
@media (max-width: 768px) {
    .appointment-composer {
        margin: 25px auto 0;
        padding: 20px 18px;
        border-radius: 10px;
    }
    .appointment-composer h3 {
        font-size: 1.15rem;
        margin-bottom: 15px;
    }
}

.appointment-composer .form-group {
    display: block; /* Spremenjeno iz grid v block */
    margin-bottom: 10px;
}

.appointment-composer input, 
.appointment-composer textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.9rem;
}

.appointment-composer textarea {
    height: 80px;
    resize: none;
    margin-bottom: 15px;
}

/* Mobile: compact form fields */
@media (max-width: 768px) {
    .appointment-composer .form-group {
        margin-bottom: 8px;
    }
    .appointment-composer input, 
    .appointment-composer textarea {
        padding: 10px;
        font-size: 0.85rem;
    }
    .appointment-composer textarea {
        height: 70px;
        margin-bottom: 12px;
    }
}

.appointment-composer .btn {
    width: 100%;
    border: none;
    cursor: pointer;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(3, 45, 82, 0.2);
}

.appointment-composer .btn:hover {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(237, 202, 150, 0.3);
}

.appointment-composer .btn:active {
    transform: translateY(0);
}

/* Global Module Styles */
.module-header {
    margin-bottom: 50px;
    text-align: center;
}

.title-accent {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto;
}

/* Mobile: compact module headers */
@media (max-width: 768px) {
    .module-header {
        margin-bottom: 30px;
    }
    .module-header h2 {
        font-size: 1.5rem !important;
    }
}

/* Services Section */
.services {
    background-color: var(--bg-light);
    padding: 100px 0;
    text-align: center;
    width: 100%;
    overflow: hidden; /* Odreže vse, kar bi štrlelo ven */
}

.services .module-header {
    margin-bottom: 60px;
}

.services h2 {
    margin-bottom: 15px;
    color: var(--primary-blue);
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Mobile: compact services section */
@media (max-width: 768px) {
    .services {
        padding: 50px 0;
    }
    .services .module-header {
        margin-bottom: 35px;
    }
    .services-grid {
        gap: 20px;
    }
}

.service-card {
    flex: 0 0 280px; /* Nekoliko ožje kartice za boljšo stabilnost na mobilnikih */
    scroll-snap-align: center;
    scroll-snap-stop: always; /* DODANO: Prisili ustavljanje na vsaki kartici posebej */
    padding: 35px 30px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centriranje vsebine v kartici */
    text-align: center;
    background: var(--white);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
}

.service-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    min-height: 3.5em;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3;
}

.service-card .teaser {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Posodobitev gumba v sliderju */
.service-card .btn-link {
    margin-top: auto;
    padding: 8px 20px;
    font-size: 0.75rem;
}

/* Services Slider */
.services-slider-container {
    position: relative;
    width: 100%;
    padding: 20px 0;
}

.services-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 0 20px; /* Odstranjen stranski padding, ki je povzročal težave */
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
}

/* First Visit Section - SREBRNA */
.first-visit {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    padding: 20px;
}

.step-num {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    border-radius: 50%;
    line-height: 40px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Instructions Section - BELA */
.instructions {
    background-color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.instruction-item {
    background: var(--bg-light); /* Spremenjeno iz var(--white) v var(--bg-light) */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.instruction-item h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
}

/* About Section - SREBRNA */
.about {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

/* Enforce consistent section title colors */
.about h2,
.services h2,
.first-visit h2,
.instructions h2 {
    color: var(--primary-blue);
    margin-bottom: 40px;
}

.about h2 {
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about p {
    max-width: 800px;
    margin: 0 auto;
}

/* Enoten sistem za razširljivo vsebino */
.full-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
    opacity: 0;
    white-space: pre-line;
    width: 100%;
    margin: 0 auto;
}

/* Ko je modul razširjen */
.expandable-module.is-expanded .full-content {
    max-height: 3000px; /* Dovolj za katero koli besedilo */
    opacity: 1;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Specifične omejitve širine za tekstovne sekcije (da ni predolgo čez cel zaslon) */
.about .teaser, .about .full-content,
.instructions .teaser, .instructions .full-content {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Gumb za preklop */
.toggle-btn {
    background: none;
    border: none;
    color: var(--accent-gold);
    font-family: 'Gotham', sans-serif;
    font-weight: bold;
    cursor: pointer;
    padding: 15px 0;
    font-size: 0.9rem;
    text-decoration: underline;
    display: inline-block;
}

/* Enoten stil za tekstovne gumbe (Več... / Preberi več...) */
.btn-link, .toggle-btn {
    background: transparent !important;
    border: 2px solid var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    font-family: 'Gotham', sans-serif;
    font-weight: bold;
    cursor: pointer;
    padding: 10px 25px;
    font-size: 0.85rem;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 50px;
    outline: none;
}

.btn-link:hover, .toggle-btn:hover {
    background-color: var(--accent-gold) !important;
    color: var(--white) !important;
    opacity: 1;
}

.service-card .btn-link {
    margin-top: auto;
    padding: 8px 20px;
    font-size: 0.75rem;
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 40px;
    text-align: center;
}

footer h2 {
    color: var(--accent-gold);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 60px;
    text-align: left;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(237, 202, 150, 0.3);
    line-height: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    height: 350px;
    position: relative;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
}

.map-directions-link {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #01233F;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10;
    transition: all 0.3s ease;
    display: none; /* Hidden by default, show on mobile */
}

.map-directions-link:hover {
    background: #EDCA96;
    color: #01233F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
}

.contact-item strong {
    color: var(--accent-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.contact-link {
    display: inline-block;
    white-space: nowrap;
    font-size: 1.2rem;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Footer Legal Section - ZDRUŽENO */
.footer-legal {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(237, 202, 150, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-legal a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.footer-legal a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-legal .separator {
    color: rgba(237, 202, 150, 0.3);
    font-size: 0.8rem;
}

.copyright {
    margin-top: 20px;
    font-size: 0.85rem;
    opacity: 0.5;
}

/* Mobilne prilagoditve */
@media (max-width: 768px) {
    footer {
        padding: 40px 0 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-container {
        height: 280px; /* Malo višji zemljevid za boljšo preglednost */
        order: 2;
    }

    .map-directions-link {
        display: block; /* Show directions link on mobile */
    }

    .contact-info {
        order: 1;
        text-align: center;
        align-items: center;
    }

    .contact-item {
        align-items: center;
    }

    .footer-legal {
        flex-wrap: nowrap; /* Prisili v eno vrstico */
        gap: 8px;
        font-size: 0.65rem;
        margin-top: 30px;
    }

    .footer-legal a, 
    .footer-legal .separator {
        font-size: 0.65rem;
    }
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    border: 2px solid var(--accent-gold);
    color: var(--primary-blue);
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    opacity: 0;
}

.slider-arrow.prev {
    left: 25px; /* Povečan odmik na desktopu */
}

.slider-arrow.next {
    right: 25px; /* Povečan odmik na desktopu */
}

/* Popravek za iframe v footerju */
.map-container iframe {
    width: 100%;
    max-width: 100%;
    display: block;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px; /* Povečano, da se popolnoma skrije, ko ni aktivna */
    left: 0;
    width: 100%;
    background: rgba(3, 45, 82, 0.98); /* Malo manj prosojno za boljšo berljivost */
    color: white;
    padding: 15px 0;
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 2px solid var(--accent-gold);
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.cookie-banner.show {
    bottom: 0;
}

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

.cookie-content p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

.btn-small {
    padding: 8px 20px;
    font-size: 0.8rem;
    min-width: 100px;
}

/* Footer Legal Section */
.footer-legal {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(237, 202, 150, 0.2); /* Nežna zlata črta */
    text-align: center;
}

.footer-legal a {
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 0.85rem;
    transition: opacity 0.3s;
    margin: 0 10px;
}

.footer-legal a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.footer-legal .separator {
    color: rgba(237, 202, 150, 0.3);
    font-size: 0.8rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Animacija hamburgerja v X */
.menu-toggle.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.no-scroll { overflow: hidden; }

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 45, 82, 0.8); /* Vaša modra s prosojnostjo */
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    margin: 0 20px;
    padding: 40px;
    border-radius: 15px;
    max-width: 700px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 4px solid var(--accent-gold);
    max-height: 90vh; /* Prepreči, da bi okno šlo čez rob zaslona */
    overflow-y: auto; /* Omogoči drsenje znotraj okna, če je besedila preveč */
    -webkit-overflow-scrolling: touch; /* Gladko drsenje na iPhonih */
    display: block; /* Zagotovi pravilno delovanje sticky gumba */
}

.close-modal {
    position: sticky; /* Spremenjeno iz absolute v sticky */
    top: 0;           /* Ostane na vrhu vsebnika */
    float: right;     /* Potisne gumb na desno stran */
    margin-right: -10px; /* Popravek odmika zaradi paddinga */
    margin-top: -10px;  /* Popravek odmika zaradi paddinga */
    color: var(--primary-blue);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 100;     /* Zagotovi, da je gumb vedno nad besedilom */
    background-color: var(--white); /* Doda ozadje, da se besedilo ne vidi pod X */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--accent-gold);
    background-color: rgba(3, 45, 82, 0.05); /* Nežen odziv na lebdenje */
}

.modal-text {
    white-space: pre-line;
    margin-top: 20px;
    font-size: 1.05rem;
    color: var(--text-dark);
}

#modal-title {
    color: var(--primary-blue);
    padding-right: 30px;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.5rem; /* More compact for narrow screens */
    }
    
    .appointment-composer {
        padding: 20px 18px;
        margin: 20px 10px 0; /* Vič prostora ob robovih */
    }

    .slider-arrow.prev {
        left: 0; /* Puščice čisto ob rob vsebnika */
    }
    .slider-arrow.next {
        right: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle { 
        display: flex; 
    }

    .nav-links {
        display: flex; /* DODANO: Meni mora biti flex, da je viden */
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--primary-blue);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        z-index: 1000;
        margin: 0; /* Odstranimo morebitne robove */
        padding: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
        margin-left: 0; /* Odstranimo desktop zamik */
    }

    .nav-links a {
        color: var(--white);
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .appointment-composer .form-group {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 25px 18px; /* Reduced padding on very small phones */
        border-radius: 10px;
    }
    
    #modal-title {
        font-size: 1.15rem;
    }
}

/* Razširljivi moduli - NOVI STIL */
.expandable-module {
    padding: 100px 0;
    background-color: var(--white);
}

/* Alternacija ozadja za vizualni ritem */
.expandable-module.about {
    background-color: var(--bg-light);
}

.expandable-module .container {
    max-width: 900px; /* Ožje za boljšo berljivost */
    display: block;   /* Prekliče prejšnji flex */
    text-align: center;
}

.module-header {
    margin-bottom: 40px;
}

.module-header h2 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.title-accent {
    width: 60px;
    height: 3px;
    background: var(--accent-gold);
    margin: 0 auto;
}

.module-content {
    text-align: left; /* Besedilo naj bo levo poravnano za profesionalen videz */
    line-height: 1.8;
    color: #444;
}

.expandable-module .teaser {
    font-size: 1.2rem; /* Večji "lead" tekst */
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.expandable-module .full-content {
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Gumb, ki ne izgleda kot navadna povezava */
.expandable-module .toggle-btn {
    margin-top: 30px;
    padding: 12px 30px;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold) !important; /* Spremenjeno v zlato */
    background: transparent !important;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
    border-radius: 50px; /* Zaobljen gumb za modernejši videz */
    cursor: pointer;
}

.expandable-module .toggle-btn:hover {
    background-color: var(--accent-gold) !important;
    color: var(--white) !important;
    opacity: 1;
}

/* Mobilne prilagoditve */
@media (max-width: 768px) {
    .expandable-module {
        padding: 45px 0 60px; /* More compact padding */
    }
    .module-header h2 {
        font-size: 1.5rem;
    }
    /* Na mobilnikih naredimo gumb malo širši za lažji klik */
    .expandable-module .toggle-btn {
        width: 100%;
        max-width: 260px;
        margin-top: 30px;
        font-size: 0.9rem;
        padding: 12px 24px;
    }
}

/* =====================================
   PRICELIST SECTION - MOBILE FIRST
   ===================================== */
.pricelist {
    padding: 50px 0;
    background-color: var(--white);
}

/* Mobile: more compact pricelist */
@media (max-width: 768px) {
    .pricelist {
        padding: 40px 0;
    }
}

.pricelist .module-header {
    margin-bottom: 30px;
}

.pricelist .module-header h2 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.pricelist .subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-top: 8px;
    font-style: italic;
}

/* Mobile: compact pricelist header */
@media (max-width: 768px) {
    .pricelist .module-header {
        margin-bottom: 20px;
    }
    .pricelist .module-header h2 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .pricelist .subtitle {
        font-size: 0.8rem;
        margin-top: 6px;
    }
}

.pricelist-content {
    max-width: 900px;
    margin: 0 auto;
}

.pricelist-toggle-btn {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-blue), #0a4a6b);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 71, 102, 0.25);
}

/* Mobile: compact toggle button */
@media (max-width: 768px) {
    .pricelist-toggle-btn {
        max-width: 260px;
        padding: 12px 24px;
        font-size: 0.9rem;
        gap: 10px;
        margin-bottom: 15px;
    }
}

.pricelist-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 71, 102, 0.35);
    background: linear-gradient(135deg, #0a4a6b, var(--primary-blue));
}

.pricelist-toggle-btn:active {
    transform: translateY(0);
}

.pricelist-toggle-btn .toggle-icon {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.price-items-flat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.3s ease;
}

.price-items-flat.collapsed {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

.price-items-flat.expanded {
    max-height: 10000px;
    opacity: 1;
    margin-top: 20px;
}

/* Mobile: tighter gaps */
@media (max-width: 768px) {
    .price-items-flat {
        gap: 6px;
    }
    .price-items-flat.expanded {
        margin-top: 15px;
    }
}

.price-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
    background-color: var(--bg-light);
    border-radius: 6px;
    transition: all 0.3s ease;
    gap: 6px;
}

.price-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.price-item-info {
    flex: 1;
    width: 100%;
}

.price-item-name {
    font-size: 0.95rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.3;
}

.price-item-description {
    font-size: 0.85rem;
    color: #666;
    font-style: italic;
    margin: 4px 0 0 0;
    line-height: 1.3;
}

.price-item-price {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: bold;
    white-space: nowrap;
}

/* Mobile: more compact price items */
@media (max-width: 768px) {
    .price-item {
        padding: 10px 12px;
        gap: 5px;
    }
    .price-item-name {
        font-size: 0.88rem;
        line-height: 1.25;
    }
    .price-item-description {
        font-size: 0.78rem;
        margin-top: 3px;
        line-height: 1.25;
    }
    .price-item-price {
        font-size: 1rem;
    }
}

.pricelist-note {
    margin-top: 30px;
    padding: 15px 18px;
    background-color: rgba(237, 202, 150, 0.1);
    border-left: 4px solid var(--accent-gold);
    border-radius: 6px;
}

.pricelist-note p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
}

/* Mobile: compact note section */
@media (max-width: 768px) {
    .pricelist-note {
        margin-top: 20px;
        padding: 12px 15px;
    }
    .pricelist-note p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Desktop enhancements (min 769px) */
@media (min-width: 769px) {
    .pricelist {
        padding: 80px 0;
    }

    .pricelist .module-header {
        margin-bottom: 40px;
    }
    
    .pricelist .module-header h2 {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    
    .pricelist .subtitle {
        font-size: 1rem;
        margin-top: 10px;
    }
    
    .price-items-flat {
        gap: 10px;
    }
    
    .price-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding: 14px 18px;
        gap: 20px;
    }
    
    .price-item-name {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .price-item-description {
        font-size: 0.88rem;
        margin-top: 3px;
    }
    
    .price-item-price {
        font-size: 1.15rem;
        align-self: center;
    }
    
    .pricelist-note {
        margin-top: 40px;
        padding: 20px 25px;
    }
    
    .pricelist-note p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}
