/* CSS Varijable (Nova Paleta Boja) */
:root {
    --accent-teal: #00A99D;       /* Brutalna tirkizna boja */
    --accent-teal-dark: #00827A; /* Tamnija varijanta za hover efekte */
    --background-beige: #F8F5F2; /* Svetla, čista bež pozadina */
    --light-gray: #f9f9f9;        /* Svetlo siva za pozadine nekih sekcija */
    --dark-text: #333333;         /* Tamno siva za tekst radi čitljivosti */
    --white-text: #FFFFFF;        /* Bela boja */
    --star-gold: #FFC107;         /* Zlatna boja za zvezdice */
    --header-height: 80px;
}

/* Globalni Reset i Osnovni Stilovi */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body { font-family: 'Poppins', sans-serif; color: var(--dark-text); background-color: var(--white-text); line-height: 1.7; }

/* Pomoćne Klase */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-title { text-align: center; font-size: 2.8rem; color: var(--accent-teal); margin-bottom: 4rem; }
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-primary { background-color: var(--accent-teal); color: var(--white-text); }
.btn-primary:hover { background-color: var(--accent-teal-dark); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 169, 157, 0.4); }
.btn-secondary-outline { background-color: transparent; color: var(--white-text); border: 2px solid var(--white-text); }
.btn-secondary-outline:hover { background-color: var(--white-text); color: var(--accent-teal); transform: translateY(-3px); }

/* Header */
.header { background-color: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); height: var(--header-height); position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: background-color 0.3s; }
.header.scrolled { background-color: rgba(255, 255, 255, 0.98); }
.header .container { height: 100%; display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.8rem; font-weight: 700; text-decoration: none; color: var(--dark-text); }
.logo-icon { color: var(--accent-teal); margin-left: 0.5rem; }
.nav-list { list-style: none; display: flex; gap: 1.5rem; }
.nav-list a { text-decoration: none; color: var(--dark-text); font-weight: 600; position: relative; padding-bottom: 5px; font-size: 0.9rem;}
.nav-list a::after { content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 0; background-color: var(--accent-teal); transition: width 0.3s ease; }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-toggle { display: none; }

/* Hero Sekcija - NOVA POZADINA */
.hero-section { 
    position: relative;
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white-text);
    background-color: #333; /* Fallback boja */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url('images/pozadina4.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
}
.hero-section .container { position: relative; z-index: 2; }
.hero-section h1 { font-size: 4.5rem; text-shadow: 2px 2px 10px rgba(0,0,0,0.5); }
.hero-section p { font-size: 1.5rem; margin-bottom: 2.5rem; font-weight: 300; max-width: 600px; margin-left: auto; margin-right: auto;}
.hero-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* O Meni (Alex) Sekcija */
.about-alex-section { padding: 6rem 0; background: var(--white-text); overflow-x: hidden; }
.grid-2-cols { display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; }
.about-image img { width: 100%; border-radius: 10px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.about-text h2 { font-size: 2.5rem; color: var(--accent-teal); margin-bottom: 0.5rem; }
.about-text h3 { font-size: 1.5rem; color: var(--dark-text); margin-bottom: 1.5rem; font-weight: 600; }

/* Services Sekcija */
.services-section { padding: 6rem 0; background-color: var(--light-gray); overflow-x: hidden; }
.services-grid-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.service-card { background-color: var(--white-text); padding: 2.5rem; text-align: center; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.4s ease, box-shadow 0.4s ease; display: flex; flex-direction: column; align-items: center; cursor: pointer; }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 169, 157, 0.2); }
.card-icon { font-size: 3rem; color: var(--accent-teal); margin-bottom: 1.5rem; transition: transform 0.3s; }
.service-card:hover .card-icon { transform: scale(1.1); }
.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.service-card.hijama-card { background: linear-gradient(45deg, var(--accent-teal), var(--accent-teal-dark)); color: var(--white-text); }
.service-card.hijama-card .card-icon, .service-card.hijama-card h3 { color: var(--white-text); }
.hijama-card-link { text-decoration: none; color: inherit; grid-column: 1 / -1; }

