/*
Theme Name: Pharmilia
Theme URI: https://pharmilia.rs
Author: Pharmilia Consulting Group
Description: Profesionalna tema za Pharmilia Consulting Group
Version: 1.0
License: Private
Text Domain: pharmilia
*/

:root {
    --navy: #0a1628;
    --navy-mid: #132040;
    --gold: #c9a84c;
    --gold-light: #e2c06e;
    --cream: #f9f6f0;
    --text-dark: #1a1a2e;
    --text-muted: #6b7280;
    --white: #ffffff;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 60px;
    background: rgba(10, 22, 40, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
}

.nav-logo span { color: var(--gold); }

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    padding: 10px 24px !important;
    font-weight: 500 !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 120px 60px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(201,168,76,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px; left: 40%;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-left {
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease both;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 32px;
}

.hero-tag::before {
    content: '';
    display: block;
    width: 32px; height: 1px;
    background: var(--gold);
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(48px, 5.5vw, 80px);
    font-weight: 300;
    line-height: 1.12;
    color: var(--white);
    margin-bottom: 28px;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 460px;
    margin-bottom: 48px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    padding: 16px 36px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

.hero-right {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    animation: fadeUp 1s 0.3s ease both;
}

.hero-card-stack { width: 380px; }

.stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    backdrop-filter: blur(10px);
    padding: 28px 32px;
    margin-bottom: 16px;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(201,168,76,0.08);
    border-color: rgba(201,168,76,0.5);
    transform: translateX(8px);
}

.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 48px;
    font-weight: 300;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

/* ── TRUST BAR ── */
.trust-bar {
    background: var(--white);
    padding: 28px 60px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    gap: 60px;
}

.trust-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.trust-items {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.trust-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    opacity: 0.5;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── SERVICES ── */
.services {
    padding: 120px 60px;
    background: var(--cream);
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 72px;
}

.section-tag {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.2;
    color: var(--navy);
}

.section-title em { font-style: italic; }

.section-sub {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 340px;
    line-height: 1.7;
    text-align: right;
}

/* ── SERVICE ACCORDION ── */
.service-expanded {
    background: var(--white);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
}

.svc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    cursor: pointer;
    transition: background 0.25s;
    user-select: none;
}

.svc-header:hover { background: rgba(201,168,76,0.03); }

.svc-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.service-num-sm {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 300;
    color: rgba(201,168,76,0.4);
    line-height: 1;
    min-width: 48px;
}

.svc-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 6px;
}

.svc-tagline {
    font-size: 13px;
    color: var(--text-muted);
    letter-spacing: 0.3px;
}

.svc-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.svc-cta-text {
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
}

.toggle-icon {
    width: 36px; height: 36px;
    border: 1px solid rgba(201,168,76,0.4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    color: var(--gold);
    transition: all 0.3s;
    font-weight: 300;
}

.service-expanded.open .toggle-icon {
    transform: rotate(45deg);
    background: var(--gold);
    color: var(--navy);
}

.svc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0,1,0,1);
}

.service-expanded.open .svc-body {
    max-height: 1200px;
    transition: max-height 0.7s ease;
}

.svc-intro {
    padding: 0 48px 32px 128px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    max-width: 860px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 36px;
}

.svc-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 0 48px 48px 128px;
}

.svc-cols-single {
    grid-template-columns: 1fr;
    max-width: 680px;
}

.svc-col-title {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 500;
}

.svc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.svc-list li {
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.svc-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 12px;
}

/* ── WHY US ── */
.why-us {
    padding: 120px 60px;
    background: var(--navy);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.why-left h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 4vw, 58px);
    font-weight: 300;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 28px;
}

.why-left h2 em { color: var(--gold); font-style: italic; }

.why-left p {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.55);
    margin-bottom: 48px;
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.why-item {
    padding: 28px 32px;
    border: 1px solid rgba(255,255,255,0.07);
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: all 0.3s;
    background: rgba(255,255,255,0.02);
}

.why-item:hover {
    background: rgba(201,168,76,0.06);
    border-color: rgba(201,168,76,0.25);
}

.why-check {
    width: 28px; height: 28px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 13px;
    margin-top: 2px;
}

.why-item-title {
    font-weight: 500;
    color: var(--white);
    margin-bottom: 6px;
    font-size: 15px;
}

.why-item-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    line-height: 1.6;
}

/* ── CTA ── */
.cta-section {
    padding: 120px 60px;
    background: var(--cream);
    text-align: center;
}

.cta-inner {
    max-width: 680px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 68px);
    font-weight: 300;
    color: var(--navy);
    line-height: 1.15;
    margin-bottom: 28px;
}

.cta-section h2 em { font-style: italic; color: var(--gold); }

.cta-section p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 48px;
}

.cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-info a {
    color: var(--navy);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--gold);
}

