@font-face {
    font-family: 'Playwrite NO';
    src: url('/fonts/Playwrite/PlaywriteNO-VariableFont_wght.woff2') format('woff2-variations');
    font-weight: 100 900; /* Tells the browser this font supports a range of weights */
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Added to ensure full consistency */
}

body {
    overflow-x: hidden;
    background-color: var(--warm-white); /* Warmer base */
    color: var(--text-color);
}

:root {
    --primary-color: #1fa3a3; /* Dark Blue / Teal */
    --primary-dark: #157979; /* For gradients */
    --accent-color: #D4AF37; /* Gold */
    --accent-light: #f5d66e;
    --text-color: #333333;
    
    /* Replaced stark whites with warm approachable off-whites */
    --bg-light: #FDFCF8; 
    --warm-white: #FFFAF4;
    --white: #FFFFFF;
    
    /* A subtle gold-tinted shadow for warmth */
    --warm-shadow: 0 12px 35px rgba(212, 175, 55, 0.08);
    --transition: all 0.3s ease;
}

.hero-slider {
    position: relative;
    width: 100vw;
    height: 80vh; 
    overflow: hidden;
    background-color: #111;
}

/* === INDIVIDUAL SLIDES === */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.slide.active {
    opacity: 1; 
    z-index: 2;
}

.slide-bg {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top;
}

/* Added a touch of teal and gold to the gradient overlay to warm up the image */
.slide-overlay {
    position: absolute;
    inset: 0;
    
}

/* === SLIDE TEXT DATA === */
.slide-content {
    position: absolute;
    bottom: 0%; 
    left: 50%;
    transform: translateX(-50%); 
    transform-origin: bottom center; 
    
    background-color: var(--white);
    color: var(--text-color);
    
    padding: 1.5em 2em 40px 2em; 
    
    margin-bottom: 0px;
    border-radius: 20px 20px 0px 0px; 
    z-index: 3;
    text-align: center;
    width: fit-content;
    min-width: 320px;
    max-width: 500px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
    
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), 
                padding 0.4s ease, 
                max-width 0.4s ease;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: none;
}

.slide-content:hover {
    transform: translateX(-50%) scale(1.03); 
    
    padding: 2em 2.5em 20px 2.5em; 
    
    max-width: 600px; 
}


.btn-slide-view {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    color: var(--text-color);
    background-color: var;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 30px; 
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1); /* Warm glow */
}

.btn-slide-view:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: black;
}

.slide-title {
    font-size: 1.6rem; 
    font-weight: 800;  
    text-transform: uppercase;
    margin: 0;
    color: var(--primary-color);
}

.slide-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    max-height: 0;
    opacity: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.slide-content:hover .slide-desc {
    max-height: 150px; 
    opacity: 1;
    margin: 15px 0; 
}

.slide-details {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px; 
    width: 100%;
}

.slide-location, .slide-area {
    font-size: 1rem;
    font-weight: 500;
}

.slide-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent-color);
}

.h-line {
    background-color: var(--accent-color); /* Changed to gold for warmth */
    width: 2px;
    height: 15px;
    opacity: 0.5;
    }


/* === ARROW BUTTONS === */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%; 
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider-arrow:hover {
    background: var(--accent-color);
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.left-arrow { left: 30px; }
.right-arrow { right: 30px; }

/* Mobile Adjustments */
@media (max-width: 768px) {
    .slide-content {
        width: 90%;
        padding: 1.2em;
        bottom: 5%; 
    }
    .slide-content:hover {
        max-width: 95%;
        padding: 1.5em; 
    }
    .h-line { display: none; }
}



.wave-divider-section {
    width: 100vw;
    height: 40px; /* Maksimalna zahtevana višina */
    background-color: var(--white); /* Zgornji "dead space" je bel kot hero kartica */
    line-height: 0;
    overflow: hidden;
    position: relative;
    z-index: 5;
    /* Da se val dejansko poveže s spodnjo sekcijo, uporabimo transform, 
       saj je vaša SVG pot orientirana navzgor */
    transform: rotate(180deg); 
    margin-bottom: -1px; /* Prepreči tanko črto med SVG in spodnjo sekcijo */
    margin-top: -1px; /* Prepreči tanko črto med SVG in spodnjo sekcijo */
}

.wave-divider-section svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Replaced flat background with a soft, engaging gradient */
.zelis-prodati {
    position: relative;
    z-index: 3;
    
    margin-top: -35px;
    padding: 70px 20px 50px 20px; 
    
    min-height: 220px; 
    width: 100vw;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.1);
}

.zelis-prodati h1 {
    color: var(--white);
    margin-bottom: 25px; 
    margin-top: 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: bold;
    text-align: center;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    margin-top: 25px;
}

