:root {
    --bg: #fdfaf6;
    --card: #ffffff;
    --text: #3d342b;
    --muted: #7a6a58;
    --accent: #c29547;
    --accent-light: #e6d5b8;
    --max-width: 1200px;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Montserrat', sans-serif;
    --radius: 12px; /* Rahlo zaokroženi robovi za vse elemente */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.8;
}

/* NAVIGATION */
nav {
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.logo span { color: var(--accent); font-weight: 400; }

.nav-links a {
    text-decoration: none;
    color: var(--text);
    margin-left: 2rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.btn-nav {
    background: var(--accent);
    color: white !important;
    padding: 10px 24px;
    border-radius: var(--radius); /* Zaokroženo */
}

/* HEADER */
header {
    min-height: 80vh; /* height spremeni v min-height */
    padding: 100px 20px; /* Dodaj padding za mobilnike */
    background: linear-gradient(rgba(253, 250, 246, 0.4), rgba(253, 250, 246, 0.4)), 
                linear-gradient(135deg, #f7d774, #e8b85c);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

header h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
}

.btn-primary {
    display: inline-block;
    padding: 16px 45px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: var(--radius); /* Zaokroženo */
    font-weight: 600;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(194, 149, 71, 0.15);
}

.btn-primary:hover { transform: translateY(-3px); }

/* SECTIONS & CARDS */
section { padding: 80px 0; }

.quote { padding: 20px 0; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

.flex { 
    display: flex; 
    gap: 40px; 
    align-items: stretch; 
    flex-wrap: wrap; 
}

.flex > div { 
    flex: 1 1 300px; /* flex-grow, flex-shrink, flex-basis */
    max-width: 100%; /* Prepreči raztegovanje čez rob */
}

.card {
    background: white;
    padding: 40px;
    border-radius: var(--radius); /* Zaokroženo */
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.image-wrapper {
    width: 100%;
    min-height: 350px;
    height: auto; /* Safari potrebuje auto, da pravilno izračuna višino */
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* CITATI */
.quote-box {
    background: white;
    border-left: 5px solid var(--accent);
    padding: 40px;
    border-radius: var(--radius); /* Zaokroženo */
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.image-quote {
    height: 400px;
    background-image: url("images/sunset.jpg");
    background-position: center;
    background-size: cover;
    /* Odstranjeno: background-attachment: fixed */
    display: flex;
    align-items: center;
    justify-content: center;
}
.banner-text {
    color: white;
    font-size: 2.5rem;
    font-weight: 300;
    
    text-align: center;      /* Vsaka vrstica posebej bo centrirana */
    margin: 0;               /* Odstranimo vse privzete robove */
    padding: 0 20px;         /* Malo prostora na straneh, da se ne dotika robov */
    
    width: auto;             /* Naj se širi po potrebi */
    max-width: 80%;          /* Ne pustimo mu čisto do roba na širokih zaslonih */
    
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

/* Prilagoditev za telefone */
@media (max-width: 768px) {
    .banner-text {
        font-size: 1.4rem;
        max-width: 90%;      /* Na telefonu zavzame več širine */
    }
}

/* FOOTER */
footer {
    background: #1a1612;
    color: #e6d5b8;
    padding: 60px 0;
}

a {
    position: relative;
    text-decoration: none;
    color: inherit;
}

/* underline (hidden na začetku) */
a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0%;
    height: 2px;

    background: var(--accent);
    transition: width 0.35s ease;
}

/* hover efekt */
a:hover {
    color: var(--accent); /* fade barve */
}

a:hover::after {
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.address-link {
    color: inherit;
    text-decoration: none;
    transition: 0.3s;
}

.address-link:hover { color: var(--accent); }

iframe {
    width: 100%;
    height: 250px;
    border: 0;
    border-radius: var(--radius); /* Zaokroženo */
}

.bottom-footer {
    background: #110e0c;
    color: #7a6a58;
    text-align: center;
    padding: 20px;
    font-size: 0.85rem;
}

/* REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

html {
    scroll-behavior: smooth;
}

.hero-banner {
    /* Pot do vaše slike */
    background-image: url('images/PHOTO-2026-04-14-18-09-20.jpg');
    
    /* Centriranje slike */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Nastavitev višine - ker želite, da je "malo bolj tanka" */
    height: 40vh; /* 40% višine zaslona (prilagodite po želji) */
    min-height: 250px; /* Minimalna višina, da na telefonih ne izgine */
    
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-banner .overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero-banner .overlay h1 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.5rem);
    max-width: 900px;
    line-height: 1.1;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.45);
}

