/*
Theme Name: Stepa Med
Theme URI: https://stepamed.rs
Author: Ljubomir & ChatGPT
Description: Prilagođena tema za specijalističku ordinaciju Stepa Med
Version: 1.0
Text Domain: stepamed
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: #1f2933;
    background-color: #f5f7fa;
    line-height: 1.6;
}

a {
    color: #0b7285;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ========== HEADER ========== */

.site-header {
    background: #0b7285;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    padding: 12px 0;
}

.site-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo img {
    display: block;
    height: 80px;
    width: auto;
}

.site-header-text .site-title a {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
}

.site-tagline {
    font-size: 0.8rem;
    color: #e3fafc;
}

/* Navigacija */
.main-navigation .main-menu {
    list-style: none;
    display: flex;
    gap: 18px;
}

.main-navigation .main-menu a {
    color: #e3fafc;
    font-weight: 500;
    font-size: 0.95rem;
    padding-bottom: 3px;
}

.main-navigation .main-menu .current-menu-item > a,
.main-navigation .main-menu a:hover {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* ========== HERO ========== */

/* Slika doktora kao pozadina preko cele širine */
.hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    padding: 80px 0 60px;
    background-image:
        linear-gradient(120deg, rgba(11,114,133,0.45) 0%, rgba(25,113,194,0.9) 45%, rgba(25,113,194,0.7) 60%, rgba(4,38,60,0.75) 100%),
        url('assets/img/side-view-doctor-holding-stethoscope.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 3fr);
    gap: 32px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 18px;
    max-width: 620px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #ffffff;
    color: #0b7285;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.hero-contact {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ========== GENERIČKE SEKCIJE ========== */

.section {
    padding: 48px 0;
}

.section-heading {
    text-align: center;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 1.7rem;
    color: #102a43;
    margin-bottom: 6px;
}

.section-heading p {
    font-size: 0.95rem;
    color: #6b7b93;
}

/* Kartice */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
    border: 1px solid #e1e7f0;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: #102a43;
}

.card-text {
    font-size: 0.9rem;
    color: #4b5563;
}

.badge-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e3fafc;
    color: #0b7285;
    font-size: 0.8rem;
    margin-right: 4px;
}

/* Tim lekara */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.team-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e1e7f0;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-weight: 600;
    color: #102a43;
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.85rem;
    color: #6b7b93;
    margin-bottom: 8px;
}

.team-bio {
    font-size: 0.85rem;
    color: #4b5563;
    text-align: left;
}

/* Cenovnik */
.pricing-table-wrapper {
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-table th {
    background: #0b7285;
    color: #ffffff;
    text-align: left;
}

.pricing-table tr:nth-child(even) td {
    background: #f9fafb;
}

/* Plaćanje / partneri */
.payment-logos,
.partner-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 10px;
}

.payment-logos img,
.partner-logos img {
    height: 26px;
    width: auto;
    object-fit: contain;
}

/* Kontakt sekcija */

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 24px;
}

.contact-form {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    border: 1px solid #e1e7f0;
}

.form-row {
    margin-bottom: 12px;
}

.form-row label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: #374151;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.9rem;
}

.form-row textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.78rem;
    color: #6b7280;
    margin-top: 4px;
}

.contact-info-card {
    background: #0b7285;
    color: #e3fafc;
    border-radius: 16px;
    padding: 18px;
}

.contact-info-card h3 {
    margin-bottom: 8px;
}

.contact-info-list {
    list-style: none;
    font-size: 0.9rem;
}

.contact-info-list li + li {
    margin-top: 6px;
}

/* Mapa */

.mapa-steamed {
    width: 100%;
    padding: 0;
    margin: 12px 0 0;
}

