/* ==========================================================================
   DESIGN SYSTEM & VARIABLES - FERMA ALEX
   ========================================================================== */
:root {
    /* Color Palette */
    --color-primary: #31a447;        /* Grass Leaf Green */
    --color-primary-rgb: 49, 164, 71;
    --color-primary-light: #41bf59;  /* Slightly lighter green */
    --color-secondary: #faf7f0;      /* Rich Farm Cream */
    --color-accent: #e59400;         /* Warm Sunlit Honey Amber */
    --color-accent-hover: #c68000;
    --color-accent-light: #fdf5e6;   /* Soft Butter Cream background */
    
    --color-text-dark: #15221b;      /* Dark Slate with forest tint */
    --color-text-light: #f8fafc;     /* White/light gray */
    --color-text-muted: #64748b;     /* Muted grey */
    
    --color-white: #ffffff;
    --color-danger: #ef4444;
    --color-success: #10b981;
    
    /* Layout Sizes */
    --max-width: 1200px;
    --header-height: 110px;
    
    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    
    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(var(--color-primary-rgb), 0.08);
    --shadow-lg: 0 20px 40px rgba(var(--color-primary-rgb), 0.15);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-secondary);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Helper Utilities */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section-padding {
    padding: 100px 0;
}

.bg-warm {
    background-color: #f3edd7;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--color-white) !important;
}

