/* General Body Styles */
:root {
    --primary-color: #001f3f; /* Tamno teget */
    --secondary-color: #BFB2A3; /* Be탑/Zlatna */
    --light-color: #f4f4f4; /* Svetlo siva */
    --dark-color: #333333;
    --text-color: #EAE0D5;
    --font-primary: 'Playfair Display', serif;
    --font-secondary: 'Roboto', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.8;
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 2rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-primary);
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.3rem; text-align: center; margin-bottom: 3rem; }
h3 { font-size: 2rem; }

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Vertical Navigation */
.vertical-nav {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 250px;
    background: rgba(0, 31, 63, 0.9);
    border-right: 1px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    z-index: 1000;
}

.vertical-nav .logo {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: 3rem;
}

.vertical-nav .logo a {
    text-decoration: none;
    color: var(--secondary-color);
}

.vertical-nav ul {
    list-style: none;
    width: 100%;
}

.vertical-nav ul li a {
    display: block;
    color: var(--light-color);
    text-decoration: none;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.vertical-nav ul li a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

.vertical-nav .nav-footer {
    margin-top: auto;
    font-size: 0.8rem;
    color: #aaa;
}

/* Main Content Area */
.main-content {
    margin-left: 250px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    color: #fff;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.slide-content {
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
}

.slide-content h1, .slide-content h2 {
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.cta-button:hover {
    background: transparent;
    color: var(--secondary-color);
}

.hero-section .prev, .hero-section .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}

.hero-section .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.hero-section .prev:hover, .hero-section .next:hover {
    background-color: rgba(191, 178, 163, 0.8);
    color: var(--primary-color);
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
    background: #e9e4dd;
    color: var(--dark-color);
}

.content-section-dark {
    padding: 6rem 0;
    background: var(--primary-color);
    color: var(--text-color);
}

.section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.content-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.content-image-right {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    grid-column: 2;
    grid-row: 1;
}

/* Call to Action Buttons */
.cta-buttons {
    text-align: center;
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-buttons a {
    text-decoration: none;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.cta-buttons a:hover {
    transform: translateY(-3px);
}

.call-button { background-color: #c0392b; }
.whatsapp-button { background-color: #25D366; }
.viber-button { background-color: #665CAC; }

/* Services Section */
.service-item {
    margin-bottom: 5rem;
    padding-bottom: 3rem;
    border-bottom: 1px dashed var(--secondary-color);
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Testimonials Section */
#testimonials {
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial {
    min-width: 100%;
    text-align: center;
    padding: 0 4rem;
}

.testimonial img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 4px solid var(--secondary-color);
}

.testimonial p {
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial h4 {
    font-family: var(--font-secondary);
    color: var(--light-color);
    font-weight: bold;
}

/* Blog Section */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    color: var(--dark-color);
    display: flex;
    flex-direction: column;
}

.blog-post:hover {
    transform: translateY(-10px);
}

.blog-post img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-post h3 {
    color: var(--primary-color);
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.blog-post p {
    padding: 0 1.5rem;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    margin-top: auto;
}

/* Contact Section */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: #001a33;
    padding: 3rem;
    border-radius: 10px;
}
.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}
.contact-info a {
    color: var(--light-color);
    text-decoration: none;
}
.contact-info a:hover {
    color: var(--secondary-color);
}
.cta-buttons-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}
.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--secondary-color);
    background: #002b52;
    color: var(--light-color);
    border-radius: 5px;
    font-size: 1rem;
}
.submit-button {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
}
.submit-button:hover {
    background: #a89d90;
}

/* Mobile Header and Navigation */
.mobile-header {
    display: none; /* Sakriven na desktopu */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 31, 63, 0.95);
    padding: 1rem 1.5rem;
    z-index: 1001;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--secondary-color);
}
.mobile-logo a {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--secondary-color);
    text-decoration: none;
}
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
}
.hamburger-menu .bar {
    width: 100%;
    height: 3px;
    background-color: var(--light-color);
    transition: all 0.3s ease;
}
.hamburger-menu.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
}
.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-nav {
    display: none; /* Sakriven na desktopu */
    position: fixed;
    top: 66px; /* Visina mobile-headera */
    left: 0;
    width: 100%;
    height: calc(100vh - 66px);
    background: var(--primary-color);
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.mobile-nav.active {
    transform: translateX(0);
}
.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}
.mobile-nav ul li a {
    display: block;
    padding: 1.5rem;
    font-size: 1.5rem;
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
.mobile-nav ul li a:hover {
    color: var(--secondary-color);
}


/* Modal Styles */
.modal {
    display: none; /* Inicijalno sakriven */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background-color: #e9e4dd;
    color: var(--dark-color);
    margin: 5% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    position: relative;
    animation: slideIn 0.5s ease-out;
}
@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-content h2 {
    color: var(--primary-color);
    text-align: left;
    margin-bottom: 2rem;
}
.modal-content h4 {
     color: var(--primary-color);
     margin-top: 1.5rem;
}
.modal-content ul {
    list-style-position: inside;
    margin-left: 1rem;
}
.modal-content ul li {
    margin-bottom: 0.5rem;
}
.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
}

.close-button:hover,
.close-button:focus {
    color: var(--dark-color);
    text-decoration: none;
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

/* Responsive Design */
@media(max-width: 1200px) {
    .main-content {
        margin-left: 0;
    }
    .hero-section {
        /* Osigurava da hero sekcija nije prekrivena fiksnim headerom na mobilnom */
        padding-top: 66px; 
        height: calc(100vh - 66px);
    }
    .vertical-nav {
        display: none; 
    }
    .mobile-header, .mobile-nav {
        display: flex; /* Prikazuje mobilni header i nav kontejner */
    }
    .mobile-header {
        justify-content: space-between; /* Poravnanje logo i hamburgera */
    }
    .section-content, .contact-container {
        grid-template-columns: 1fr;
    }
    .content-image-right {
        grid-column: 1;
        grid-row: auto;
    }
    .testimonial {
        padding: 0 1rem;
    }
}

@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .slide-content p { font-size: 1.1rem; }
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .cta-buttons a {
        width: 80%;
        justify-content: center;
    }
    .modal-content {
        width: 95%;
        padding: 20px;
        margin-top: 10%;
    }
    /* Smanjujemo padding na mobilnom da ne bude prevelik */
    .content-section, .content-section-dark {
        padding: 4rem 0;
    }
}

/* Stilovi za birač jezika */
.language-switcher, .language-switcher-mobile {
    display: flex;
    gap: 10px;
    padding: 15px;
    justify-content: center;
}
.language-switcher-mobile {
    position: absolute;
    right: 70px;
    top: 5px;
}
.lang-flag {
    width: 30px;
    height: 20px;
    cursor: pointer;
    border-radius: 3px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    object-fit: cover;
}
.lang-flag:hover {
    transform: scale(1.1);
    border-color: #fff;
}
.lang-flag.active {
    border-color: #d4af37; /* Zlatna boja da se istakne aktivni jezik */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.7);
}