/* CSS PRILAGOĐEN IZ ORIGINALNOG ZADATKA I OPTIMIZIRAN */

:root {
    --primary-color: #0077B6;
    --secondary-color: #00B4D8;
    --dark-color: #1A202C;
    --light-color: #F8F9FA;
    --font-family: 'Montserrat', sans-serif;
    --container-width: 1200px;
}

body {
    font-family: var(--font-family);
    color: var(--dark-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background-color: #fff;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-md-12,
.col-md-6,
.col-lg-4 {
    padding: 0 15px;
    box-sizing: border-box;
}

.col-md-12 {
    width: 100%;
}

@media (min-width: 768px) {
    .col-md-6 {
        width: 50%;
    }

    .col-md-12 {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .col-lg-4 {
        width: 33.333333%;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    margin-top: 15px;
    border-radius: 50px;
    color: #fff;
    background: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0, 119, 182, 0.25);
}

.btn:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.35);
}

/* Sections */
.about,
.service,
.pricing,
.contact,
.qa-section {
    padding: 80px 0;
}

/* Header / Hero */
.header {
    background: url("../img/mainbackground.jpeg") no-repeat center center/cover;
    height: 70vh;
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 62, 138, 0.7);
}

.header .container {
    position: relative;
    color: #fff;
    z-index: 10;
}

.header h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
}

.hero-lines {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.4;
}

.highlight-free {
    display: inline-block;
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 800;
    color: #fff;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h4 {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header h2 {
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    color: var(--dark-color);
}

.section-header p {
    font-size: 16px;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
}

/* About */
.about-img {
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

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

.about-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Uniform text class to ensure "sve ista veličina teksta" */
.uniform-text {
    font-size: 16px;
    color: #495057;
}

/* Cal.com container */
#calcontainer {
    padding: 0;
    height: 800px;
    margin-bottom: 60px;
    border-top: 5px solid var(--secondary-color);
}

/* Service (Tretmani) */
.service {
    background-color: var(--light-color);
}

.service-item {
    background: #fff;
    border-radius: 12px;
    padding: 22px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-top: 5px solid var(--primary-color);
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-title h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.service-detail p {
    margin-top: 10px;
}

/* QA */
.qa-item {
    background: #fff;
    margin-bottom: 12px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.qa-question {
    padding: 16px 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--dark-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background-color: #f3f9ff;
}

.qa-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out, padding 0.35s ease-out;
    color: #495057;
}

.qa-answer p {
    padding: 14px 0;
    margin: 0;
    font-size: 15px;
}

.qa-question.active+.qa-answer {
    max-height: 400px;
    padding-bottom: 18px;
}

.qa-icon {
    transition: transform 0.3s;
}

.qa-question.active .qa-icon {
    transform: rotate(180deg);
}

/* Pricing */
.pricing {
    background-color: #fff;
    padding-bottom: 50px;
}

.price-content {
    text-align: center;
    background: var(--light-color);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--secondary-color);
    height: 100%;
}

.price-content:hover {
    transform: translateY(-6px);
}

.price-plan {
    padding: 26px 18px;
    background: var(--primary-color);
    color: #fff;
    position: relative;
}

.price-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #FFD700;
    color: var(--dark-color);
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 13px;
}

.price-plan p.price-title {
    font-size: 18px;
    font-weight: 700;
    margin: 2em 0 1em 0;
    text-transform: uppercase;
}

.price-plan h2.price-amount {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.price-details {
    list-style: none;
    padding: 18px;
    margin: 0;
    text-align: left;
}

.price-details li {
    padding: 6px 0;
    font-size: 15px;
    color: #495057;
}

.price-details li i {
    color: var(--primary-color);
    margin-right: 10px;
}

/* Contact */
.contact {
    background: var(--light-color);
}

.contact-inner {
    margin-bottom: 30px;
    text-align: center;
}

.contact-inner h2 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Map */
.map-container h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 12px;
}

.map-embed {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.map-embed iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer .social-links a {
    color: #fff;
    font-size: 18px;
    margin: 0 8px;
    transition: color 0.3s;
}

.footer .copyright,
.footer .credit {
    margin-top: 12px;
    font-size: 13px;
}

.footer .credit a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Back to top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    transition: all 0.5s;
    text-align: center;
    line-height: 44px;
    font-size: 20px;
    z-index: 999;
}

/* Responsive tweaks */
@media (max-width: 767.98px) {
    .header h1 {
        font-size: 2rem;
    }

    .hero-lines {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .price-details {
        padding-left: 10%;
    }
}

/* ===== Dodano: galerija mjesta i slike tretmana ===== */

/* Galerija prostora (About sekcija) */
.place-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch;
    margin-bottom: 12px;
}

.place-item img {
    width: 100%;
    height: 220px;
    /* visina galerije; možeš smanjiti/ povećati */
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.place-item img:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}

/* Slike unutar kartica tretmana */
.treatment-img {
    width: 100%;
    height: 160px;
    /* možeš prilagoditi visinu ovisno o cropu */
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* Mobilne prilagodbe */
@media (max-width: 767.98px) {
    .place-item img {
        height: 160px;
    }

    .treatment-img {
        height: 140px;
    }
}

.mainbackground {
    height: 10em;
}

.address-info {
    text-align: center;
}

/* ===== Recenzije ===== */
.reviews {
    background: #f8f9fa;
    padding: 80px 0;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.review-card h5 {
    text-align: right;
    color: var(--primary-color);
    margin-top: 12px;
    font-weight: 700;
}