/* ====== VARIABLES & RESET ====== */
:root {
    --primary: #e74c3c;
    --primary-dark: #c0392b;
    --secondary: #2ecc71;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --gray: #6c757d;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    transition: var(--transition);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ====== NAVBAR ====== */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--dark);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition);
}

.nav-icons i:hover {
    color: var(--primary);
}

.lang-btn {
    background: none;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-login {
    background: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

#menuBtn {
    display: none;
}

/* ====== SEARCH BAR ====== */
.search-bar {
    display: none;
    padding: 15px 20px;
    background: var(--light);
    gap: 10px;
}

.search-bar.active {
    display: flex;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--primary);
    border-radius: 25px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
}

.search-bar button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar button:hover {
    background: var(--primary-dark);
}

/* ====== HERO SECTION ====== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1400') center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    padding: 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
padding: 12px 30px;
border-radius: 25px;
font-weight: 600;
font-size: 1.1rem;
transition: var(--transition);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* ====== SECTION TITLE ====== */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* ====== CATEGORIES ====== */
.categories {
    padding: 80px 0;
    background: var(--white);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.category-card span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 10px;
}

.category-card p {
    font-weight: 600;
    color: var(--dark);
}

/* ====== FEATURED RECIPES ====== */
.featured-recipes {
    padding: 80px 0;
    background: var(--light);
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recipe-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.recipe-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.recipe-card:hover .card-img img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-fav {
    position: absolute;
    top: 15px;
    right: 15px;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition);
}

.card-fav:hover {
    color: var(--primary);
    transform: scale(1.2);
}

.card-fav.active {
    color: var(--primary);
}

.card-body {
    padding: 20px;
}

.card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark);
}

.card-body p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-info {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--gray);
}

.card-info i {
    color: var(--primary);
}

.btn-card {
    display: block;
    text-align: center;
    background: var(--primary);
    color: var(--white);
    padding: 10px;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-card:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ====== FOOTER ====== */
.footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.8;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #aaa;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        display: flex;
    }

    #menuBtn {
        display: block;
    }

    .hero-title {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .recipes-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ====== PAGE HEADER ====== */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1400') center/cover;
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ====== FILTER BAR ====== */
.filter-section {
    padding: 30px 0;
    background: var(--white);
    box-shadow: var(--shadow);
}

.filter-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-bar select {
    padding: 10px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

.filter-bar select:focus {
    border-color: var(--primary);
}

.view-btns {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.view-btns button {
    background: none;
    border: 2px solid #ddd;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    color: var(--gray);
}

.view-btns button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ====== RECIPES SECTION ====== */
.recipes-section {
    padding: 60px 0;
}

/* ====== LIST VIEW ====== */
.list-view {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
}

.list-view .recipe-card {
    display: flex !important;
    flex-direction: row;
    height: 180px;
}

.list-view .card-img {
    width: 250px;
    height: 180px;
    flex-shrink: 0;
}

.list-view .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ====== DARK MODE FILTER ====== */
body.dark-mode .filter-section {
    background: #1e1e1e;
}

body.dark-mode .filter-bar select {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .view-btns button {
    border-color: #444;
    color: #f0f0f0;
}

/* ====== RECIPE HERO ====== */
.recipe-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.recipe-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 40px 0;
    color: var(--white);
}

.recipe-hero-overlay h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 10px 0;
}

.recipe-meta {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    font-size: 1rem;
}

.recipe-meta i {
    color: var(--primary);
    margin-right: 5px;
}

.recipe-fav {
    font-size: 1.8rem;
    cursor: pointer;
    margin-top: 15px;
    color: var(--white);
    transition: var(--transition);
}

.recipe-fav:hover,
.recipe-fav.active {
    color: var(--primary);
    transform: scale(1.2);
}

/* ====== RECIPE LAYOUT ====== */
.recipe-content {
    padding: 60px 0;
}

.recipe-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* ====== VIDEO ====== */
.recipe-video {
    margin-bottom: 40px;
}

.recipe-video h2,
.recipe-steps h2,
.recipe-reviews h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
    border-bottom: 3px solid var(--primary);
    padding-bottom: 10px;
}

.recipe-video h2 i,
.recipe-steps h2 i,
.recipe-reviews h2 i {
    color: var(--primary);
    margin-right: 8px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ====== STEPS ====== */
.recipe-steps {
    margin-bottom: 40px;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--dark);
}

.step-text p {
    color: var(--gray);
    line-height: 1.7;
}

/* ====== REVIEWS ====== */
.review-form {
    background: var(--light);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.review-form h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.star-rating {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
}

.star-rating i.active {
    color: #f39c12;
}

.review-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 100px;
    outline: none;
    transition: var(--transition);
    margin-bottom: 15px;
}

.review-form textarea:focus {
    border-color: var(--primary);
}

.btn-submit {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.review-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.review-header strong {
    color: var(--dark);
}

/* ====== SIDEBAR ====== */
.recipe-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.servings-calculator,
.ingredients-box,
.nutrition-box {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.servings-calculator h3,
.ingredients-box h3,
.nutrition-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark);
}

.servings-calculator h3 i,
.ingredients-box h3 i,
.nutrition-box h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.servings-control {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.servings-control button {
    background: var(--primary);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.servings-control button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.servings-control span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.ingredients-box ul {
    list-style: none;
}

.ingredients-box ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark);
    font-size: 0.95rem;
}

.ingredients-box ul li:last-child {
    border-bottom: none;
}

.amount {
    font-weight: 700;
    color: var(--primary);
}

/* ====== NUTRITION TABLE ====== */
.nutrition-table {
    width: 100%;
    border-collapse: collapse;
}

.nutrition-table th {
    background: var(--primary);
    color: var(--white);
    padding: 10px 15px;
    text-align: left;
    font-size: 0.9rem;
}

.nutrition-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--dark);
}

