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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #151515;
    background: white;
}


/* =========================
   HEADER
========================= */

header {
    height: 85px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 0 8%;
    background: white;
    border-bottom: 1px solid #eeeeee;

    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 115px;
    height: 78px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 35px;
}

nav a {
    text-decoration: none;
    color: #222;

    font-size: 15px;
    font-weight: 600;

    transition: 0.2s;
}

nav a:hover {
    color: #69a9f5;
}


/* =========================
   HERO
========================= */

#pocetna {
    min-height: 620px;

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

    padding: 70px 8%;

    background:
        linear-gradient(
            120deg,
            #ffffff 55%,
            #eef6ff 55%
        );
}

.hero-text {
    width: 55%;
}

.small-title,
.section-small-title {
    color: #69a9f5;

    font-size: 13px;
    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 20px;
}

.hero-text h1 {
    font-family: Georgia, serif;

    font-size: 64px;
    line-height: 1.05;

    margin-bottom: 25px;
}

.hero-text h1 span {
    color: #69a9f5;
}

.hero-description {
    max-width: 550px;

    font-size: 18px;
    line-height: 1.6;

    color: #666;

    margin-bottom: 35px;
}

.main-button {
    display: inline-block;

    padding: 15px 28px;

    background: #69a9f5;
    color: white;

    text-decoration: none;
    border-radius: 8px;

    font-weight: bold;

    transition: 0.2s;
}

.main-button:hover {
    transform: translateY(-2px);
    background: #4d95ed;
}


/* =========================
   HERO CAMERA
========================= */

.hero-camera {
    width: 40%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-camera-background {
    width: 380px;
    height: 380px;

    background: white;

    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    box-shadow: 0 20px 50px rgba(70, 130, 200, 0.15);
}

.hero-camera-background img {
    width: 115%;
    max-width: 460px;
    max-height: 310px;

    object-fit: contain;

    transition: 0.3s;
}

.hero-camera-background:hover img {
    transform: scale(1.04);
}


/* =========================
   OPREMA
========================= */

#oprema {
    padding: 100px 8%;
    text-align: center;
}

#oprema h2,
#kako-radi h2 {
    font-family: Georgia, serif;

    font-size: 42px;

    margin-bottom: 15px;
}

.section-description {
    color: #777;

    max-width: 600px;

    margin: 0 auto 55px;

    line-height: 1.6;
}


/* =========================
   CAMERA CARDS
========================= */

.camera-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;

    max-width: 1200px;

    margin: auto;
}

.camera-card {
    background: white;

    border: 1px solid #eeeeee;
    border-radius: 16px;

    overflow: hidden;

    text-align: left;

    transition: 0.25s;
}

.camera-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}


/* SLIKE KAMERA */

.camera-image {
    height: 280px;

    background: #f4f8fd;

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;
}

.camera-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: 0.3s;
}

.camera-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: 0.3s;
}

.camera-card:hover .camera-image img {
    transform: scale(1.04);
}


/* TEKST KARTICE */

.camera-info {
    padding: 25px;
}

.camera-type {
    color: #69a9f5;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 10px;
}

.camera-info h3 {
    font-family: Georgia, serif;

    font-size: 23px;

    margin-bottom: 12px;
}

.camera-description {
    color: #777;

    line-height: 1.5;

    min-height: 70px;
}


/* CENA */

.price {
    margin: 20px 0;
}

.price strong {
    display: block;

    font-size: 21px;

    color: #69a9f5;
}

.price span {
    font-size: 13px;

    color: #888;
}


/* DUGME IZNAJMI */

.rent-button {
    width: 100%;

    border: none;

    background: #69a9f5;
    color: white;

    padding: 13px;

    border-radius: 7px;

    font-weight: bold;
    font-size: 15px;

    cursor: pointer;

    transition: 0.2s;
}

.rent-button:hover {
    background: #4d95ed;

    transform: translateY(-1px);
}


/* =========================
   KAKO FUNKCIONIŠE
========================= */

#kako-radi {
    padding: 100px 8%;

    text-align: center;

    background: #f6faff;
}

.steps {
    max-width: 1100px;

    margin: 50px auto 0;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 30px;
}

.step {
    padding: 20px;
}

.step span {
    font-family: Georgia, serif;

    font-size: 42px;

    color: #69a9f5;
}

.step h3 {
    margin: 15px 0 10px;
}

.step p {
    color: #777;

    font-size: 14px;

    line-height: 1.5;
}


/* =========================
   FOOTER
========================= */

footer {
    background: #15263a;

    color: white;

    text-align: center;

    padding: 60px 20px;
}

.footer-logo {
    font-family: Georgia, serif;

    font-size: 30px;
    font-weight: bold;

    margin-bottom: 15px;
}