/* Cenovnik Sekcija */
.pricelist-section { padding: 6rem 0; background-color: var(--white-text); overflow-x: hidden; }
.pricelist-columns { display: flex; gap: 3rem; flex-wrap: wrap; justify-content: center; }
.pricelist-column { flex: 1; min-width: 300px; }
.pricelist-column h3 { font-size: 2rem; color: var(--accent-teal); border-bottom: 2px solid var(--accent-teal); padding-bottom: 0.5rem; margin-bottom: 1.5rem; }
.pricelist-list { list-style: none; padding: 0; }
.pricelist-list li { display: flex; justify-content: space-between; padding: 1rem 0; border-bottom: 1px dashed #ccc; transition: background-color 0.3s; }
.pricelist-list li:hover { background-color: #f0fafa; }
.pricelist-list li span:first-child { text-align: left; padding-right: 1rem; }
.pricelist-list li span:last-child { text-align: right; font-weight: 600; color: var(--dark-text); }
.pricelist-list li.pricelist-highlight { background-color: #e0f7fa; border-radius: 5px; padding-left: 1rem; }
.pricelist-list li.pricelist-highlight span:last-child { color: var(--accent-teal-dark); }

/* Testimonials Sekcija */
.testimonials-section { padding: 6rem 0; background-color: var(--light-gray); overflow-x: hidden; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.testimonial-card { background-color: var(--white-text); padding: 2rem; border-radius: 10px; border-left: 5px solid var(--accent-teal); box-shadow: 0 5px 20px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.testimonial-card .stars { color: var(--star-gold); margin-bottom: 1rem; font-size: 1.2rem; }
.testimonial-card p { font-style: italic; margin-bottom: 1.5rem; }
.testimonial-card h4 { text-align: right; color: var(--accent-teal); }

/* Contact Sekcija */
.contact-section { padding: 6rem 0; background-color: var(--white-text); overflow-x: hidden; }
.contact-info { text-align: center; margin-bottom: 3rem; font-size: 1.2rem; line-height: 2; }
.contact-info p .fa-solid, .contact-info p .fa-brands { color: var(--accent-teal); margin-right: 1rem; }
.contact-info a { color: var(--accent-teal); text-decoration: none; }
.contact-info a:hover { text-decoration: underline; }
.contact-form { max-width: 700px; margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 1rem; border: 1px solid #ccc; border-radius: 5px; font-family: 'Poppins', sans-serif; transition: border-color 0.3s, box-shadow 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-teal); box-shadow: 0 0 0 3px rgba(0, 169, 157, 0.2); }
.btn-secondary { background-color: var(--accent-teal); color: var(--white-text); }
.btn-secondary:hover { background-color: var(--accent-teal-dark); transform: translateY(-3px); box-shadow: 0 4px 15px rgba(0, 169, 157, 0.4); }

/* Footer */
.footer { background-color: var(--dark-text); color: var(--background-beige); padding: 3rem 0; text-align: center; }
.social-links { margin-bottom: 1.5rem; }
.social-links a { color: var(--background-beige); font-size: 1.5rem; margin: 0 1rem; transition: color 0.3s ease, transform 0.3s ease; }
.social-links a:hover { color: var(--accent-teal); transform: translateY(-3px); }
.copyright { font-size: 0.9rem; opacity: 0.8; line-height: 1.6; }

/* NOVE ANIMACIJE */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}
.animate-on-scroll.fade-in { transform: translateY(30px); }
.animate-on-scroll.slide-in-left { transform: translateX(-50px); }
.animate-on-scroll.slide-in-right { transform: translateX(50px); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0) translateX(0); }

/* NOVO DUGME ZA POVRATAK NA VRH */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--accent-teal);
    color: var(--white-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.3s;
    z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background-color: var(--accent-teal-dark); }

/* Stilovi za Modal (Iskačući Prozor) */
.modal {
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}
.modal.active { display: flex; opacity: 1; }
.modal-content {
    background-color: var(--white-text);
    color: var(--dark-text);
    padding: 2rem 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.2);
    position: relative;
    max-width: 650px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease-in-out;
}
.modal.active .modal-content { transform: scale(1); }
.modal-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 1.2rem;
    font-size: 2.5rem;
    font-weight: 300;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.modal-close-btn:hover { color: var(--dark-text); }
.modal-img { 
    width: 100%; 
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px; 
    margin-bottom: 1.5rem; 
}
.modal-content h3 { font-size: 2rem; color: var(--accent-teal); margin-bottom: 1rem; }
.modal-content p { font-size: 1rem; line-height: 1.8; }

/* NOVI STIL za pozicioniranje anticelulit slike */
.object-position-bottom {
    object-position: bottom;
}

/* Stilovi za novu Hidžama stranicu */
.page-header-section {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    background-color: var(--light-gray);
    text-align: center;
}
.page-header-section h1 { font-size: 3rem; color: var(--accent-teal); margin-bottom: 1rem; }
.page-header-section p { font-size: 1.2rem; color: var(--dark-text); max-width: 600px; margin: 0 auto; }
.hijama-details-section { padding: 4rem 0; }
.hijama-content-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 3rem; align-items: flex-start; }
.hijama-text h2 { font-size: 2.2rem; color: var(--accent-teal); margin-bottom: 1.5rem; }
.hijama-text h3 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1rem; border-bottom: 2px solid var(--accent-teal-dark); padding-bottom: 0.5rem; }
.hijama-text h4 { font-size: 1.3rem; font-weight: 600; margin-top: 1rem; margin-bottom: 0.5rem; }
.hijama-text p { margin-bottom: 1rem; line-height: 1.8; }
.hijama-text ul { list-style: none; padding: 0; margin-top: 1rem; }
.hijama-text ul li { display: flex; align-items: center; margin-bottom: 0.8rem; font-size: 1.1rem; }
.hijama-text ul li .fa-check { color: var(--accent-teal); margin-right: 0.8rem; font-size: 1.2rem; }
.hijama-gallery h3 { font-size: 1.8rem; margin-bottom: 1.5rem; text-align: center; color: var(--accent-teal-dark); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gallery-grid img { width: 100%; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.gallery-grid img:hover { transform: scale(1.05); }
.hijama-cta { background-color: var(--light-gray); padding: 2rem; border-radius: 8px; text-align: center; margin-top: 2rem; }
.hijama-cta h4 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Responzivnost */
@media (max-width: 992px) {
    .hero-section h1 { font-size: 3.5rem; }
    .grid-2-cols { grid-template-columns: 1fr; text-align: center; }
    .about-image { order: -1; margin-bottom: 2rem; max-width: 400px; margin-left: auto; margin-right: auto;}
    .hijama-content-grid { grid-template-columns: 1fr; }
    .hijama-gallery { order: -1; margin-bottom: 3rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .nav-toggle { display: block; background: none; border: none; font-size: 1.8rem; cursor: pointer; z-index: 1001; color: var(--dark-text); }
    .main-nav { position: fixed; top: 0; right: -100%; width: 70%; height: 100vh; background-color: var(--background-beige); transition: right 0.4s ease-in-out; box-shadow: -5px 0 15px rgba(0,0,0,0.1); padding-top: 5rem;}
    .main-nav.active { right: 0; }
    .nav-list { flex-direction: column; align-items: center; justify-content: flex-start; height: 100%; gap: 2rem; }
    .nav-list a { font-size: 1.1rem; }
    .hero-section h1 { font-size: 2.8rem; }
    .hero-section p { font-size: 1.2rem; }
    .section-title { font-size: 2.2rem; }
}
@media (max-width: 576px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .page-header-section h1 { font-size: 2.5rem; }
}