.zelis-prodati a {
    display: inline-block;
    border-radius: 30px; 
    background-color: var(--accent-color);
    padding: 16px 35px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.zelis-prodati a:hover {
    background-color: var(--accent-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    color:var(--text-color);
}

.choice-container {
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: linear-gradient(to bottom, var(--warm-white), var(--bg-light));
    width: 100vw;
    padding: 60px 20px;
}

.choice {
    border-radius: 25px; 
    width: 100%;
    flex: 1 1 350px; 
    max-width: 1200px;
    display: grid;
    justify-items: center; 
    background-color: var(--white);
    padding: 50px;
    box-shadow: var(--warm-shadow); /* Applied warm shadow */
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.choice h1 {
  text-align: center;
  margin-bottom: 5px; 
  color: var(--primary-color); /* Swapped to primary for readability */
  font-family: 'Playwrite NO', sans-serif;
  font-weight: 400; /* Regular */
}

.choice a {
    display: inline-block;
    border-radius: 30px; 
    background-color: var(--accent-color);
    padding: 15px 35px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    margin-top: 30px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.choice a:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50%; 
  margin: 10px auto 25px auto; 
}

.divider .line {
  flex-grow: 1;           
  height: 2px;            
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent); 
  opacity: 0.5;
}

.divider .icon {
  margin: 0 15px;         
  color: var(--accent-color);            
  font-size: 1.2rem;      
}

.choice p {
  text-align: center;
  line-height: 1.7;
  color: #555;
}

/* --- SEKCIJA PROCES Z NOVIM OZADJEM --- */
#process {
    position: relative;
    text-align: center;
    width: 100vw;
    padding: 100px 20px;
    z-index: 1;
    background-color: transparent;
}

/* To ustvari ogromen čopičast zlate barve za karticami */
#process::before {
    content: '';
    position: absolute;
    top: 5%;
    bottom: 5%;
    left: 2%;
    right: 2%;
    background-color: var(--accent-color);
    opacity: 0.12; /* Ravno prav opazno, a ne moteče */
    z-index: -1;
    /* Natančno CSS obrezovanje, ki posnema potezo čopiča */
    clip-path: polygon(
        2% 6%, 8% 2%, 15% 7%, 25% 1%, 35% 8%, 45% 2%, 55% 9%, 65% 1%, 75% 8%, 85% 3%, 95% 7%, 98% 3%, 
        99% 15%, 96% 25%, 98% 35%, 95% 45%, 99% 55%, 96% 65%, 98% 75%, 95% 85%, 99% 95%, 
        95% 98%, 85% 94%, 75% 99%, 65% 93%, 55% 98%, 45% 92%, 35% 99%, 25% 94%, 15% 99%, 5% 95%, 1% 99%, 
        2% 85%, 5% 75%, 1% 65%, 4% 55%, 1% 45%, 5% 35%, 2% 25%, 5% 15%
    );
    border-radius: 20px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-color);
}

.section-subtitle {
    color: var(--accent-color);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    display: block;
}

#process .section-title {
    margin-bottom: 60px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.process-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px; 
    box-shadow: var(--warm-shadow);
    text-align: left;
    position: relative;
    transition: var(--transition);
    border-bottom: 4px solid var(--accent-color); /* Grounding the design */
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.15);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: 3px solid var(--white);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.process-card:hover .step-number {
    background: var(--accent-color);
    transform: scale(1.1) rotate(5deg);
    color: var(--text-color);
}

.process-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.process-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

.featured-section {
    padding: 30px 20px 30px 20px;
    background-color: var(--warm-white); /* Uporabimo vašo toplo barvo ozadja */
    text-align: center;
}

.featured-title {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

/* Stil kartice */
.f-card {
    background: var(--white);
    border-radius: 20px; /* Mehki koti kot drugod */
    overflow: hidden;
    box-shadow: var(--warm-shadow); /* Vaša topla zlata senca */
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: var(--transition);
    cursor: pointer;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.f-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.18);
}

.f-card-img {
    position: relative;
    height: 230px;
}

.f-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cena v kartici */
.f-card-price {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.f-card-body {
    padding: 30px;
    flex-grow: 1;
}

.f-card-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.f-card-loc {
    color: #666;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.f-card-specs {
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
    color: #555;
    font-size: 0.9rem;
}

.f-card-specs span {
    background: var(--bg-light);
    padding: 5px 12px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

/* Gumb Poglej več */
.featured-footer {
    margin-top: 30px;
}

.btn-more {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 28px;
    color: var(--text-color);
    background-color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 30px; 
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); /* Warm glow */
}

.btn-more:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
    color: black;
}