.footer-logo span {
    color: #69a9f5;
}

footer p {
    margin: 8px;

    color: #d5dce5;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .camera-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-text h1 {
        font-size: 52px;
    }

    .hero-camera-background {
        width: 320px;
        height: 320px;
    }

    .hero-camera-background img {
        max-height: 260px;
    }
}


/* =========================
   TELEFON
========================= */

@media (max-width: 800px) {

    header {
        flex-direction: column;

        height: auto;

        padding: 15px 20px;
    }

    .logo img {
        width: 130px;
        height: 70px;
    }

    nav {
        margin-top: 10px;

        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }


    /* HERO */

    #pocetna {
        flex-direction: column;

        text-align: center;

        padding: 60px 25px;

        background: #f6faff;
    }

    .hero-text {
        width: 100%;
    }

    .hero-text h1 {
        font-size: 43px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-camera {
        width: 100%;

        margin-top: 50px;
    }

    .hero-camera-background {
        width: 280px;
        height: 280px;
    }

    .hero-camera-background img {
        width: 110%;
        max-height: 220px;
    }


    /* KAMERE */

    #oprema {
        padding: 70px 25px;
    }

    #oprema h2,
    #kako-radi h2 {
        font-size: 34px;
    }

    .camera-container {
        grid-template-columns: 1fr;

        max-width: 420px;
    }

    .camera-image {
        height: 260px;
    }

    .camera-image img {
        height: 215px;
    }


    /* KAKO FUNKCIONIŠE */

    #kako-radi {
        padding: 70px 25px;
    }

    .steps {
        grid-template-columns: 1fr 1fr;
    }
}


/* =========================
   MALI TELEFON
========================= */

@media (max-width: 500px) {

    .hero-text h1 {
        font-size: 37px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    nav {
        gap: 10px;
    }
}

/* =========================
   REZERVACIJA - MODAL
========================= */

.reservation-modal {
    display: none;

    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    background: rgba(21, 38, 58, 0.55);

    justify-content: center;
    align-items: flex-start;

    padding: 20px;

    overflow-y: auto;
    box-sizing: border-box;

    z-index: 1000;
}


/* BELA KARTICA */

.reservation-box {
    position: relative;

    width: 100%;
    max-width: 520px;

    background: white;

    border-radius: 18px;

    padding: 40px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}


/* X ZA ZATVARANJE */

.close-modal {
    position: absolute;

    top: 18px;
    right: 22px;

    border: none;
    background: none;

    font-size: 30px;
    color: #777;

    cursor: pointer;
}

.close-modal:hover {
    color: #151515;
}


/* NASLOVI */

.reservation-small-title {
    color: #69a9f5;

    font-size: 11px;
    font-weight: bold;

    letter-spacing: 2px;

    margin-bottom: 8px;
}

.reservation-box h2 {
    font-family: Georgia, serif;

    font-size: 32px;

    margin-bottom: 8px;
}

.reservation-box h3 {
    color: #69a9f5;

    font-size: 17px;

    margin-bottom: 30px;
}


/* DATUMI */

.reservation-dates {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;

    margin-bottom: 25px;
}

.date-field {
    display: flex;
    flex-direction: column;

    gap: 8px;
}

.date-field label {
    font-size: 13px;

    font-weight: bold;

    color: #555;
}

.date-field input {
    width: 100%;

    padding: 13px;

    border: 1px solid #dce3eb;

    border-radius: 8px;

    font-family: Arial, sans-serif;
    font-size: 14px;

    outline: none;
}

.date-field input:focus {
    border-color: #69a9f5;

    box-shadow: 0 0 0 3px rgba(105, 169, 245, 0.12);
}


/* PREGLED CENE */

.reservation-summary {
    background: #f4f8fd;

    border-radius: 12px;

    padding: 20px;

    margin-bottom: 20px;
}

.summary-row {
    display: flex;

    justify-content: space-between;

    margin-bottom: 13px;

    font-size: 14px;
}

.summary-row span {
    color: #666;
}

.summary-total {
    display: flex;

    justify-content: space-between;

    border-top: 1px solid #dce6f0;

    padding-top: 15px;
    margin-top: 5px;

    font-size: 19px;
}

.summary-total strong {
    color: #69a9f5;
}


/* POŠALJI ZAHTEV */

.send-reservation {
    width: 100%;

    border: none;

    background: #69a9f5;
    color: white;

    padding: 15px;

    border-radius: 8px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;

    transition: 0.2s;
}

.send-reservation:hover {
    background: #4d95ed;

    transform: translateY(-1px);
}


/* NAPOMENA */

.reservation-note {
    margin-top: 15px;

    text-align: center;

    font-size: 11px;
    line-height: 1.5;

    color: #999;
}


/* MODAL NA TELEFONU */

@media (max-width: 600px) {

    .reservation-box {
        padding: 32px 22px;
    }

    .reservation-dates {
        grid-template-columns: 1fr;
    }

    .reservation-box h2 {
        font-size: 28px;
    }
}

/* =========================
   O NAMA
========================= */

#o-nama {
    padding: 110px 8%;
    background: #f6faff;
}

