:root {
    --navy-blue: #2c3e50;
    --gold: #f1c40f;
    --light-gray: #f9f9f9;
    --dark-gray: #333;
    --white: #ffffff;
}

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

body {
    font-family: 'Noto Sans', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: var(--navy-blue);
    color: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 85px;
    padding: 5px 0;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--gold);
}

.language-switcher,
.mobile-language-switcher {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.language-switcher a,
.mobile-language-switcher a {
    margin-left: 10px;
    color: var(--white);
    opacity: 0.7;
    transition: opacity 0.3s;
}

.language-switcher a.active,
.mobile-language-switcher a.active {
    opacity: 1;
    font-weight: 600;
}

.language-switcher a:hover,
.mobile-language-switcher a:hover {
    opacity: 1;
}

.mobile-language-switcher {
    margin-left: 0;
    display: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    margin-left: auto;
    position: relative;
    z-index: 1001;
    transition: transform 0.3s ease;
}

.mobile-menu-toggle.rotate {
    transform: rotate(90deg);
}



/* Hero Section */
.hero {
    height: 90vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/cover.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 90px;
}
.hero.head-spa{
    height: 65vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/head-spa-tretmani.jpg') center/cover no-repeat;
}

.hero.spa-basic{
    height: 65vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/head-spa-masaza.jpeg') center/cover no-repeat;
}
.hero.spa-plus{
    height: 65vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/head-spa-zagreb.jpeg') center/cover no-repeat;
}
.hero.spa-lux{
    height: 65vh;
    background: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('../images/najbolji-head-spa-zagreb.jpeg') center/cover no-repeat;
}
.hero.gift-voucher{
    height: 65vh;
    background: linear-gradient(to top,
      rgba(44, 62, 80, 0.38) 24%,
      rgba(44, 62, 80, 0.48) 55%,
      rgba(44, 62, 80, 0.18) 78%,
      rgba(44, 62, 80, 0) 100%
    ), url("../images/poklon-bon-head-spa-zagreb.jpeg") center/cover no-repeat;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background-color: var(--gold);
    color: var(--navy-blue);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.centered{
    text-align: center;
}

/* Header CTA Button */
.cta-btn {
    background-color: var(--gold);
    color: var(--navy-blue) !important;
    padding: 8px 16px;
    border-radius: 4px;

    transition: background-color 0.3s, color 0.3s;
}

.nav-menu a.cta-btn{
    font-weight: 600;
}

.cta-btn:hover {
    background-color: #ffd700;
    color: var(--navy-blue);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--navy-blue);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--gold);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.about-text p {
    margin-bottom: 15px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.service-img {
    height: 350px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--navy-blue);
}

.service-info p {
    margin-bottom: 15px;
}

.price-sample {
    font-weight: 600;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.service-link {
    color: var(--gold);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link span {
    margin-left: 5px;
    transition: margin-left 0.3s;
}

.service-link:hover span {
    margin-left: 10px;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background-color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    height: 250px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(44, 62, 80, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-size: 1.2rem;
    text-align: center;
    padding: 0 10px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--navy-blue);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    margin-bottom: 15px;
}

.contact-item i {
    color: var(--gold);
    margin-right: 15px;
    font-size: 1.2rem;
    min-width: 20px;
}

.business-hours h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--navy-blue);
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.hours-table td {
    padding: 10px 0;
}

.hours-table td:last-child {
    text-align: right;
}

.map {
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
}

.footer-logo img {
    margin-bottom: 20px;
}

.footer-logo p {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--gold);
}

.footer-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Price List Section */
.price-list-container {
    max-width: 900px;
    margin: 100px auto;
    background-color: var(--white);
    border: 3px solid var(--gold);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.price-list-container h1 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--navy-blue);
    font-size: 2rem;
}

.price-list-container table {
    width: 100%;
    border-collapse: collapse;
}

