/* =============================================
   RICOMARIO — Main Stylesheet
   Brutărie & Patiserie
   ============================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #C8181A;
    --primary-dark: #9A0E10;
    --primary-light: #E53935;
    --primary-ultra-light: #FFF0F0;
    --accent: #D4A843;
    --accent-dark: #B8902A;
    --white: #FFFFFF;
    --cream: #FFF8F2;
    --dark: #1A1A1A;
    --dark-2: #2D2D2D;
    --text: #333333;
    --text-light: #777777;
    --text-lighter: #AAAAAA;
    --bg-light: #F9F5F2;
    --border: #EBEBEB;
    --shadow-sm: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.18);
    --shadow-red: 0 8px 30px rgba(200,24,26,0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Poppins', sans-serif;
    --nav-height: 110px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.loading { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* ---------- LOADER ---------- */
#page-loader {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease;
}

#page-loader.slide-out {
    transform: translateY(-100%);
    opacity: 0;
}

.loader-inner {
    text-align: center;
    animation: loaderFadeIn 0.6s ease forwards;
}

@keyframes loaderFadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

.loader-logo-img {
    width: 220px;
    margin: 0 auto 16px;
    animation: logoPulse 1.5s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 20px rgba(212,168,67,0.6));
}

@keyframes logoPulse {
    from { transform: scale(1); filter: drop-shadow(0 0 20px rgba(212,168,67,0.4)); }
    to { transform: scale(1.05); filter: drop-shadow(0 0 35px rgba(212,168,67,0.9)); }
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.08em;
    animation: letterReveal 1s ease 0.3s both;
}

.loader-tagline {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 6px;
    animation: letterReveal 1s ease 0.6s both;
}

@keyframes letterReveal {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.loader-bar-wrap {
    width: 200px;
    height: 3px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    margin: 28px auto 0;
    overflow: hidden;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #FFE080, var(--accent));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loadProgress 2.5s ease forwards, shimmer 1.5s linear infinite;
}

@keyframes loadProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes shimmer {
    from { background-position: 200% center; }
    to { background-position: -200% center; }
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
    color: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    background: var(--primary-ultra-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 16px;
    border: 1px solid rgba(200,24,26,0.15);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    margin-bottom: 16px;
    position: relative;
}

.section-title .highlight {
    color: var(--primary);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before { width: 300px; height: 300px; }

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-red);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(200,24,26,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.btn-lg { padding: 18px 44px; font-size: 1rem; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 30px rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(200,24,26,0.1);
}

.navbar.scrolled .nav-logo img { filter: none; }

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-logo img {
    height: 95px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
    border-radius: 8px;
}

.nav-logo:hover img { transform: scale(1.05); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.nav-links a {
    position: relative;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    border-radius: 8px;
    transition: var(--transition);
}

.navbar.scrolled .nav-links a { color: var(--dark); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: calc(100% - 32px);
    height: 3px;
    background: var(--accent);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent);
    font-weight: 700;
}

.nav-links-header-mobile { display: none; }

.nav-links a.active {
    background: rgba(212, 168, 67, 0.15);
    color: var(--accent);
}

.navbar.scrolled .nav-links a.active {
    color: var(--accent);
    background: rgba(212, 168, 67, 0.12);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 16px;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-red);
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,24,26,0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span { background: var(--dark); }
.navbar.scrolled .nav-toggle { background: var(--primary-ultra-light); }

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A0A0A 0%, var(--primary-dark) 40%, var(--primary) 100%);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?w=1600');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    animation: heroBgZoom 20s ease-in-out infinite alternate;
}

@keyframes heroBgZoom {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(212,168,67,0.4);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 0.6; }
    100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 140px 0 80px;
    max-width: 720px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.95);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 10px 22px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease 0.5s both;
    backdrop-filter: blur(4px);
}

.hero-tag i {
    color: var(--accent);
    font-size: 0.9rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.7s both;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero-line-1 {
    font-weight: 700;
    letter-spacing: -0.01em;
}

.hero-line-2 {
    font-weight: 400;
    font-size: 0.85em;
    color: rgba(255,255,255,0.85);
}

.hero-line-2 em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
    position: relative;
}

.hero-line-2 em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.85);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease 0.9s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 1.1s both;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 1.3s both;
}

.hero-stat {
    position: relative;
    padding-left: 16px;
    border-left: 2px solid rgba(212,168,67,0.4);
    color: var(--white);
}

.hero-stat .number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.hero-stat .label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
    margin-top: 6px;
    text-transform: uppercase;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll-hint .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- ABOUT STRIP ---------- */
.about-strip {
    background: var(--primary);
    padding: 40px 0;
    overflow: hidden;
}

.about-strip-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
}