.about-content {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 90px;

    align-items: center;
}


/* LEVA STRANA */

.about-text .section-small-title {
    margin-bottom: 15px;
}

.about-text h2 {
    max-width: 650px;

    font-family: Georgia, serif;
    font-size: 45px;
    line-height: 1.15;

    margin-bottom: 30px;
}

.about-text h2 span {
    color: #69a9f5;
}

.about-text > p:not(.section-small-title) {
    max-width: 620px;

    color: #666;

    font-size: 16px;
    line-height: 1.8;

    margin-bottom: 15px;
}


/* DESNA STRANA */

.about-features {
    display: grid;
    gap: 15px;
}

.about-feature {
    background: white;

    border: 1px solid #e8eef5;
    border-radius: 14px;

    padding: 24px 28px;

    display: flex;
    align-items: center;

    gap: 22px;

    transition: 0.25s;
}

.about-feature:hover {
    transform: translateX(5px);

    box-shadow: 0 10px 30px rgba(70, 130, 200, 0.10);
}

.about-feature strong {
    min-width: 55px;

    font-family: Georgia, serif;
    font-size: 30px;

    color: #69a9f5;
}

.about-feature span {
    color: #555;

    font-size: 15px;
}


/* TELEFON */

@media (max-width: 800px) {

    #o-nama {
        padding: 75px 25px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .about-text h2 {
        font-size: 34px;
    }

}

/* =========================
   LIGHT / DARK MODE
========================= */

.theme-toggle {
    width: 42px;
    height: 42px;

    border: 1px solid #e4eaf0;
    border-radius: 50%;

    background: #f6faff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 18px;

    cursor: pointer;

    transition: 0.25s;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: #eef6ff;
}


/* =========================
   DARK MODE
========================= */

body.dark-mode {
    background: #0f1720;
    color: #f5f7fa;
}


/* HEADER */

body.dark-mode header {
    background: #111c27;
    border-bottom-color: #263544;
}

body.dark-mode nav a {
    color: #f5f7fa;
}

body.dark-mode nav a:hover {
    color: #69a9f5;
}

body.dark-mode .theme-toggle {
    background: #1b2a38;
    border-color: #334454;
}


/* HERO */

body.dark-mode #pocetna {
    background:
        linear-gradient(
            120deg,
            #0f1720 55%,
            #15283b 55%
        );
}

body.dark-mode .hero-description {
    color: #b7c1cb;
}

body.dark-mode .hero-camera-background {
    background: #172431;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.30);
}


/* OPREMA */

body.dark-mode #oprema {
    background: #0f1720;
}

body.dark-mode .section-description {
    color: #aab5c0;
}

body.dark-mode .camera-card {
    background: #16222e;

    border-color: #263746;
}

body.dark-mode .camera-image {
    background: #1b2a38;
}

body.dark-mode .camera-description {
    color: #aeb8c2;
}

body.dark-mode .price span {
    color: #9ca9b5;
}


/* O NAMA */

body.dark-mode #o-nama {
    background: #121f2b;
}

body.dark-mode .about-text > p:not(.section-small-title) {
    color: #b0bbc5;
}

body.dark-mode .about-feature {
    background: #182633;

    border-color: #293a49;
}

body.dark-mode .about-feature span {
    color: #d2d9df;
}


/* KAKO FUNKCIONIŠE */

body.dark-mode #kako-radi {
    background: #0f1720;
}

body.dark-mode .step p {
    color: #aeb8c2;
}


/* REZERVACIJA */

body.dark-mode .reservation-box {
    background: #16222e;

    color: #f5f7fa;
}

body.dark-mode .close-modal {
    color: #b9c2cb;
}

body.dark-mode .date-field label {
    color: #c6cdd4;
}

body.dark-mode .date-field input {
    background: #0f1923;

    color: white;

    border-color: #334454;

    color-scheme: dark;
}

body.dark-mode .reservation-summary {
    background: #101c27;
}

body.dark-mode .summary-row span {
    color: #b7c1cb;
}

body.dark-mode .summary-total {
    border-top-color: #344554;
}

body.dark-mode .reservation-note {
    color: #8e9aa5;
}

/* POZICIJA THEME DUGMETA */

header {
    position: relative;
}