.text-light {
    color: var(--color-text-light) !important;
    opacity: 0.9;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.gap-large {
    gap: 60px;
}

.img-responsive {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ==========================================================================
   GRID & LAYOUT
   ========================================================================== */
.grid {
    display: grid;
    gap: 30px;
}

.grid-2col {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2col {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(var(--color-primary-rgb), 0.2);
}

.btn-secondary {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

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

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-icon {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(250, 247, 240, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(var(--color-primary-rgb), 0.08);
    z-index: 1000;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    background-color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
    height: 80px;
}

.main-header.scrolled .brand-logo-img {
    height: 60px;
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo-img {
    height: 80px; /* Taller logo for maximum premium brand presence */
    width: auto;
    object-fit: contain;
    transition: var(--transition-smooth);
}

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

.drawer-logo-img {
    height: 60px; /* Slightly larger in the mobile drawer */
}

/* Desktop Nav */
.desktop-nav ul {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-weight: 700;
    font-size: 1.08rem;
    color: var(--color-text-dark);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: var(--color-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Mobile Nav Drawer */
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background-color: var(--color-secondary);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu-drawer.open {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(var(--color-primary-rgb), 0.4);
    backdrop-filter: blur(4px);
    z-index: 1099;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.drawer-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.close-drawer {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: none;
    color: var(--color-primary);
    cursor: pointer;
}

.drawer-logo {
    margin-bottom: 50px;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer-link {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    display: block;
}

.drawer-link:hover {
    color: var(--color-accent);
    transform: translateX(5px);
}

.drawer-footer {
    margin-top: auto;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.1);
    padding-top: 24px;
}

.drawer-phone {
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.icon-inline {
    vertical-align: middle;
}

@media (max-width: 992px) {
    .desktop-nav, .btn-header {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    /* Responsive header and logo size for tablets and mobiles */
    :root {
        --header-height: 85px;
    }
    
    .brand-logo-img {
        height: 60px;
    }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    min-height: 95vh;
    display: flex;
    align-items: center;
    color: var(--color-white);
    background-color: var(--color-primary);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/ferma alex fundal vacute.jpg');
    background-size: cover;
    background-position: center bottom;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.45) 60%, rgba(0, 0, 0, 0.15) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 720px;
}

/* Insigna Tricolora "Produs in Romania" */
.romanian-badge-container {
    margin-bottom: 24px;
}

.badge-romania-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 60px;
}

#heroProductsBtn {
    background-color: var(--color-accent);
    color: var(--color-white) !important;
    border: 2px solid var(--color-accent);
}

#heroProductsBtn:hover {
    background-color: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 148, 0, 0.3);
}

#heroPartnerBtn {
    background-color: transparent;
    color: var(--color-white) !important;
    border: 2px solid var(--color-white);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

#heroPartnerBtn:hover {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Quick Features underneath */
.hero-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
}

@media (min-width: 576px) {
    .hero-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.feature-info h3 {
    font-size: 0.95rem;
    color: var(--color-white);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-info p {
    font-size: 0.8rem;
    color: #cbd5e1;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-section {
        padding-top: calc(var(--header-height) + 20px);
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    background-color: var(--color-secondary);
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-accent-hover);
    font-weight: 800;
    margin-bottom: 12px;
    border-left: 3px solid var(--color-accent);
    padding-left: 10px;
}

.tag-white {
    color: var(--color-accent);
    border-left-color: var(--color-accent);
}

.section-title {
    font-size: 2.4rem;
    font-weight: 850;
    margin-bottom: 24px;
}

.section-description {
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Poster Card Styling & Animations */
.about-images-area {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.poster-card-wrapper {
    position: relative;
    max-width: 380px;
    width: 100%;
    aspect-ratio: 1 / 1.414; /* A4 Ratio */
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 12px;
    overflow: hidden;
}

.poster-preview-card {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 48px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.poster-preview-card.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 5;
}

.poster-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.poster-preview-card:hover .poster-img {
    transform: scale(1.05);
}

.poster-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(var(--color-primary-rgb), 0.95) 0%, rgba(var(--color-primary-rgb), 0.4) 70%, transparent 100%);
    padding: 24px 16px 16px 16px;
    color: var(--color-white);
}

.poster-caption h4 {
    font-size: 1rem;
    color: var(--color-accent);
    margin-bottom: 4px;
    font-family: var(--font-body);
    font-weight: 700;
}

.poster-caption p {
    font-size: 0.75rem;
    opacity: 0.9;
}

.poster-switcher {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 12px;
    z-index: 10;
}

.switcher-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.switcher-dot.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

/* Values list styling */
.values-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.value-card {
    display: flex;
    gap: 16px;
}

.value-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--color-accent-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.value-card h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.about-cta-box {
    background-color: #fcf9f2;
    border-left: 4px solid var(--color-primary);
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    box-shadow: var(--shadow-sm);
}

.cta-message {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */
.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px auto;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 576px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
    border: 1px solid rgba(var(--color-primary-rgb), 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.1);
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
}

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    height: calc(100% - (100% * 3 / 4)); /* Rest of card */
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.product-weight {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 600;
}

.product-tag {
    font-size: 0.75rem;
    background-color: var(--color-secondary);
    color: var(--color-primary-light);
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
}

.product-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.product-description {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(var(--color-primary-rgb), 0.05);
    padding-top: 16px;
}

.product-origin {
    font-size: 0.8rem;
    color: var(--color-accent-hover);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-origin::before {
    content: '📍';
    font-size: 0.85rem;
}

.product-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-primary);
    position: relative;
    padding-bottom: 2px;
}

.product-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40%;
    height: 2px;
    background-color: var(--color-accent);
    transition: var(--transition-smooth);
}

.product-card:hover .product-btn::after {
    width: 100%;
}

.product-btn:hover {
    color: var(--color-accent-hover);
}

/* ==========================================================================
   PARTNERS SECTION
   ========================================================================== */
.partners-section {
    background-color: #173d1f; /* A beautiful, rich, premium dark forest green */
    background-image: linear-gradient(135deg, #173d1f 0%, #081d0c 100%);
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.partners-container-box {
    width: 100%;
}

.partners-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    color: #e2e8f0;
}

.partner-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.benefit-icon {
    font-size: 2rem;
    line-height: 1;
    background-color: rgba(255, 255, 255, 0.08);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-item h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-item p {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.5;
}

/* Card Formular Parteneri */
.partners-form-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.form-card-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.form-card-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

/* Forms CSS Global */
.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .form-group-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    background-color: var(--color-secondary);
    border: 1.5px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(var(--color-primary-rgb), 0.08);
}

.form-group.invalid input,
.form-group.invalid textarea {
    border-color: var(--color-danger);
    background-color: #fef2f2;
}

.error-msg {
    font-size: 0.75rem;
    color: var(--color-danger);
    font-weight: 600;
    display: none;
    margin-top: 2px;
}

.form-group.invalid .error-msg {
    display: block;
}

/* Form Success Overlay */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    text-align: center;
}

.form-success-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active .success-content {
    transform: translateY(0);
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e6f7f0;
    color: var(--color-success);
    font-size: 2rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    box-shadow: var(--shadow-sm);
}

.success-content h3 {
    font-size: 1.5rem;
    font-weight: 850;
    margin-bottom: 12px;
}

.success-content p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .partners-form-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-cards-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
    margin-bottom: 32px;
}

.contact-detail-card {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(var(--color-primary-rgb), 0.04);
}

.contact-detail-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--color-primary-rgb), 0.08);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-info span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.card-info strong {
    font-size: 1rem;
    color: var(--color-primary);
    line-height: 1.4;
    font-family: var(--font-body);
}

/* Interactive Google Map */
.map-concept-container {
    width: 100%;
    height: 320px; /* Taller and highly functional */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(var(--color-primary-rgb), 0.15);
    transition: var(--transition-smooth);
}

.map-concept-container:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary);
    transform: translateY(-3px);
}