/* Odzivnost za mobilne naprave */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

.full{
    border-color: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    border
}

.reviews-section.static-layout {
    padding: 80px 20px;
    background-color: var(--bg-light); 
    overflow: hidden;
}

.reviews-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
}

.reviews-header {
    display: flex;
    text-align: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    width: fit-content;
    margin: 0 auto;
    padding: 15px 40px;
    border-radius: 30px; 
    box-shadow: 0 8px 20px rgba(31, 163, 163, 0.3);
      

}

.reviews-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reviews-list {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 60px 40px; 
    position: relative;
    padding-top: 60px;
    padding-bottom: 40px;
    z-index: 1;
}

.review-card {
    position: relative;
    z-index: 5; 
    background: var(--white); 
    border: 1px solid rgba(212, 175, 55, 0.15); /* Warmer border */
    border-radius: 20px; 
    padding: 40px;
    transition: transform 0.3s ease;
    box-shadow: var(--warm-shadow); 
    display: flex;
    flex-direction: column;
}

.reviews-list .review-card:nth-child(even) { transform: translateY(1px); }
.reviews-list .review-card:nth-child(odd) { transform: translateY(80px); }

.review-card:hover {
    transform: scale(1.02);
}

.review-stars {
    color: var(--accent-color); 
    font-size: 1.6rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.review-stars .empty-star { color: #f0e6c8; }

.review-desc {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    font-style: italic;
}

.review-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-transform: uppercase;
}

.zigzag-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 850px) {
    .zigzag-line { display: none; }
    .reviews-list { grid-template-columns: 1fr; gap: 30px; padding-top: 40px; }
    .reviews-list .review-card:nth-child(odd),
    .reviews-list .review-card:nth-child(even) { transform: translateY(0); }
    .review-card { padding: 30px; }
}

hr {
    border: none;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.7), transparent);
    margin: 0 auto;
    width: 80%;
}

#contact {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    background: var(--white);
    padding: 50px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border-radius: 20px; 
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.contact-header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 15px;
    border: 1px solid #e0e0e0;
    background-color: var(--bg-light);
    border-radius: 12px; 
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--white);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    grid-column: 1 / -1;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-light));
    color: var(--text-color);
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 30px; 
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 175, 55, 0.5);
}

@media (max-width: 600px) {
    .contact-form { grid-template-columns: 1fr; }
    .contact-container { padding: 30px 20px; }
}

/* Privzeto skrij mobilni overlay za računalnike */
.mobile-hero-overlay { 
    display: none; 
}

@media (max-width: 850px) {
    /* 1. HERO EKRAN */
    .hero-slider {
        height: 100vh; /* Celozaslonski prikaz */
    }
    
    .slide-content, .slider-arrow {
        display: none !important; /* Skrijemo desktop okvirje na mobilcu */
    }
    
    /* Dodamo več zatemnitve za boljši kontrast za iskalnik */
    .slide-overlay {
        background: rgba(0, 0, 0, 0.45); 
        z-index: 2;
    }

    /* 2. MOBILNI CENTRIRAN ISKALNIK IN GUMB */
    .mobile-hero-overlay {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 45%; /* Rahlo višje od sredine za popoln izgled */
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: 90%;
        max-width: 400px;
        align-items: center;
        gap: 25px;
    }

    /* Oblika "Tablete" za mobilni iskalnik (enaka kot desktop header) */
    .mobile-hero-search {
        display: flex;
        align-items: center;
        background-color: var(--white);
        border-radius: 40px; 
        padding: 5px 10px;
        width: 100%;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .mobile-search-select {
        border: none; background: transparent; padding: 8px 5px; font-size: 14px; outline: none; width: 35%; color: var(--text-color);
    }
    .mobile-search-divider { 
        width: 2px; height: 20px; background-color: #eaeaea; margin: 0 5px; flex-shrink: 0;
    }
    .mobile-search-input {
        border: none; background: transparent; padding: 8px 5px; font-size: 14px; outline: none; flex-grow: 1; min-width: 0; color: var(--text-color);
    }
    .mobile-search-btn {
        background-color: var(--primary-color); color: white; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(31, 163, 163, 0.3);
    }
    .mobile-search-btn svg { width: 18px; height: 18px; stroke: white; stroke-width: 2.5; }

    /* 3. PROCES SEKCIJA (Mehkejši robovi na mobilcu) */
    #process::before {
        clip-path: none; /* Ugasnemo špičast obris */
        border-radius: 30px; /* Naredimo prijazen in mehak pravokotnik */
        opacity: 0.08; /* Malce svetlejše, da manj moti tekst */
        top: 2%; 
        bottom: 2%; 
        left: 3%; 
        right: 3%;
    }
}