/* ===== GLOBAL STYLES ===== */
:root {
    --primary-color: #4CAF50;
    --primary-light: #66BB6A;
    --primary-dark: #388E3C;
    --accent-color: #FFC107;
    --accent-dark: #F57C00;
    --text-dark: #343A40;
    --text-light: #6C757D;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-light: #E0E0E0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== NAVIGATION ===== */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(76, 175, 80, 0.1);
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--primary-color);
}

/* ===== BUTTONS ===== */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    color: white;
}

.btn-outline-dark {
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    background: transparent;
}

.btn-outline-dark:hover {
    background: var(--text-dark);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.hero-content {
    padding: 2rem 0;
}

.hero-badge .badge {
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 50px;
}

.bg-success-soft {
    background-color: rgba(76, 175, 80, 0.1) !important;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 500px;
}

.hero-stats {
    margin: 2rem 0;
}

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

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-image-container {
    position: relative;
    padding: 2rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    transform: rotate(3deg);
    transition: var(--transition);
}

.hero-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.floating-card {
    position: absolute;
    background: white;
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    box-shadow: var(--shadow-medium);
    animation: float 3s ease-in-out infinite;
}

.floating-card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.floating-card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.floating-card-3 {
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.card-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* ===== FEATURES SECTION ===== */
.features-section {
    padding: 5rem 0;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.feature-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== RECIPE CARDS ===== */
.recipe-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.recipe-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.recipe-image-wrapper {
    position: relative;
    overflow: hidden;
}

.recipe-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.recipe-card:hover .recipe-image {
    transform: scale(1.1);
}

.recipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.recipe-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.recipe-badge .badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.recipe-content {
    padding: 1.5rem;
}

.recipe-category {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.recipe-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.recipe-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.meta-item i {
    color: var(--primary-color);
}

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.newsletter-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.newsletter-features {
    margin-top: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.newsletter-form-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.newsletter-form .input-group {
    margin-bottom: 1rem;
}

.newsletter-form .form-control {
    border: none;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: white;
}

.newsletter-form .btn {
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    background: var(--accent-color);
    border: none;
    color: var(--text-dark);
    font-weight: 600;
}

.newsletter-form .btn:hover {
    background: var(--accent-dark);
    color: white;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
}

.footer-brand .brand-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.footer-brand .brand-text {
    color: white;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.contact-info {
    color: rgba(255, 255, 255, 0.8);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-light);
    width: 20px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-copyright,
.footer-made {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-image-wrapper {
        transform: none;
        margin-top: 2rem;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .newsletter-form .input-group {
        flex-direction: column;
    }
    
    .newsletter-form .btn {
        width: 100%;
        margin-top: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .recipe-content {
        padding: 1rem;
    }
    
    .newsletter-form-wrapper {
        padding: 1.5rem;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.bg-light {
    background-color: var(--bg-light) !important;
}

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

.border-0 {
    border: none !important;
}

.shadow-sm {
    box-shadow: var(--shadow-light) !important;
}

.shadow {
    box-shadow: var(--shadow-medium) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-heavy) !important;
}