.mapa-wrapper {
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.mapa-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* ========== FOOTER ========== */

.site-footer {
    background: #0b7285;
    color: #e3fafc;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    color: #e3fafc;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 768px) {

    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .main-navigation .main-menu {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero {
        padding: 60px 0 40px;
        background-position: center right;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .mapa-wrapper {
        height: 320px;
    }
}
/* ============================
   HEADER – LOGO FIX
============================ */

/* Logo slika */
.site-logo img,
.site-logo-img {
    height: 80px;               /* visina logotipa */
    width: auto;                /* da se ne deformiše */
    display: block;
}

/* Poravnanje levog dela headera */
.site-header-left {
    display: flex;
    align-items: center;
    gap: 14px;                  /* razmak logo – tekst */
}

/* Tekst pored logotipa */
.site-header-text .site-title a {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.site-header-text .site-tagline {
    font-size: 14px;
    opacity: 0.9;
    color: #d9f2f2;
}

/* Da logo i tekst lepše stoje na manjim ekranima */
@media (max-width: 768px) {
    .site-logo img {
        height: 40px;
    }
    .site-header-left {
        gap: 10px;
    }
    .site-header-text .site-title a {
        font-size: 18px;
    }
}
/* === GALERIJA – NAŠ PROSTOR (3 slike u jednom redu) === */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* tačno 3 kolone */
    gap: 24px;
    margin-top: 32px;
}

.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
    border: 1px solid #e1e7f0;
}

.gallery-item img {
    width: 100%;
    height: 230px;        /* visina slike */
    object-fit: cover;    /* da lepo iseče višak i sve izgleda uredno */
    display: block;
}

/* Responsivno – na tablet 2 u redu, na mobilnom 1 */
@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
.contact-map iframe {
    width: 100%;
    height: 420px !important;  /* povećana visina */
    border: 0;
    border-radius: 16px;
}
/* === GLOBALNO DOTEZANJE DIZAJNA === */

/* Tekst – malo veći i prozračniji */
body {
    font-size: 16px;
    line-height: 1.7;
    color: #102a43;
}

/* Naslovi sekcija – više “dahnu” */
.section {
    padding: 56px 0;
}

.section-heading {
    margin-bottom: 32px;
}

.section-heading h2 {
    font-size: 1.9rem;
    letter-spacing: 0.01em;
}

.section-heading p {
    font-size: 0.95rem;
}

/* “Container” – malo više širine na većim ekranima */
@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}
/* Header blagi shadow + smanjen vertikalni padding */
.site-header {
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.18);
    padding-top: 4px;
    padding-bottom: 4px;
}

/* Logo + tekst još lepše centrirani */
.site-header-inner {
    gap: 24px;
}

.site-header-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo img {
    height: 80px;
    width: auto;
    display: block;
}

/* Meni linkovi – finiji hover i aktivno stanje */
.main-navigation a {
    position: relative;
    padding-bottom: 4px;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #fff;
    transition: width 0.25s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}
/* Hero – malo više prostora ispod teksta da “diše” */
.hero {
    padding: 72px 0 56px;
}

/* Glavni naslov i podnaslov */
.hero-title {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.hero-subtitle {
    max-width: 640px;
}

/* Badge-ovi – da ne budu “zbijeni” */
.hero-badges {
    gap: 10px;
    margin-bottom: 22px;
}

/* CTA dugmad u hero sekciji */
.hero-cta {
    margin-top: 8px;
    margin-bottom: 10px;
}

.btn {
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.btn-outline:hover {
    background: #fff;
    color: #0b7285;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Tekst radnog vremena malo sitniji i svetliji */
.hero-contact {
    margin-top: 6px;
    font-size: 0.9rem;
    opacity: 0.85;
}
/* Kartice – ujednačeni padding i fin hover */
.card {
    border-radius: 18px;
    padding: 20px 20px 18px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
    border-color: #d0e3ff;
}
.team-grid {
    align-items: stretch;
}

.team-card {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.team-photo {
    margin-bottom: 14px;
}

.team-name {
    font-size: 1.02rem;
    margin-bottom: 4px;
}

.team-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.team-bio {
    font-size: 0.88rem;
}
.gallery-grid {
    margin-top: 28px;
    gap: 24px;
}

.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item img {
    border-radius: 0;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}
.pricing-table {
    border-radius: 18px;
    overflow: hidden;
    font-size: 0.94rem;
}

.pricing-table th {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pricing-table tr:hover td {
    background: #f1f5f9;
}
/* Leva strana – tekst + forma, desno info kartica */
.contact-layout {
    align-items: flex-start;
}

/* Mapa u kontakt sekciji (ako koristiš .map-embed ili .mapa-steamed) */
.mapa-steamed,
.map-embed {
    margin-top: 18px;
}

.mapa-wrapper iframe,
.map-embed iframe {
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

/* Form polja */
.form-row input,
.form-row select,
.form-row textarea {
    border-radius: 10px;
    border-color: #cbd5e1;
    font-size: 0.95rem;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #0b7285;
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 114, 133, 0.15);
}

/* Submit dugme forme (ako koristi WPForms – prilagodi klasu po potrebi) */
.wpforms-form button[type="submit"],
.wpcf7-form input[type="submit"] {
    background: #0b7285;
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.2s ease;
}

.wpforms-form button[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover {
    background: #095d6b;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}
@media (max-width: 768px) {
    .hero {
        padding: 56px 0 40px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .site-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .main-navigation ul {
        gap: 12px;
        flex-wrap: wrap;
    }

    .card,
    .team-card,
    .contact-info-card {
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    }
}