.nutrition-table tr:nth-child(even) {
    background: var(--light);
}

.nutrition-table tr:hover {
    background: rgba(231, 76, 60, 0.05);
}

/* ====== DARK MODE DETAILS ====== */
body.dark-mode .recipe-video h2,
body.dark-mode .recipe-steps h2,
body.dark-mode .recipe-reviews h2 {
    color: #f0f0f0;
}

body.dark-mode .step-text h4 {
    color: #f0f0f0;
}

body.dark-mode .review-form {
    background: #2d2d2d;
}

body.dark-mode .review-form h3 {
    color: #f0f0f0;
}

body.dark-mode .review-form textarea {
    background: #1e1e1e;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .review-item {
    background: #1e1e1e;
}

body.dark-mode .review-header strong {
    color: #f0f0f0;
}

body.dark-mode .servings-calculator,
body.dark-mode .ingredients-box,
body.dark-mode .nutrition-box {
    background: #1e1e1e;
}

body.dark-mode .servings-calculator h3,
body.dark-mode .ingredients-box h3,
body.dark-mode .nutrition-box h3 {
    color: #f0f0f0;
}

body.dark-mode .ingredients-box ul li {
    color: #f0f0f0;
    border-bottom-color: #333;
}

body.dark-mode .nutrition-table td {
    color: #f0f0f0;
    border-bottom-color: #333;
}

body.dark-mode .nutrition-table tr:nth-child(even) {
    background: #2d2d2d;
}

/* ====== RESPONSIVE DETAILS ====== */
@media (max-width: 768px) {
    .recipe-layout {
        grid-template-columns: 1fr;
    }

    .recipe-hero {
        height: 350px;
    }

    .recipe-hero-overlay h1 {
        font-size: 1.8rem;
    }

    .recipe-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ====== AUTH PAGES ====== */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light);
    padding: 40px 20px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.auth-image {
    position: relative;
    overflow: hidden;
}

.auth-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 30px;
    color: var(--white);
}

.auth-image-overlay h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-image-overlay p {
    opacity: 0.9;
    line-height: 1.6;
}

.auth-form {
    background: var(--white);
    padding: 50px 40px;
}

.auth-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-form-header h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.auth-form-header h3 {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 400;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--primary);
    margin-right: 5px;
}

.form-group input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
}

.form-group input.error {
    border-color: #e74c3c;
}

.form-group input.success {
    border-color: var(--secondary);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 45px;
}

.password-wrapper i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray);
    transition: var(--transition);
}

.password-wrapper i:hover {
    color: var(--primary);
}

.field-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.error-message {
    background: #ffeaea;
    color: #e74c3c;
    padding: 12px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
    display: none;
}

.error-message.show {
    display: block;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--dark);
}

.forgot-password {
    color: var(--primary);
    font-weight: 600;
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.btn-auth:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231,76,60,0.4);
}

.auth-divider {
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #ddd;
}