.map-concept-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.form-container-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(var(--color-primary-rgb), 0.04);
}

@media (max-width: 768px) {
    .form-container-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-image: linear-gradient(135deg, rgba(27, 94, 40, 0.92) 0%, rgba(49, 164, 71, 0.96) 100%), url('assets/ferma alex fundal vacute.jpg');
    background-size: cover;
    background-position: center, center bottom;
    background-repeat: no-repeat;
    color: var(--color-white);
    padding: 80px 0 30px 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--color-accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 2fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.footer-about {
    font-size: 0.88rem;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-badge-container {
    margin-top: 8px;
}

.footer-badge-romania {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: var(--transition-smooth);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

.footer-badge-romania:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.03);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.2));
}

.footer-links h4,
.footer-contact-details h4 {
    color: #ffca28; /* High-contrast golden yellow for excellent legibility on green */
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 8px;
    display: inline-block;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-white);
    opacity: 0.8;
    display: inline-block;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #ffca28;
    opacity: 1;
    transform: translateX(5px);
}

.footer-contact-details p {
    margin-bottom: 12px;
    line-height: 1.6;
    opacity: 0.85;
}

.footer-phone-number {
    margin-top: 16px;
}

.footer-phone-number a {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.12);
    padding: 8px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}

.footer-phone-number a:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    opacity: 0.8;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-legal-links {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.footer-legal-links a {
    color: var(--color-white);
    opacity: 0.8;
    transition: var(--transition-smooth);
}

.footer-legal-links a:hover {
    color: #ffca28;
    opacity: 1;
    text-decoration: none;
}

/* ==========================================================================
   SCROLL REVEAL & INTERACTIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   CENTERED PARTNERSHIP BANNER
   ========================================================================== */
.partners-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.partner-benefits-horizontal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin: 40px 0;
}

.benefit-item-horizontal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.benefit-icon-flat {
    background-color: rgba(255, 255, 255, 0.08);
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.benefit-icon-flat svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-accent) !important; /* Force beautiful warm gold stroke */
    transition: var(--transition-smooth);
}

.benefit-item-horizontal:hover .benefit-icon-flat {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.benefit-item-horizontal:hover .benefit-icon-flat svg {
    stroke: var(--color-white) !important; /* SVG turns white on hover! */
}

.benefit-item-horizontal h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
}

.partner-cta-banner {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 35px 40px;
    border-radius: var(--radius-md);
    margin-top: 40px;
    box-shadow: var(--shadow-md);
}

.cta-banner-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
    opacity: 0.95;
}

.btn-partner-call {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--color-accent) !important;
    color: var(--color-white) !important; /* Crisp white text */
    border: 2px solid var(--color-accent);
}

.btn-partner-call:hover {
    background-color: var(--color-accent-hover) !important;
    border-color: var(--color-accent-hover) !important;
    color: var(--color-white) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(229, 148, 0, 0.35);
}

.btn-icon-left {
    margin-right: 8px;
    stroke: var(--color-white); /* Force phone icon stroke to white */
}