/* ── FOOTER ── */
footer {
    background: var(--navy);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(201,168,76,0.15);
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-logo span { color: var(--gold); }

footer p {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

.footer-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.footer-links a {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s;
}

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

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════
   MOBILNA OPTIMIZACIJA
   ══════════════════════════════════════ */

/* ── TABLET (do 1024px) ── */
@media (max-width: 1024px) {
    nav {
        padding: 20px 32px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 140px 40px 80px;
        gap: 60px;
    }

    .hero-right {
        justify-content: flex-start;
    }

    .hero-card-stack {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .stat-card {
        margin-bottom: 0;
    }

    .why-us {
        grid-template-columns: 1fr;
        gap: 60px;
        padding: 80px 40px;
    }

    .services {
        padding: 80px 40px;
    }

    .svc-intro {
        padding: 0 32px 28px 96px;
    }

    .svc-cols {
        padding: 0 32px 40px 96px;
    }

    .trust-bar {
        padding: 24px 40px;
        gap: 32px;
    }

    .trust-items {
        gap: 24px;
    }

    footer {
        padding: 40px;
    }
}

/* ── MOBILNI (do 768px) ── */
@media (max-width: 768px) {

    /* NAV */
    nav {
        padding: 18px 24px;
        flex-wrap: wrap;
        gap: 0;
    }

    .nav-logo {
        font-size: 22px;
    }

    .nav-links {
        display: none; /* hamburger menu ispod */
    }

    /* Mobilni hamburger dugme */
    .nav-mobile-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
    }

    .nav-mobile-toggle span {
        display: block;
        width: 24px;
        height: 2px;
        background: var(--gold);
        transition: all 0.3s;
    }

    /* Mobilni meni otvoren */
    nav.mobile-open .nav-links {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-top: 16px;
        border-top: 1px solid rgba(201,168,76,0.2);
        padding-top: 16px;
    }

    nav.mobile-open .nav-links li {
        width: 100%;
    }

    nav.mobile-open .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 14px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    nav.mobile-open .nav-cta {
        margin-top: 8px;
        text-align: center;
        padding: 14px 0 !important;
    }

    /* HERO */
    .hero {
        grid-template-columns: 1fr;
        padding: 100px 24px 60px;
        gap: 48px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 18px 24px;
    }

    .hero-card-stack {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .stat-card {
        display: flex;
        align-items: center;
        gap: 20px;
        padding: 20px 24px;
        margin-bottom: 0;
    }

    .stat-num {
        font-size: 36px;
        min-width: 80px;
    }

    /* TRUST BAR */
    .trust-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }

    .trust-items {
        gap: 12px;
    }

    .trust-item {
        font-size: 12px;
    }

    /* SERVICES */
    .services {
        padding: 64px 24px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-bottom: 48px;
    }

    .section-sub {
        text-align: left;
        max-width: 100%;
    }

    .svc-header {
        padding: 28px 24px;
        gap: 16px;
    }

    .svc-left {
        gap: 16px;
    }

    .service-num-sm {
        font-size: 24px;
        min-width: 32px;
    }

    .svc-title {
        font-size: 20px;
    }

    .svc-tagline {
        font-size: 12px;
    }

    .svc-cta-text {
        display: none;
    }

    .svc-intro {
        padding: 0 24px 24px 24px;
        font-size: 14px;
    }

    .svc-cols {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 0 24px 36px 24px;
    }

    .svc-cols-single {
        max-width: 100%;
    }

    /* WHY US */
    .why-us {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 64px 24px;
    }

    .why-left h2 {
        font-size: 36px;
    }

    .why-left p {
        font-size: 14px;
    }

    .why-left .btn-primary {
        width: 100%;
        text-align: center;
    }

    .why-item {
        padding: 20px 20px;
    }

    /* CTA */
    .cta-section {
        padding: 64px 24px;
    }

    .cta-section h2 {
        font-size: 38px;
    }

    .cta-section p {
        font-size: 14px;
    }

    .cta-group {
        flex-direction: column;
        gap: 16px;
    }

    .cta-group .btn-primary {
        width: 100%;
        text-align: center;
    }

    /* FOOTER */
    footer {
        flex-direction: column;
        gap: 24px;
        padding: 40px 24px;
        text-align: center;
    }

    .footer-links {
        gap: 24px;
        justify-content: center;
    }
}

/* ── MALI MOBILNI (do 400px) ── */
@media (max-width: 400px) {
    .hero h1 {
        font-size: 34px;
    }

    .svc-title {
        font-size: 18px;
    }

    .stat-num {
        font-size: 30px;
        min-width: 64px;
    }
}

/* Hamburger – sakriven na desktopu */
.nav-mobile-toggle {
    display: none;
}

@media (max-width: 768px) {
    .nav-mobile-toggle {
        display: flex;
    }
}
