/* ==========================================================
   ARTICLE LAYOUT - Modern, Wide, Visual
   Container: 85-90% width
   Alternating image sections
   ========================================================== */

/* ===== HEADER TRANSPARENT ===== */
body.article-page .navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
    transition: all 0.4s ease;
}

body.article-page .navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.article-page .navbar .nav-link {
    color: white !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

body.article-page .navbar.scrolled .nav-link {
    color: #4b5563 !important;
    text-shadow: none;
}

body.article-page .navbar .logo-light {
    display: block !important;
}

body.article-page .navbar .logo-dark {
    display: none !important;
}

body.article-page .navbar.scrolled .logo-light {
    display: none !important;
}

body.article-page .navbar.scrolled .logo-dark {
    display: block !important;
}

body.article-page .navbar .phone-btn {
    background: rgba(255,255,255,0.2) !important;
    color: white !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

body.article-page .navbar.scrolled .phone-btn {
    background: rgba(102, 126, 234, 0.1) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(102, 126, 234, 0.2) !important;
}

body.article-page .navbar .cta-btn {
    background: white !important;
    color: #667eea !important;
}

body.article-page .navbar.scrolled .cta-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

/* ===== BASE ===== */
.article-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding: 180px 0 0;
    margin-top: -80px;
    padding-bottom: 100px;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102,126,234,0.93) 0%, rgba(118,75,162,0.90) 50%, rgba(102,126,234,0.88) 100%);
    z-index: 1;
}

.article-hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 80px;
    color: white;
}

.article-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.article-breadcrumb a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}

.article-breadcrumb a:hover {
    color: white;
    text-decoration: underline;
}

.article-breadcrumb li[aria-current] {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-sep {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.article-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.article-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.92;
    max-width: 700px;
    margin: 0 0 24px;
    font-weight: 300;
}

.article-hero-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    opacity: 0.85;
}

.meta-item i {
    width: 16px;
    height: 16px;
}

/* Wave separator */
.article-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    z-index: 2;
    line-height: 0;
}

.article-hero-wave svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== MAIN CONTENT ===== */
.article-main {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

/* ===== SECTION BLOCKS ===== */
.article-section {
    margin-bottom: 80px;
}

.article-section:last-child {
    margin-bottom: 0;
}

/* Content + Image side by side */
.article-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.article-row.reverse {
    direction: rtl;
}

.article-row.reverse > * {
    direction: ltr;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2d2d44;
    margin: 28px 0 12px;
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

.article-content ul,
.article-content ol {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: #1a1a2e;
    font-weight: 600;
}

/* Image container */
.article-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(102,126,234,0.15), 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.article-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(102,126,234,0.2), 0 12px 30px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.article-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Full-width content (no image) */
.article-full {
    max-width: 900px;
    margin: 0 auto;
}

/* FAQ Section */
.article-faq {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f2ff 100%);
    border-radius: 24px;
    padding: 48px;
    margin-top: 60px;
}

.article-faq h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a1a2e;
    margin: 0 0 32px;
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 8px 30px rgba(102,126,234,0.1);
}

.faq-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #667eea;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item h3::before {
    content: '?';
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
    padding-left: 40px;
}

/* Info Cards Grid */
.article-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(102,126,234,0.1);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102,126,234,0.15);
}

.info-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
}

.info-card-icon i {
    width: 28px;
    height: 28px;
}

.info-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 12px;
}

.info-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #667eea08, #764ba208);
    border-left: 4px solid #667eea;
    border-radius: 0 16px 16px 0;
    padding: 28px 32px;
    margin: 32px 0;
}

.highlight-box p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
    font-style: italic;
}

/* ===== CTA SECTION ===== */
.article-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.article-cta-content {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: white;
    margin: 0 0 16px;
}

.cta-text p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cta-btn i {
    width: 20px;
    height: 20px;
}

.cta-btn-phone {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.cta-btn-phone:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

.cta-btn-primary {
    background: white;
    color: #667eea;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .article-row {
        gap: 40px;
    }
    
    .article-cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-hero {
        min-height: 380px;
        padding: 120px 0 0;
    }
    
    .article-hero-content {
        padding-bottom: 60px;
    }
    
    .article-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .article-row.reverse {
        direction: ltr;
    }
    
    .article-image {
        order: -1;
    }
    
    .article-main {
        width: 95%;
        padding: 40px 15px 60px;
    }
    
    .article-faq {
        padding: 32px 24px;
    }
    
    .faq-item p {
        padding-left: 0;
    }
    
    .article-cards {
        grid-template-columns: 1fr;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-btn {
        justify-content: center;
    }
}

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

.article-section {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.article-section:nth-child(1) { animation-delay: 0.1s; }
.article-section:nth-child(2) { animation-delay: 0.2s; }
.article-section:nth-child(3) { animation-delay: 0.3s; }
.article-section:nth-child(4) { animation-delay: 0.4s; }
.article-section:nth-child(5) { animation-delay: 0.5s; }
