/* ============================================
   KüchenGenuss – Premium German Recipe Website
   ============================================ */

:root {
    --primary: #C0392B;
    --primary-dark: #962d22;
    --primary-light: #e74c3c;
    --secondary: #F4D03F;
    --secondary-dark: #d4ac0d;
    --background: #FFFDF8;
    --text-dark: #1B1B1B;
    --text-muted: #5a5a5a;
    --accent: #27AE60;
    --accent-light: #2ecc71;
    --white: #ffffff;
    --card-bg: #ffffff;
    --border: rgba(27, 27, 27, 0.08);
    --shadow-sm: 0 4px 20px rgba(27, 27, 27, 0.06);
    --shadow-md: 0 8px 40px rgba(27, 27, 27, 0.1);
    --shadow-lg: 0 20px 60px rgba(192, 57, 43, 0.15);
    --gradient-primary: linear-gradient(135deg, #C0392B 0%, #e74c3c 50%, #962d22 100%);
    --gradient-gold: linear-gradient(135deg, #F4D03F 0%, #f9e79f 100%);
    --gradient-hero: linear-gradient(135deg, rgba(27, 27, 27, 0.75) 0%, rgba(192, 57, 43, 0.4) 100%);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Outfit', system-ui, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 80px;
}

[data-theme="dark"] {
    --background: #121212;
    --text-dark: #f5f5f5;
    --text-muted: #a0a0a0;
    --card-bg: #1e1e1e;
    --border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: color var(--transition), opacity var(--transition); }

/* ========== Preloader ========== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.preloader-logo i {
    font-size: 3rem;
    color: var(--primary);
    animation: pulse 1.5s ease infinite;
}

.preloader-logo span {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.preloader-bar {
    width: 200px;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 4px;
    animation: loadBar 1.5s ease forwards;
}

@keyframes loadBar { to { width: 100%; } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }

/* ========== Cookie Consent ========== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: var(--text-dark);
    color: var(--white);
    padding: 1.25rem 0;
    transform: translateY(100%);
    transition: transform 0.5s ease;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.cookie-consent.show { transform: translateY(0); }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.cookie-content p { margin: 0; font-size: 0.95rem; }
.cookie-content a { color: var(--secondary); text-decoration: underline; }
.cookie-buttons { display: flex; gap: 0.75rem; }

/* ========== Sticky Social ========== */
.sticky-social {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--card-bg);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.sticky-social.visible { opacity: 1; visibility: visible; }

.sticky-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.sticky-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateX(4px);
}

/* ========== Back to Top ========== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(192, 57, 43, 0.4);
}

/* ========== Navbar ========== */
.site-header .navbar {
    padding: 1rem 0;
    background: transparent;
    transition: all var(--transition);
}

.site-header .navbar.scrolled {
    background: rgba(255, 253, 248, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.6rem 0;
}

[data-theme="dark"] .site-header .navbar.scrolled {
    background: rgba(18, 18, 18, 0.95);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.brand-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
}

.brand-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.brand-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after { width: 60%; }

.dropdown-menu {
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    background: var(--card-bg);
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    color: var(--text-dark);
}

.dropdown-item:hover {
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border: 2px solid var(--border);
    border-radius: 50%;
    background: var(--card-bg);
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(15deg);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: var(--card-bg);
    border-radius: var(--radius-sm);
}

.toggler-icon {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-icon:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Buttons ========== */
.btn-primary-custom {
    background: var(--gradient-primary);
    color: var(--white) !important;
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(192, 57, 43, 0.35);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.2));
    opacity: 0;
    transition: opacity var(--transition);
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(192, 57, 43, 0.45);
    color: var(--white) !important;
}

.btn-primary-custom:hover::before { opacity: 1; }

.btn-secondary-custom {
    background: var(--gradient-gold);
    color: var(--text-dark) !important;
    border: none;
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(244, 208, 63, 0.4);
    transition: all var(--transition);
}

.btn-secondary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(244, 208, 63, 0.5);
    color: var(--text-dark) !important;
}

.btn-outline-custom {
    background: transparent;
    color: var(--white) !important;
    border: 2px solid var(--white);
    padding: 0.85rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all var(--transition);
}

.btn-outline-custom:hover {
    background: var(--white);
    color: var(--primary) !important;
    transform: translateY(-3px);
}

/* ========== Section Styles ========== */
.site-main { padding-top: var(--nav-height); }

.section-padding { padding: 6rem 0; }

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ========== Hero ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?w=1920&q=80') center/cover no-repeat;
    transform: scale(1.05);
    animation: heroZoom 20s ease infinite alternate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

@keyframes heroZoom {
    from { transform: scale(1.05); }
    to { transform: scale(1.15); }
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 8rem 0 6rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.hero h1 span {
    color: var(--secondary);
    font-style: italic;
}

.hero-lead {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--secondary);
}

.hero-stat span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

/* ========== Recipe Cards ========== */
.recipe-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.recipe-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-lg);
}

.recipe-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.recipe-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.recipe-card:hover .recipe-card-image img {
    transform: scale(1.1);
}

.recipe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.recipe-card-body { padding: 1.5rem; }

.recipe-card-body h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
    transition: color var(--transition);
}

.recipe-card:hover h3 { color: var(--primary); }

.recipe-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.recipe-meta span i { color: var(--primary); margin-right: 0.35rem; }