.about-strip-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 24px 40px;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.15);
    transition: var(--transition);
}

.about-strip-item:last-child { border-right: none; }
.about-strip-item:hover { background: rgba(255,255,255,0.08); }

.about-strip-item i {
    font-size: 2rem;
    color: var(--accent);
    flex-shrink: 0;
}

.about-strip-item h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 4px;
}

.about-strip-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

/* ---------- FEATURED PROMOTIONS ---------- */
.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
}

.promo-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.promo-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promo-card:hover .promo-card-image img { transform: scale(1.08); }

.promo-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 5px 12px;
    border-radius: 100px;
    z-index: 1;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(200,24,26,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(200,24,26,0); }
}

.promo-discount {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 100px;
    z-index: 1;
}

.promo-card-body {
    padding: 20px 24px 24px;
}

.promo-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
}

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

.promo-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.promo-price .current {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
}

.promo-price .old {
    font-size: 0.9rem;
    color: var(--text-lighter);
    text-decoration: line-through;
}

.promo-locations {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: var(--text-light);
}

.promo-locations i { color: var(--primary); }

/* ---------- LOCATIONS SECTION ---------- */
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.location-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.location-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.location-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.location-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    opacity: 0;
    transition: var(--transition);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.location-card:hover .location-card-overlay { opacity: 1; }

.location-card-overlay a {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 50px;
    transition: var(--transition);
}

.location-card-overlay a:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.location-card-body {
    padding: 22px 24px 26px;
}

.location-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.location-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.location-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.location-meta-item i {
    color: var(--primary);
    font-size: 0.8rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.location-card-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary-ultra-light);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    border: 1px solid rgba(200,24,26,0.2);
}

.btn-maps:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

/* ---------- GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(200,24,26,0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay i {
    color: var(--white);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay i { transform: scale(1); }

.gallery-filters {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text);
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-red);
}

/* ---------- BLOG ---------- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-body { padding: 22px 24px 26px; }

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-lighter);
}

.blog-card-meta i { color: var(--primary); font-size: 0.75rem; }

.blog-card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    line-height: 1.35;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-body h3 { color: var(--primary); }

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 18px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.2s;
}

.blog-read-more:hover { gap: 14px; }
.blog-read-more i { font-size: 0.75rem; }

/* ---------- SINGLE BLOG POST ---------- */
.blog-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 140px 0 60px;
    text-align: center;
    color: var(--white);
}

.blog-hero h1 {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto 20px;
}

.blog-post-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
}

.blog-post-meta span { display: flex; align-items: center; gap: 6px; }
.blog-post-meta i { color: var(--accent); }

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.blog-post-content h2,
.blog-post-content h3 {
    margin: 40px 0 16px;
    color: var(--dark);
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 20px;
}

.blog-post-content img {
    width: 100%;
    border-radius: var(--radius-lg);
    margin: 32px 0;
}

