/*
Theme Name: Ginecologie Light
Theme URI: https://example.com
Author: Cabinet Medical
Description: Tema WordPress eleganta, moderna, cu design premium si structura robusta pentru cabinete medicale.
Version: 2.8.0
Text Domain: ginecologie-light
*/

:root {
    --bg-main: #FAF9F6;
    --white: #FFFFFF;
    --primary: #D8A7B1;
    --primary-hover: #C6929C;
    --secondary: #B8C5BD;
    --text-dark: #2C3E50;
    --text-muted: #6C7A89;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Header & Nav */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.03);
    padding: 1.2rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.8rem;
}

.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
}

.main-nav a:hover {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    border-radius: 30px;
    background-color: var(--primary);
    color: var(--white) !important;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(216, 167, 177, 0.35);
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(216, 167, 177, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary) !important;
    border: 2px solid var(--primary);
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--white) !important;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    padding: 5rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
}

.hero-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
}

/* About / Despre Noi Section */
.about-section {
    padding: 6rem 1.5rem;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

.about-content h2 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
}

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

/* Servicii Section */
.services-section {
    background: linear-gradient(180deg, var(--bg-main) 0%, var(--white) 100%);
    padding: 6rem 0;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-color: rgba(216, 167, 177, 0.3);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* --- PREMIUM BLOG SECTION --- */
.blog-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--white) 0%, #F4F1EB 100%);
}

.articles-wrapper {
    background: var(--white);
    padding: 4rem 3.5rem;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(216, 167, 177, 0.15);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.04);
    border: 1px solid #F0ECE4;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.35s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(216, 167, 177, 0.2);
    border-color: var(--primary);
}

/* STRICT IMAGE CONSTRAINTS */
.article-card-image-wrap {
    width: 100%;
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #F8F6F2;
    display: block;
}

.article-card-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}

.article-card:hover .article-card-image-wrap img {
    transform: scale(1.06);
}

.article-placeholder-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.article-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.article-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: flex;
    gap: 1rem;
}

.article-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 700;
}

.article-title a {
    color: var(--text-dark);
}

.article-title a:hover {
    color: var(--primary);
}

.article-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
    line-height: 1.6;
}

.read-more-link {
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.read-more-link:hover {
    color: var(--primary-hover);
    gap: 0.6rem;
}

.blog-footer-cta {
    text-align: center;
    margin-top: 4rem;
}

/* Pagination Styling */
.pagination {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.6rem;
    margin-top: 3.5rem;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid #E5E0D8;
    background: var(--white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.pagination a:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.pagination span.current {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(216, 167, 177, 0.4);
}

/* Footer & WhatsApp */
.site-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #25D366;
    color: white !important;
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .articles-wrapper {
        padding: 3rem 2rem;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        padding: 3rem 1.5rem;
    }
    .main-nav { display: none; }
    .articles-wrapper {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }
}
