/* ===== RESET I OSNOVNI STILOVI ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alatsi', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #A6CFD5;
    background-color: #04151F;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== TIPOGRAFIJA ===== */
h1, h2, h3 {
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #E2EF70;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    text-transform: uppercase;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: #E2EF70;
}

h2.centered-title:after {
    left: 50%;
    transform: translateX(-50%);
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #A6CFD5;
}

/* ===== HEADER I NAVIGACIJA ===== */
.site-header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(4, 21, 31, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(226, 239, 112, 0.2);
}

main {
    margin-top: 80px;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

/* LOGO */
.logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

/* HAMBURGER MENI DUGME - SAKRIVENO NA DESKTOPU */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #E2EF70;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* DESKTOP NAVIGACIJA */
.main-nav {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #A6CFD5;
    font-weight: 500;
    letter-spacing: 1px;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #E2EF70;
}

/* ===== OSTALI STILOVI ===== */
.hero {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    color: #fff;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 21, 31, 0.6);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #E2EF70;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #A6CFD5;
    margin-bottom: 40px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    padding: 12px 40px;
    background-color: transparent;
    color: #E2EF70;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 2px;
    border: 2px solid #E2EF70;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background-color: #E2EF70;
    color: #04151F;
}

.features {
    padding: 80px 0;
    background-color: transparent;
    width: 100%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-card {
    padding: 30px;
    background-color: rgba(4, 21, 31, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 12px;
    border: 1px solid rgba(226, 239, 112, 0.2);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 239, 112, 0.5);
}

.feature-card h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #E2EF70;
}

.feature-card p {
    font-size: 1rem;
    color: #A6CFD5;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.book-message-section {
    padding: 80px 0;
    background-color: #0B2C41;
    width: 100%;
    margin: 40px 0;
}

.book-message-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.book-message-text {
    flex: 1;
}

.book-message-text h2 {
    color: #E2EF70;
    margin-bottom: 30px;
}

.book-message-text p {
    color: #A6CFD5;
    font-size: 1.15rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

.book-message-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 239, 112, 0.3);
}

.book-message-footer p {
    margin-bottom: 0;
    font-size: 1.2rem;
    color: #E2EF70;
}

.book-message-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-message-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.about-section {
    padding: 80px 0;
    background-color: transparent;
    width: 100%;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    margin-bottom: 40px;
    color: #E2EF70;
}

.about-content p {
    margin-bottom: 30px;
    font-size: 1.15rem;
    color: #A6CFD5;
    text-align: left;
}

.get-in-touch {
    margin-top: 50px;
    text-align: center;
    padding: 20px 0;
}

.book-hero {
    padding: 80px 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.book-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 21, 31, 0.7);
    z-index: 1;
}

.book-hero .container {
    position: relative;
    z-index: 2;
}

.book-hero-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.book-cover {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.5);
    max-height: 400px;
    width: auto;
}