.recipe-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary-dark);
}

.recipe-stars .rating-value {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========== Why Choose Us ========== */
.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192, 57, 43, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(192,57,43,0.1), rgba(244,208,63,0.2));
    border-radius: 50%;
    font-size: 2rem;
    color: var(--primary);
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gradient-primary);
    color: var(--white);
    transform: scale(1.1);
}

.feature-card h4 { font-size: 1.25rem; margin-bottom: 0.75rem; }

/* ========== Testimonials ========== */
.testimonial-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-display);
    font-size: 5rem;
    color: rgba(192, 57, 43, 0.1);
    line-height: 1;
}

.testimonial-stars { color: var(--secondary-dark); margin-bottom: 1rem; }

.testimonial-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary);
}

.testimonial-author h5 { font-size: 1rem; margin: 0; font-family: var(--font-body); font-weight: 600; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

/* ========== Newsletter ========== */
.newsletter-section {
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(244, 208, 63, 0.15);
    border-radius: 50%;
}

.newsletter-section h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.newsletter-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form .btn-secondary-custom { white-space: nowrap; }

/* ========== Page Hero (inner pages) ========== */
.page-hero {
    position: relative;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(192,57,43,0.08) 0%, rgba(244,208,63,0.1) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1556910103-1c02745aae4d?w=800&q=80') right center/cover;
    opacity: 0.15;
    mask-image: linear-gradient(to left, black, transparent);
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.breadcrumb-nav { margin-bottom: 1.5rem; }

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.breadcrumb-item a { color: var(--primary); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ========== About Page ========== */
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img { width: 100%; height: 400px; object-fit: cover; }

.mission-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.team-card {
    text-align: center;
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.team-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.team-card-body { padding: 1.5rem; }
.team-card-body h4 { margin-bottom: 0.25rem; }
.team-card-body .role { color: var(--primary); font-size: 0.9rem; font-weight: 500; margin-bottom: 0.75rem; }

.philosophy-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border);
}

.philosophy-item:last-child { border-bottom: none; }

.philosophy-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
}

/* ========== Recipes Page ========== */
.category-section { scroll-margin-top: calc(var(--nav-height) + 20px); }

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border);
}

.category-header i {
    font-size: 2rem;
    color: var(--primary);
}

.category-header h2 { margin: 0; font-size: 2rem; }

.recipe-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--white);
}

/* ========== Blog ========== */
.blog-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    height: 100%;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.blog-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img { transform: scale(1.08); }

.blog-card-body { padding: 1.5rem; }

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.blog-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

/* ========== Contact ========== */
.contact-form-wrapper {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    background: var(--background);
    color: var(--text-dark);
    transition: border-color var(--transition);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.1);
    background: var(--background);
    color: var(--text-dark);
}

.contact-info-card {
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    height: 100%;
    transition: all var(--transition);
}

.contact-info-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 400px;
}

.map-wrapper iframe { width: 100%; height: 100%; border: 0; }

/* ========== FAQ ========== */
.faq-accordion .accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    font-weight: 600;
    font-family: var(--font-body);
    background: var(--card-bg);
    color: var(--text-dark);
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(192, 57, 43, 0.05);
    color: var(--primary);
}

.faq-accordion .accordion-body {
    color: var(--text-muted);
}

/* ========== Legal Pages ========== */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-content h3 { font-size: 1.2rem; margin-top: 1.5rem; }
.legal-content p, .legal-content li { color: var(--text-muted); }
.legal-content ul { padding-left: 1.5rem; }

/* ========== Footer ========== */
.site-footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
}

.footer-top { padding: 5rem 0 3rem; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo i { color: var(--secondary); }

.footer-brand p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 1.5rem; }

.footer-social { display: flex; gap: 0.75rem; }

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.site-footer h5 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }

.footer-links li, .footer-contact li { margin-bottom: 0.6rem; }

.footer-links a, .footer-contact a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition);
}

.footer-links a:hover, .footer-contact a:hover { color: var(--secondary); }

.footer-contact i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--secondary);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copyright { margin: 0; font-size: 0.9rem; }

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: flex-end;
}

.footer-legal a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.footer-legal a:hover { color: var(--secondary); }

/* ========== Animations ========== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========== Responsive ========== */
@media (max-width: 991.98px) {
    .hero-stats { gap: 2rem; }
    .sticky-social { display: none; }
    .newsletter-section { padding: 2.5rem 1.5rem; }
    .footer-legal { justify-content: flex-start; margin-top: 1rem; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 4rem 0; }
    .hero { min-height: auto; }
    .hero-content { padding: 6rem 0 4rem; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .back-to-top { bottom: 5rem; right: 1rem; }
    .cookie-content { flex-direction: column; text-align: center; }
}

@media (max-width: 575.98px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; text-align: center; }
    .newsletter-form { flex-direction: column; }
    .newsletter-form input, .newsletter-form .btn { width: 100%; }
}

/* Featured blog card responsive */
@media (max-width: 991.98px) {
    .blog-featured {
        flex-direction: column !important;
    }
    .blog-featured .blog-card-image {
        flex: none !important;
        min-height: 220px !important;
    }
}

.contact-info-card .footer-social a {
    background: rgba(192, 57, 43, 0.1);
    color: var(--primary);
}

.contact-info-card .footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--white);
}