.price-list-container th, .price-list-container td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.price-list-container thead tr {
    background-color: var(--navy-blue);
    color: var(--gold);
}

.price-list-container .category-row td {
    background-color: var(--navy-blue);
    color: var(--gold);
    font-weight: bold;
    text-align: center;
}

.price-list-container tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

.price-list-container tbody tr:nth-child(odd) {
    background-color: var(--white);
}

.price-list-container .notes {
    font-size: 0.9rem;
    color: #666;
    margin-top: 15px;
    line-height: 1.5em;
}

/* Rezerviraj Button */
.price-list-container .btn {
    padding: 6px 15px;
    font-size: 0.9rem;
    background-color: var(--gold);
    color: var(--navy-blue);
    border-radius: 4px;
    display: inline-block;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.price-list-container .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

/* ------------------------
   Mobile: kartice
------------------------- */
@media (max-width: 768px) {
    .price-table { display: none; }
    .price-cards { display: block; }
}

/* ------------------------
   Desktop: tablica
------------------------- */
@media (min-width: 769px) {
    .price-table { display: table; width: 100%; border-collapse: collapse; }
    .price-cards { display: none; }
}


/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        order: -1;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
        color: var(--white);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: var(--navy-blue);
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 0 0 15px 0;
        text-align: center;
    }

    .language-switcher {
        display: none;
    }

    .mobile-language-switcher {
        display: none;
        justify-content: center;
        margin: 15px 0 0;
        padding-bottom: 15px;
    }

    .nav-menu.active .mobile-language-switcher {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .about-text h3,
    .contact-info h3 {
        font-size: 1.5rem;
    }
}

/* ---------- Responsive Price List Switch ---------- */

/* By default, show table, hide cards */
.price-table { display: table; width: 100%; border-collapse: collapse; }
.price-cards { display: none; }

/* For mobile, switch to card view */
@media (max-width: 768px) {
    .price-table { display: none; }
    .price-cards { display: block; }
}

/* Price Cards */
.price-cards .service-category {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy-blue);
    margin: 25px 0 10px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 5px;
}
.price-card {
    background: var(--white);
    padding: 24px;
    margin-bottom: 25px;
    border: 1px solid rgba(241, 196, 15, 0.3);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(241, 196, 15, 0.05), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: 1;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--gold);
}

.price-card strong {
    font-size: 1.2rem;
    color: var(--navy-blue);
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.price-card p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--dark-gray);
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

.price-card .btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 1rem;
    background: linear-gradient(90deg, var(--gold), #f5d142);
    color: var(--navy-blue);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    z-index: 2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.price-card .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

/* Kategorija */
.service-category {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--navy-blue);
    margin: 35px 0 20px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
    position: relative;
}

.mini-hero {
    background: url('/images/head-spa-zagreb.jpeg') center center/cover no-repeat;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
    font-family: 'Arial', sans-serif;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.4);
    margin-top: 90px;
}
.mini-hero h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin: 20px 0 40px;
}
.benefit-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    font-weight: 600;
    color: #333;
    transition: background-color 0.4s ease;
}
.benefit-item:hover {
    background-color: #fff8e1; /* svijetla zlatna */
}

/* Simple check list used on gift card page */
.check-list{
    list-style: none;
    margin: 20px 0 40px;
    padding: 0;
}
.check-list li{
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-weight: 600;
}
.check-list li::before{
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--gold);
    position: absolute;
    left: 0;
    top: 0;
}
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}
.faq-question {
    cursor: pointer;
    padding: 15px 10px;
    font-weight: 700;
    position: relative;
    color: var(--navy-blue);
    user-select: none;
}
.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after {
    content: '-';
    transform: rotate(180deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 10px;
    transition: max-height 0.35s ease, padding 0.35s ease;
    color: #555;
}
.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 10px;
}

.spaced-section h2 {
    margin-top: 80px;
    margin-bottom: 20px;
}