.book-specs {
    flex: 1;
    background-color: rgba(4, 21, 31, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(226, 239, 112, 0.2);
}

.spec-item {
    margin-bottom: 15px;
    display: flex;
    border-bottom: 1px solid rgba(226, 239, 112, 0.1);
    padding-bottom: 10px;
}

.spec-item:last-of-type {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #E2EF70;
    width: 120px;
    flex-shrink: 0;
}

.spec-value {
    color: #A6CFD5;
    flex: 1;
}

.book-buy-button {
    margin-top: 30px;
    text-align: center;
}

.btn-book {
    padding: 12px 50px;
    font-size: 1.1rem;
    background-color: transparent;
    color: #E2EF70;
    border: 2px solid #E2EF70;
    border-radius: 12px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-book:hover {
    background-color: #E2EF70;
    color: #04151F;
}

.book-description-section {
    padding: 80px 0;
    background-color: transparent;
}

.book-description-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.book-description-content h2 {
    color: #E2EF70;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.book-description-content h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background-color: #E2EF70;
}

.book-description-content p {
    color: #A6CFD5;
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: left;
}

.talk-to-us-section {
    padding: 60px 0;
    width: 100%;
    background-color: #04151F;
}

.talk-to-us-box {
    background-color: #0B2C41;
    padding: 60px 40px;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(226, 239, 112, 0.2);
}

.talk-to-us-box h2 {
    color: #E2EF70;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.talk-to-us-box h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: #E2EF70;
}

.talk-to-us-text {
    color: #A6CFD5;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.btn-talk {
    padding: 12px 50px;
    font-size: 1.1rem;
    background-color: transparent;
    color: #E2EF70;
    border: 2px solid #E2EF70;
    border-radius: 12px;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.btn-talk:hover {
    background-color: #E2EF70;
    color: #04151F;
}

.contact-hero {
    padding: 100px 0;
    position: relative;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    text-align: center;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(4, 21, 31, 0.6);
    z-index: 1;
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    color: #E2EF70;
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.contact-hero-subtitle {
    font-size: 1.5rem;
    color: #A6CFD5;
    letter-spacing: 3px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-author-section {
    padding: 60px 0 20px 0;
    background-color: transparent;
}

.contact-author-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-author-content h2 {
    color: #E2EF70;
    margin-bottom: 30px;
}

.contact-author-content p {
    color: #A6CFD5;
    font-size: 1.2rem;
    line-height: 1.8;
}

.contact-form-section {
    padding: 40px 0 80px 0;
    width: 100%;
    background-color: transparent;
}

.contact-form-box {
    background-color: #0B2C41;
    padding: 50px;
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(226, 239, 112, 0.2);
}

.contact-form-box h3 {
    color: #E2EF70;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #E2EF70;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(4, 21, 31, 0.7);
    border: 1px solid rgba(226, 239, 112, 0.3);
    border-radius: 8px;
    color: #A6CFD5;
    font-family: 'Alatsi', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #E2EF70;
}

.form-button {
    text-align: center;
    margin-top: 30px;
}

.btn-form {
    padding: 12px 50px;
    font-size: 1.1rem;
    background-color: transparent;
    color: #E2EF70;
    border: 2px solid #E2EF70;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-form:hover {
    background-color: #E2EF70;
    color: #04151F;
}

.form-success {
    background-color: rgba(46, 125, 50, 0.2);
    border: 1px solid #2e7d32;
    color: #a5d6a7;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
}

.form-errors {
    background-color: rgba(211, 47, 47, 0.2);
    border: 1px solid #d32f2f;
    color: #ef9a9a;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.form-errors ul {
    margin: 0;
    padding-left: 20px;
}

.site-footer {
    padding: 30px 0;
    background-color: rgba(4, 21, 31, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #A6CFD5;
    width: 100%;
    border-top: 1px solid rgba(226, 239, 112, 0.2);
    margin-top: 40px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.footer-nav a {
    color: #A6CFD5;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #E2EF70;
}

.footer-copyright {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
    color: #A6CFD5;
}

/* ===== RESPONZIVNOST - MOBILNI MENI (PROFINJEN) ===== */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    /* Prikaži hamburger meni */
    .mobile-menu-toggle {
        display: block;
    }
    
    /* Profinjen mobilni meni - uži i poravnat udesno */
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;  /* Poravnato udesno */
        width: auto;  /* Automatska širina (prilagođava se sadržaju) */
        min-width: 200px;  /* Minimalna širina */
        background-color: rgba(4, 21, 31, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(226, 239, 112, 0.2);
        border-radius: 12px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        margin-top: 10px;  /* Razmak od headera */
    }
    
    /* Kada je meni aktivan - prikaži ga */
    .main-nav.active {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        margin: 0;
        width: 100%;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 12px 30px;
        font-size: 1rem;
        border-bottom: 1px solid rgba(226, 239, 112, 0.1);
        color: #A6CFD5;
        width: 100%;
        white-space: nowrap;  /* Sprečava prelamanje teksta */
    }
    
    .nav-menu a:hover {
        background-color: rgba(226, 239, 112, 0.15);
        color: #E2EF70;
    }
    
    .nav-menu li:last-child a {
        border-bottom: none;
    }
    
    .logo img {
        max-height: 45px;
    }
    
    /* Ostali mobilni stilovi */
    .book-message-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .book-message-image {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .book-hero-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .book-cover {
        max-width: 80%;
        margin: 0 auto;
    }
    
    .book-specs {
        width: 100%;
        padding: 25px;
    }
    
    .spec-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .spec-label {
        width: 100%;
    }
    
    .talk-to-us-box {
        padding: 40px 25px;
    }
    
    .contact-hero {
        padding: 80px 0;
        min-height: 300px;
    }
    
    .contact-hero h1 {
        font-size: 3rem;
    }
    
    .contact-form-box {
        padding: 30px 25px;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
    
    .footer-copyright {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .logo img {
        max-height: 40px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .book-message-image {
        max-width: 90%;
    }
    
    .book-cover {
        max-width: 90%;
    }
    
    .talk-to-us-box {
        padding: 30px 20px;
    }
    
    .contact-hero {
        padding: 60px 0;
        min-height: 250px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-form-box {
        padding: 25px 20px;
    }
    
    .btn {
        padding: 8px 25px;
        font-size: 0.9rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 12px;
    }
    
    /* Još malo uži meni na malim ekranima */
    .main-nav {
        min-width: 180px;
    }
    
    .nav-menu a {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
}