.auth-divider span {
    background: var(--white);
    padding: 0 15px;
    color: var(--gray);
    position: relative;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-google,
.btn-facebook {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-google {
    background: var(--white);
    color: #333;
}

.btn-google:hover {
    background: #f5f5f5;
    border-color: #333;
}

.btn-facebook {
    background: #1877f2;
    color: var(--white);
    border-color: #1877f2;
}

.btn-facebook:hover {
    background: #166fe5;
}

.auth-switch {
    text-align: center;
    color: var(--gray);
    font-size: 0.95rem;
}

.auth-switch a {
    color: var(--primary);
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ====== DARK MODE AUTH ====== */
body.dark-mode .auth-section {
    background: #121212;
}

body.dark-mode .auth-form {
    background: #1e1e1e;
}

body.dark-mode .auth-form-header h3 {
    color: #aaa;
}

body.dark-mode .form-group label {
    color: #f0f0f0;
}

body.dark-mode .form-group input {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .auth-divider span {
    background: #1e1e1e;
    color: #aaa;
}

body.dark-mode .btn-google {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .auth-switch {
    color: #aaa;
}

body.dark-mode .remember-me {
    color: #f0f0f0;
}

/* ====== RESPONSIVE AUTH ====== */
@media (max-width: 768px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image {
        height: 200px;
    }

    .auth-form {
        padding: 30px 20px;
    }
}

/* ====== CONTACT PAGE ====== */
.contact-section {
    padding: 80px 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-box h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.contact-desc {
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-start;
}

.info-icon {
    background: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.info-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    background: var(--primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form-box {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form-box textarea {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    resize: vertical;
}

.contact-form-box textarea:focus {
    border-color: var(--primary);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-top: 15px;
    font-weight: 600;
    display: none;
}

.success-message.show {
    display: block;
}

/* ====== DARK MODE CONTACT ====== */
body.dark-mode .contact-info h2,
body.dark-mode .contact-form-box h2 {
    color: #f0f0f0;
}

body.dark-mode .info-text h4 {
    color: #f0f0f0;
}

body.dark-mode .contact-form-box {
    background: #1e1e1e;
}

body.dark-mode .contact-form-box textarea {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

/* ====== RESPONSIVE CONTACT ====== */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-form-box {
        padding: 25px;
    }
}

/* ====== MEAL PLANNER ====== */
.planner-section {
    padding: 60px 0;
}

.planner-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: flex-end;
}

.btn-clear {
    background: #e74c3c;
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.btn-print {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-print:hover {
    background: #27ae60;
    transform: translateY(-2px);
}

.planner-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.planner-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.planner-table th {
    background: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    text-align: left;
    font-size: 0.95rem;
    font-weight: 600;
}

.planner-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.planner-table tr:hover {
    background: rgba(231, 76, 60, 0.03);
}

.day-cell {
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
    font-size: 0.95rem;
}

.meal-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
    background: var(--light);
}

.meal-input:focus {
    border-color: var(--primary);
    background: var(--white);
}

.planner-notes {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.planner-notes h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.planner-notes h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.planner-notes textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: var(--radius);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 120px;
    outline: none;
    transition: var(--transition);
    margin-bottom: 15px;
}

.planner-notes textarea:focus {
    border-color: var(--primary);
}

.btn-save {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-save:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ====== DARK MODE PLANNER ====== */
body.dark-mode .planner-table {
    background: #1e1e1e;
}

body.dark-mode .planner-table td {
    border-bottom-color: #333;
}

body.dark-mode .planner-table tr:hover {
    background: rgba(231, 76, 60, 0.1);
}

body.dark-mode .meal-input {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

body.dark-mode .meal-input:focus {
    background: #1e1e1e;
}

body.dark-mode .planner-notes {
    background: #1e1e1e;
}

body.dark-mode .planner-notes h3 {
    color: #f0f0f0;
}

body.dark-mode .planner-notes textarea {
    background: #2d2d2d;
    color: #f0f0f0;
    border-color: #444;
}

/* ====== RESPONSIVE PLANNER ====== */
@media (max-width: 768px) {
    .planner-controls {
        justify-content: center;
    }

    .planner-table th,
    .planner-table td {
        padding: 10px;
    }

    .meal-input {
        min-width: 100px;
    }
}

/* ====== VIDEO MODAL ====== */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    align-items: center;
    justify-content: center;
}

.video-modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.video-modal .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-modal .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}