/* ---------- CONTACT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.contact-info-item:hover {
    transform: translateX(6px);
    border-left: 3px solid var(--primary);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-ultra-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i { color: var(--primary); font-size: 1.1rem; }

.contact-info-text h4 {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.95rem;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.2s;
}

.contact-info-text a:hover { color: var(--primary); }

.contact-form {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(200,24,26,0.08);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
    padding: 16px 20px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius);
    color: #16a34a;
    font-size: 0.9rem;
    display: none;
}

.form-error {
    padding: 16px 20px;
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--radius);
    color: #dc2626;
    font-size: 0.9rem;
    display: none;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #D44 100%);
    padding: 140px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="15" fill="rgba(255,255,255,0.03)"/><circle cx="80" cy="80" r="25" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    background-size: 400px 400px;
}

.page-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 16px;
    position: relative;
}

.page-hero p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    position: relative;
}

.breadcrumb a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: 0.65rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--dark-2); }

.footer-top { padding: 80px 0 60px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    height: 85px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.2));
}

.footer-about {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 300px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    position: relative;
    padding-bottom: 12px;
}

.footer-links h4::after,
.footer-contact h4::after,
.footer-hours h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-links ul li a i { font-size: 0.65rem; color: var(--primary); }

.footer-contact ul li {
    display: flex;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    align-items: flex-start;
}

.footer-contact ul li i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact ul li a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer-contact ul li a:hover { color: var(--primary); }

.footer-location-item {
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-location-item:last-child { border-bottom: none; }

.footer-location-item strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.footer-location-item span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.footer-maps-link {
    font-size: 0.8rem;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}

.footer-maps-link:hover { color: var(--primary); }

.footer-bottom {
    background: rgba(0,0,0,0.25);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
}

/* ---------- BACK TO TOP ---------- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 100;
    box-shadow: var(--shadow-red);
}

#backToTop.visible { opacity: 1; transform: translateY(0); }
#backToTop:hover { background: var(--primary-dark); transform: translateY(-4px); }

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.fade-in-up { animation: fadeInUp 0.7s ease both; }
.fade-in { animation: fadeIn 0.7s ease both; }

/* ---------- LIGHTBOX ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.lightbox.active { opacity: 1; pointer-events: all; }

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-img { transform: scale(1); }

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border: none;
    border-radius: 12px;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover { background: var(--primary); }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.bg-light { background: var(--bg-light); }
.bg-cream { background: var(--cream); }
.mt-4 { margin-top: 2rem; }
.mt-8 { margin-top: 4rem; }
.mb-4 { margin-bottom: 2rem; }

.empty-state {
    text-align: center;
    padding: 80px 24px;
    color: var(--text-lighter);
}

.empty-state i {
    font-size: 3rem;
    color: var(--border);
    margin-bottom: 16px;
}

.empty-state h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

/* ---------- ALERT MESSAGES ---------- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #16a34a; }
.alert-error { background: #fef2f2; border: 1px solid #fca5a5; color: #dc2626; }
.alert-info { background: #eff6ff; border: 1px solid #93c5fd; color: #1d4ed8; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
    :root { --nav-height: 85px; }
    .nav-logo img { height: 75px; max-width: 200px; }
    .nav-links { display: none; position: fixed; top: var(--nav-height); left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 16px 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.15); border-radius: 0 0 24px 24px; max-height: calc(100vh - var(--nav-height)); overflow-y: auto; }
    .nav-links.open { display: flex; animation: slideDown 0.3s ease; }
    @keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
    .nav-links li { width: 100%; border-bottom: 1px solid #f3f4f6; }
    .nav-links li:last-child { border-bottom: none; }
    .nav-links a { color: var(--dark); padding: 16px 20px; width: 100%; border-radius: 12px; display: flex; align-items: center; gap: 14px; font-size: 1.05rem; font-weight: 500; transition: all 0.2s; margin: 2px 0; }
    .nav-links a:hover { background: #fef3c7; color: var(--primary); transform: translateX(4px); }
    .nav-links a.active { background: var(--primary-ultra-light); color: var(--accent); font-weight: 600; }
    .nav-links a::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 1.1rem; width: 24px; text-align: center; }
    .nav-links a[href*="index"]::before { content: '\f015'; } /* home */
    .nav-links a[href*="locatii"]::before { content: '\f3c5'; } /* map-marker */
    .nav-links a[href*="promotii"]::before { content: '\f02b'; } /* tag */
    .nav-links a[href*="program"]::before { content: '\f017'; } /* clock */
    .nav-links a[href*="galerie"]::before { content: '\f302'; } /* images */
    .nav-links a[href*="blog"]::before { content: '\f781'; } /* newspaper */
    .nav-links a[href*="contact"]::before { content: '\f0e0'; } /* envelope */
    .nav-links a.active::before { color: var(--accent); }
    .nav-links a::after { display: none; }
    .nav-toggle { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; background: rgba(255,255,255,0.15); border-radius: 10px; position: relative; }
    .nav-toggle span { width: 22px; height: 2.5px; position: absolute; transition: all 0.3s ease; }
    .nav-toggle span:nth-child(1) { transform: translateY(-7px); }
    .nav-toggle span:nth-child(2) { opacity: 1; }
    .nav-toggle span:nth-child(3) { transform: translateY(7px); }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg); }
    .btn-nav span { display: none; }
    .nav-links-header-mobile { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 12px; border-bottom: 2px solid var(--primary); margin: -8px -16px 8px; background: var(--primary-ultra-light); }
    .nav-links-header-mobile span { font-weight: 700; color: var(--primary); font-size: 1.1rem; display: flex; align-items: center; }
    .nav-links-close { width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.2rem; transition: all 0.2s; }
    .nav-links-close:hover { background: var(--primary); color: #fff; }
    .btn-nav { width: 44px; height: 44px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
    .btn-nav i { font-size: 1.1rem; }
    .nav-actions { display: flex; gap: 10px; margin-left: auto; margin-right: 0; justify-content: flex-end; }
    .nav-container { justify-content: space-between; }
    .about-strip-inner { flex-direction: column; gap: 0; }
    .about-strip-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .about-strip-item:last-child { border-bottom: none; }
    .hero-stats { gap: 24px; }
    .locations-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .nav-logo img { height: 60px; max-width: 140px; }
    :root { --nav-height: 75px; }
    .nav-toggle, .btn-nav { width: 40px; height: 40px; }
    .nav-container { padding: 0 12px; }
    .nav-actions { gap: 8px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .promotions-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-form { padding: 28px 20px; }
    #backToTop { bottom: 20px; right: 20px; }
}