.spaced-section p,
.spaced-section .benefits-grid,
.spaced-section .faq-item,
.spaced-section .btn {
    margin-bottom: 40px;
}

.spaced-section {
    padding-bottom: 60px;
}

.fa-map-marker-alt{
    margin-right: 8px;
}

.btn .fa-phone{
    padding-right: 5px;
}

/* Floating Instagram Chat Button */
.instagram-chat {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%,
                 #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.instagram-chat:hover {
    opacity: 0.8;
}

/* Gift Card Landing Styles */
.section { padding: 80px 0; }
.spaced-section { background: var(--white); }

.value-props { background: var(--light-gray); padding: 30px 20px; border-radius: 10px; margin: 30px 0 10px; }
.props-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.prop { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; box-shadow: 0 4px 10px rgba(0,0,0,.04); }
.prop i { color: var(--gold); font-size: 1.2rem; }

.check-list { list-style: none; margin: 14px 0 24px; padding: 0; }
.check-list li { position: relative; padding-left: 28px; margin: 10px 0; }
.check-list li::before { content: '\f00c'; /* fa-check */ font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 0; }

.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin: 12px 0 28px; }
.benefit-item { background: var(--light-gray); border: 1px solid #eee; border-radius: 8px; padding: 14px 16px; }

.faq-item { background: var(--white); border: 1px solid #eee; border-radius: 8px; padding: 16px 18px; margin: 14px 0; box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.faq-question { font-weight: 600; color: var(--navy-blue); margin-bottom: 8px; }
.faq-answer { color: #555; }

.gift-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin: 18px 0 28px; }
.gift-card { background: var(--white); border-radius: 12px; border: 1px solid #eee; box-shadow: 0 8px 20px rgba(0,0,0,.06); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.gift-card .title { font-size: 1.25rem; color: var(--navy-blue); font-weight: 700; }
.gift-card .subtitle { color: #6b7280; font-size: .95rem; }
.gift-card .price { font-size: 2rem; color: var(--navy-blue); font-weight: 800; display: flex; align-items: baseline; gap: 10px; }
.gift-card .price .old { font-size: 1.1rem; color: #9ca3af; text-decoration: line-through; font-weight: 600; }
.gift-card .price .new { color: var(--navy-blue); font-weight: 900; }
.gift-card .meta { display: flex; gap: 10px; align-items: center; color: #6b7280; font-size: .9rem; }
.gift-card .meta .pill { background: var(--light-gray); border: 1px solid #eee; border-radius: 999px; padding: 4px 10px; }
.gift-card .features { list-style: none; padding: 0; margin: 10px 0; }
.gift-card .features li { margin: 6px 0; padding-left: 24px; position: relative; color: #444; }
.gift-card .features li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); position: absolute; left: 0; top: 0; }
.gift-card .btn { width: 100%; text-align: center; margin-top: 6px; }
.gift-card .badge { position: absolute; right: -48px; top: 14px; background: var(--gold); color: var(--navy-blue); font-weight: 800; padding: 6px 60px; transform: rotate(15deg); box-shadow: 0 6px 14px rgba(0,0,0,.12); }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 12px 0 28px; }
.step { background: var(--white); border: 1px solid #eee; border-radius: 10px; padding: 18px; text-align: center; box-shadow: 0 6px 16px rgba(0,0,0,.05); }
.step i { color: var(--gold); font-size: 1.6rem; margin-bottom: 8px; }
.step h4 { color: var(--navy-blue); margin: 6px 0; }
.step p { color: #555; font-size: .95rem; }

.cta-banner { background: linear-gradient(135deg, rgba(44,62,80,1) 0%, rgba(44,62,80,.9) 60%); color: var(--white); border-radius: 12px; padding: 28px 22px; text-align: center; margin: 26px 0; }
.cta-banner .actions { margin-top: 14px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn.alt { background: var(--white); color: var(--navy-blue); }

@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .gift-card .price { font-size: 1.7rem; }
}
