:root {
    --bg-light: #F5F1EB;
    --green: #2F4F3E;
    --brown: #6B4F3A;
    --blue: #4A6FA5;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--green);
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER / HERO ===== */
header {
    background: linear-gradient(rgba(47, 79, 62, 0.6),
            rgba(47, 79, 62, 0.6)),
        url("../images/hero.jpg") center/cover no-repeat;
    height: 100vh;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 10px 26px;
    border-radius: 25px;
    background-color: var(--brown);
    color: var(--white);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 111, 165, 0.4);
    background: var(--green);
}

/* ===== SECTION GENERAL ===== */
section {
    padding: 70px 10%;
}

/* ===== ABOUT ===== */
.about {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about img {
    width: 50%;
    border-radius: 10px;
}

.about-text {
    width: 50%;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.menu.reveal {
    transition-delay: 0.1s;
}

.gallery.reveal {
    transition-delay: 0.2s;
}

.contact.reveal {
    transition-delay: 0.3s;
}

/* ===== MENU ===== */
.menu {
    background-color: var(--white);
}

.menu h2 {
    text-align: center;
    margin-bottom: 40px;
}

.menu-items {
    max-width: 700px;
    margin: auto;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #ddd;
    padding: 12px 0;
}

.menu-item span {
    color: var(--brown);
    font-weight: 600;
}

/* ===== GALLERY ===== */

.gallery {
    text-align: center;
}

.gallery-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

/* prozor koji se vidi */
.gallery-window {
    width: 900px;            /* 3 slike x 300px */
    overflow: hidden;
}

/* traka koja se pomera */
.gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

/* JEDAN SLIDE */
.gallery-track img {
    width: 300px;
    height: 380px;
    object-fit: cover;       /* KLJUČNO za 1440x1800 */
    flex-shrink: 0;          /* NE SME da se skuplja */
    border-radius: 10px;
    margin: 0px;
    padding: 7px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-track img:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 10px rgba(0, 0, 0, 0.25);
    cursor:pointer;
}


/* Strelice */
.arrow {
    background: var(--brown);
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.3s;
    margin: 10px;
}

.arrow:hover {
    background: var(--green);
}


/* ===== CONTACT ===== */
.contact {
    background-color: var(--green);
    color: var(--white);
    display: flex;
    gap: 40px;
    align-items: center;
}

.contact-info {
    width: 50%;
}

.contact-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.map {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ===== FOOTER ===== */
footer {
    background-color: #222;
    color: #ccc;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {

    .about,
    .contact {
        flex-direction: column;
    }

    .about img,
    .about-text,
    .contact-info,
    .map {
        width: 100%;
    }

    header h1 {
        font-size: 2.2rem;
    }
}

/* ===== HERO ANIMACIJE ===== */

.hero-title,
.hero-subtitle,
.hero-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* NASLOV */
.hero-title {
    animation: heroFadeUp 0.8s ease-out forwards;
}

/* PODNASLOV */
.hero-subtitle {
    animation: heroFadeUp 0.8s ease-out forwards;
    animation-delay: 0.25s;
}

/* DUGMAD */
.hero-btn {
    animation: heroFadeUp 0.8s ease-out forwards;
}

.hero-btn:nth-child(1) {
    animation-delay: 0.45s;
}
.hero-btn:nth-child(2) {
    animation-delay: 0.6s;
}
.hero-btn:nth-child(3) {
    animation-delay: 0.75s;
}

/* KEYFRAMES */
@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== VISIT SECTION ===== */
.visit {
    padding: 80px 20px;
    background: #f5f3ee;
}

.visit-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.visit-content img {
    width: 50%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
}

.visit-text {
    width: 50%;
}

.visit-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 15px;
}

.visit-text p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    color: #333;
}

/* Responsive */
@media (max-width: 900px) {
    .visit-content {
        flex-direction: column;
    }

    .visit-content img,
    .visit-text {
        width: 100%;
    }

    .visit-content img {
        height: 280px;
    }
}



