/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #b8860b;
    --secondary: #daa520;
    --accents: #ffd700;
    --dark: #000000;
    --light: #fffaf0;
    --text: #8b0000;
}

body {
    background-color: var(--light);
    color: var(--dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Social Bar */
.top-bar {
    background-color: var(--dark);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-left span {
    color: #ccc;
}

.top-social-links {
    display: flex;
    gap: 15px;
}

.top-social-links a {
    color: white;
    font-size: 16px;
    transition: color 0.3s ease;
    text-decoration: none;
}

.top-social-links a:hover {
    color: var(--secondary);
}

/* Header & Navigation */
header {
    background-color: #daa520b5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 130px;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    height: 100%;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: auto;
}

.image {
    height: 100px;
    width: 100px;
    object-fit: contain;
}

.logo {
    font-family: 'Dancing Script', cursive;
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(19, 18, 18, 0.3);
}

.logo span {
    font-family: 'Dancing Script', cursive;
    font-weight: 800;
    color: var(--dark);
    font-style: normal;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    color: var(--dark);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
    white-space: nowrap;
}

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

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 1000;
    border-radius: 5px;
    padding: 10px 0;
    top: 100%;
    left: 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    padding: 8px 20px;
    display: block;
    font-size: 13px;
}

.search-bar {
    display: flex;
    align-items:center;
    position:relative;
    left: 10%;
}

.search-bar input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    width: 250px;
}

.search-bar button {
    background: none;
    border: none;
    margin-left: -30px;
    cursor: pointer;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/healthy-lunch-meal-with-cooked-beef-curry-generated-by-ai.jpg');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: background-color 0.3s;
}

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

/* Video Section */
.video-section {
    display: flex;
    padding: 60px 0;
    gap: 40px;
    align-items: center;
}

.video-container {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-container video {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.video-container:hover video {
    transform: scale(2.0);
}

.video-text {
    flex: 1;
    padding-left: 20px;
}

.video-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text);
    position: relative;
}

.video-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark);
    margin-bottom: 20px;
}

/* Text Animation */
.animated-text {
    overflow:scroll;
}

.word {
    display:inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: popUp 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}


@keyframes popUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Video overlay animation */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(184, 134, 11, 0.1), rgba(218, 165, 32, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 15px;
    pointer-events: none;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

/* Featured Recipes */
.section-title {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: #777;
    max-width: 700px;
    margin: 0 auto;
}

.recipes {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.recipe-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.recipe-card:hover {
    transform: translateY(-10px);
}

.recipe-img {
    height: 200px;
    overflow: hidden;
}

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

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

.recipe-content {
    padding: 20px;
}

.recipe-content h3 {
    margin-bottom: 10px;
    color: var(--dark);
}

.recipe-meta {
    display: flex;
    justify-content: space-between;
    color: #777;
    margin-bottom: 15px;
    font-size: 14px;
}

.recipe-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-recipe {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
}

/* Newsletter */
.newsletter {
    background-color: var(--dark);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
}

.newsletter p {
    max-width: 600px;
    margin: 0 auto 30px;
    color: #ddd;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.newsletter-form button {
    padding: 0 30px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #e67e22;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 20px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left {
        justify-content: center;
    }

    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .search-bar input {
        width: 150px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        padding: 5px 0;
    }

    .top-social-links a {
        font-size: 14px;
    }

    .nav-links {
        display: none;
    }
    
    .logo {
        font-size: 32px;
    }

    .image {
        height: 80px;
        width: 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .video-section {
        flex-direction: column;
    }
    
    .video-text {
        padding-left: 0;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: 30px;
    }
}