.theme-toggle {
    position: absolute;
    right: 4%;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    border-radius: 50%;
    border: 1px solid #dce7f2;

    background: #f6faff;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    font-size: 17px;

    transition: 0.2s;
}

.theme-toggle:hover {
    background: #eaf4ff;
    transform: translateY(-50%) scale(1.06);
}

@media (max-width: 800px) {

    .theme-toggle {
        position: absolute;
        right: 20px;
        top: 25px;
        transform: none;
    }

    .theme-toggle:hover {
        transform: scale(1.06);
    }

}

.details-button {
    width: 100%;
    padding: 13px;

    margin-bottom: 10px;

    background: transparent;
    color: #69a9f5;

    border: 1.5px solid #69a9f5;
    border-radius: 7px;

    font-size: 15px;
    font-weight: bold;

    cursor: pointer;
    transition: 0.2s;
}

.details-button:hover {
    background: #eef6ff;
    transform: translateY(-1px);
}

/* DARK MODE */

body.dark-mode .details-button {
    background: transparent;
    color: #7bb6ff;
    border-color: #7bb6ff;
}

body.dark-mode .details-button:hover {
    background: #1c3043;
}

/* =========================
   DETALJI KAMERE - MODAL
========================= */

.camera-details-modal {
    display: none;

    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.65);

    z-index: 1000;

    justify-content: center;
    align-items: center;

    padding: 30px;
}


/* BELI PROZOR */

.camera-details-content {
    position: relative;

    width: 100%;
    max-width: 900px;
    max-height: 90vh;

    overflow-y: auto;

    background: white;

    border-radius: 18px;

    padding: 50px;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}


/* X */

.close-camera-details {
    position: absolute;

    top: 18px;
    right: 22px;

    border: none;
    background: none;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    color: #777;
}

.close-camera-details:hover {
    color: #69a9f5;
}


/* NASLOV */

.camera-details-content h2 {
    font-family: Georgia, serif;

    font-size: 38px;

    margin-bottom: 18px;
}


/* OPIS */

.details-description {
    color: #666;

    font-size: 16px;
    line-height: 1.7;

    max-width: 750px;

    margin-bottom: 35px;
}


/* SPECIFIKACIJE */

.details-specifications {
    padding-top: 30px;

    border-top: 1px solid #eeeeee;
}

.details-specifications h3,
.details-gallery h3 {
    font-family: Georgia, serif;

    font-size: 23px;

    margin-bottom: 20px;
}


.specs-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 12px;

    margin-bottom: 40px;
}


.spec-item {
    background: #f6faff;

    padding: 15px 18px;

    border-radius: 9px;

    font-size: 14px;
}


/* GALERIJA */

.details-gallery {
    padding-top: 30px;

    border-top: 1px solid #eeeeee;
}


.camera-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 12px;
}


/* DARK MODE */

body.dark-mode .camera-details-content {
    background: #15263a;
    color: white;
}

body.dark-mode .details-description {
    color: #cbd4df;
}

body.dark-mode .details-specifications,
body.dark-mode .details-gallery {
    border-color: #2c4055;
}

body.dark-mode .spec-item {
    background: #1c3043;
}

body.dark-mode .close-camera-details {
    color: #cccccc;
}


/* TELEFON */

@media (max-width: 700px) {

    .camera-details-modal {
        padding: 15px;
    }

    .camera-details-content {
        padding: 40px 22px 30px;
    }

    .camera-details-content h2 {
        font-size: 30px;
    }

    .specs-grid {
        grid-template-columns: 1fr;
    }

    .camera-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ===============================
   GALERIJA KAMERE
================================ */

.camera-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.camera-gallery img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.camera-gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/* TABLET */

@media (max-width: 900px) {

    .camera-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* TELEFON */

@media (max-width: 550px) {

    .camera-gallery {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .camera-gallery img {
        height: 190px;
    }

}

/* DJI VIDEO GALERIJA */

.camera-gallery video {
    width: 100%;
    height: auto;
    max-height: 500px;

    object-fit: contain;
    border-radius: 12px;

    grid-column: 1 / -1;

    background: #000;
}


/* PODACI O KUPCU */

.customer-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.customer-fields input {
    width: 100%;
    padding: 13px;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.customer-fields input:focus {
    outline: none;
    border-color: #69a9f5;
}

body.dark-mode .customer-fields input {
    background: #0f1923;
    color: white;
    border-color: #334454;
}

/* ZAUZETI TERMINI */

.availability-info {
    margin: 15px 0 22px;
    padding: 15px;
    border-radius: 10px;
    background: #eef5ff;
    color: #244b78;
    font-size: 14px;
}

#booked-dates-list p {
    margin: 8px 0 0;
    font-weight: 600;
}

body.dark-mode .availability-info {
    background: #17283b;
    color: #c5ddff;
}
