/* 
   API SOBA - SCIENTIFIC & THERAPEUTIC STYLES
   Pčelinji Darovi Živković
*/

:root {
    --api-blue: #0ea5e9;
    --api-teal: #14b8a6;
    --api-clean-bg: #f8fafc;
    --dark-wood: #1a0f0a;
    --cream: #fdfcf8;
    --color-amber: #d97706;
    --text-muted: #5b5753;
    --font-editorial: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-premium: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

/* 1. HERO SECTION - SCIENTIFIC EDITORIAL */
.api-hero-premium {
    position: relative;
    padding: 180px 0 120px;
    background: linear-gradient(rgba(26, 15, 10, 0.85), rgba(26, 15, 10, 0.7)), 
                url('images/ApiSoba2.jpeg') center/cover no-repeat;
    background-attachment: fixed;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

.api-hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 30%, rgba(217, 119, 6, 0.15) 0%, transparent 70%);
    z-index: 1;
}

/* Animated dust/aerosol particles */
.api-hero-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.05) 1px, transparent 0);
    background-size: 60px 60px;
    z-index: 1;
}

.hero-api-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-api-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.3);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-amber);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-api-title {
    font-family: var(--font-editorial);
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-api-desc {
    font-size: 1.25rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 40px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.api-visual-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.3);
}

.api-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.api-visual-frame:hover .api-visual-img {
    transform: scale(1.05);
}

.floating-measurement-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.measurement-icon {
    width: 40px;
    height: 40px;
    background: var(--color-amber);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* 2. MECHANISM SECTION - CLINICAL LOOK */
.mechanism-section {
    padding: 120px 0;
    background: white;
    position: relative;
}

.mechanism-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.mechanism-content h2 {
    font-family: var(--font-editorial);
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: var(--dark-wood);
}

.mechanism-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.tech-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.spec-item {
    background: var(--api-clean-bg);
    padding: 20px;
    border-radius: 16px;
    border-left: 4px solid var(--color-amber);
}

.spec-item h4 {
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.spec-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* 3. THERAPEUTIC BENEFITS - GLASS CARDS */
.therapeutic-benefits {
    padding: 100px 0;
    background: var(--cream);
}

.benefits-api-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.api-benefit-card {
    background: white;
    border-radius: 32px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s ease;
}

.api-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(217, 119, 6, 0.08);
}

.api-benefit-card h3 {
    font-family: var(--font-editorial);
    font-size: 2rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-wood);
}

.api-benefit-card h3 i {
    color: var(--color-amber);
}

.api-benefit-list {
    list-style: none;
    padding: 0;
}

.api-benefit-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.api-benefit-list li i {
    color: #10b981;
    margin-top: 4px;
    flex-shrink: 0;
}

/* 4. SCHEDULING CTA */
.api-booking-cta {
    background: var(--dark-wood);
    color: white;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.api-booking-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/honeycomb-pattern.png');
    opacity: 0.05;
}

.booking-box {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.booking-box h2 {
    font-family: var(--font-editorial);
    font-size: 3.5rem;
    margin-bottom: 30px;
}

.booking-box p {
    font-size: 1.25rem;
    opacity: 0.8;
    margin-bottom: 50px;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 992px) {
    .hero-api-grid, .mechanism-grid, .benefits-api-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-api-title {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .api-benefit-card {
        padding: 30px 20px;
    }
    
    .api-benefit-card h3 {
        font-size: 1.6rem;
    }
    
    .booking-box h2 {
        font-size: 2.2rem;
    }
}
