/* General Styles */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Merriweather', serif;
    background-color: rgba(65, 6, 6, 0.9);
    color: #3A2F2F;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensure body covers full viewport height */
}

/* Reset margins for sections */
section {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

a:hover {
    color: #FF7F50;
}

/* Header Styles */
.header {
    background-color: rgba(255, 127, 80, 0.1); /* Sunset Orange with transparency */
    padding: 3px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px; /* Rounded corners */
    color: white;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    background-attachment: fixed; /* Fixes the background */
    background-position: center;
    background-size: cover;
}

/* Use the same background image for the header */
.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.pinimg.com/564x/d4/af/ae/d4afaea8a8793de367d324501f016638.jpg') no-repeat center center/cover;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.5;
    background-attachment: fixed;
}

/* Ensure header elements are above the background */
.header * {
    position: relative;
    z-index: 1;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.navbar li a {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
}

.navbar li a span {
    font-size: 12px;
    font-weight: normal;
    text-transform: none;
    color: #FF7F50; /* Sunset Orange color */
    display: block;
    margin-top: 5px;
}

.logo {
    position: relative;
}

.logo img {
    height: 80px;
    width: auto;
    border-radius: 50%;
    border: 3px solid #FF7F50; /* Border matches the accent color */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    background-color: #fff;
}

/* Active Link and Hover Styles */
.navbar li a:hover {
    color: #f5f5f5;
}

.navbar li a:hover span {
    color: #F5DEB3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header{
        position: relative;
    }
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .nav-left, .nav-right {
        width: 100%;
        display: none; /* Initially hidden */
    }

    .nav-left.show, .nav-right.show {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Align items to the left or right */
        gap: 10px;
        padding: 10px 0;
    }

    .nav-left.show {
        align-items: flex-start; /* Align left side vertically */
    }

    .nav-right.show {
        align-items: flex-end; /* Align right side vertically */
    }

    .navbar li {
        width: 100%;
        text-align: left; /* Align text to left or right based on the side */
    }

    .navbar li a {
        padding: 10px 20px;
        display: block;
    }

    .logo {
        flex-grow: 1;
        cursor: pointer;
        text-align: center;
    }
}
/* Hero Section */
.hero {
    background: url('https://i.pinimg.com/564x/d4/af/ae/d4afaea8a8793de367d324501f016638.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    animation: fadeIn 2s ease-in-out;
}

.hero h1 {
    font-size: 72px;
    margin: 0 0 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
    margin-left: 3vw;
}

.hero p {
    font-size: 32px;
    margin: 0 0 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-button {
    background-color: rgba(255, 127, 80, 0.2); /* Sunset Orange with transparency */
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

.cta-button:hover {
    background-color: rgba(255, 127, 80, 0.4); /* Slightly less transparent on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.cta-button {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 1.5s forwards;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Newsletter Section */
.newsletter {
    background-color: rgb(44, 17, 7); /* Sunset Orange with transparency */
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.newsletter-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    width: 100%;
}

.newsletter-text h2 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    color: #F5F5F5;
}

.newsletter-text p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #D3D3D3;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.email-input {
    padding: 10px 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    flex-grow: 1;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 0 4px 6px rgba(188, 69, 9, 0.1);
}

.cta-button-nLetter {
    background: rgba(255, 127, 80, 0.8); /* Sunset Orange */
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
}

.cta-button-nLetter i {
    margin-right: 5px;
}

.cta-button-nLetter:hover {
    background: rgba(245, 222, 179, 0.8); /* Sandy Beige */
}

/* Responsive Design */
@media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        justify-content: center;
    }
    
    .email-input {
        margin-bottom: 10px;
        width: 100%;
    }
}

/* Introduction Section */
.introduction {
    background: url('https://i.pinimg.com/564x/57/e1/14/57e114f83e455f1c6d565fa6c6839963.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    flex-shrink: 0;
}

.introduction::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 1;
}

.introduction-content {
    position: relative;
    z-index: 2;
    color: #F5F5F5;
}

.icons {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.icons i {
    font-size: 32px;
}

.typewriter {
    font-size: 24px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    border-right: 2px solid #FF7F50; /* Cursor color */
    width: 0; /* Start hidden */
    animation: typing 8s steps(60, end) infinite, blink-caret 3s step-end infinite;
}

@keyframes typing {
    0% { width: 0; }
    90% { width: 100%; }
    100% { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #FF7F50; }
}

.introduction-content p {
    margin-top: 10px;
    font-size: 18px;
    color: #fff;
    background: rgba(255, 127, 80, 0.8); /* Sunset Orange */
    border: none;
    padding: 10px 1px;
    border-radius: 5px;
    cursor: pointer;
}

/* Popular Dishes Section */
.popular-dishes {
    position: relative;
    padding: 50px 20px;
    text-align: center;
    color: #F5F5F5; /* Off-White text */
    flex-shrink: 0;
}

.blur-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://i.pinimg.com/564x/90/76/ff/9076ffe25767c5003290da18ff86b26b.jpg') no-repeat center center/cover;
    filter: blur(10px);
    z-index: -1;
}

.section-title {
    font-size: 54px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.dish-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

.dish-card {
    background: #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    width: 250px;
    box-shadow: 10px 10px 20px #747272, -10px -10px 20px #716b6b;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari support */
    border: 1px solid rgba(255, 255, 255, 0.3); /* Light border for glass effect */
    padding: 20px;
    margin: 10px;
}

.dish-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.dish-info {
    padding: 15px;
    text-align: left;
}

.dish-info h3 {
    font-size: 20px;
    margin: 0 0 10px;
    color: #3A2F2F; /* Dark Brown text */
}

.dish-info p {
    font-size: 14px;
    color: #3A2F2F; /* Dark Brown text */
    margin: 0 0 15px;
}

.dish-info .price {
    font-size: 20px;
    color: #FF7F50; /* Sunset Orange text */
    font-weight: bold;
    background: rgba(255, 127, 80, 0.1); /* Light background with Sunset Orange tint */
    padding: 10px 15px;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dish-info .price:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Hover Effects */
.dish-card:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .dish-cards {
        flex-direction: column;
        align-items: center;
    }

    .dish-card {
        width: 90%;
    }
}

/* Latest Blog section */
.latest-blogs {
    padding: 40px 20px;
    max-width: 1200px; /* Increase max-width for a wider layout */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr)); /* Responsive columns */
    gap: 20px;
    justify-content: center; /* Center the grid items */
}

.latest-blogs h1{

    font-size: 54px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff; /* Darker text color */
    text-shadow: 2px 2px 4px rgba(82, 11, 11, 0.5); /* Glowing effect for the text */
    transition: color 0.3s ease;
    transition: text-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(83, 16, 16, 0.2); /* Add a slight drop shadow for depth */
    grid-column: span 12; /* Full width on larger screens */
    grid-row: 1; /* First row */
    width: fit-content;
    margin-left: 27vw;
}

.blog-card {
    background-color: #FFFFFF; /* White background */
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid #E0E0E0; /* Light border for definition */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-card:hover {
    transform: scale(1.05); /* Slightly scale up the card */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); /* Add shadow for depth */
}

.blog-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    object-fit: cover;
    height: 150px; /* Uniform height for images */
}

.blog-card h3 {
    font-size: 18px;
    margin: 0 0 10px;
    color: #333333; /* Darker text color */
}

.blog-card p {
    font-size: 14px;
    color: #666666; /* Softer text color */
    line-height: 1.5;
}

/* Sizing for bento layout */
.blog-card.large {
    grid-column: span 8; /* Large card spans 8 columns */
    grid-row: span 2;
}

.blog-card.medium {
    grid-column: span 6; /* Medium card spans 6 columns */
    grid-row: span 2;
}

.blog-card.small {
    grid-column: span 4; /* Small card spans 4 columns */
    grid-row: span 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .latest-blogs {
        grid-template-columns: repeat(6, 1fr); /* Adjust grid columns on smaller screens */
    }

    .blog-card.large {
        grid-column: span 6; /* Large card spans 6 columns */
    }

    .blog-card.medium, .blog-card.small {
        grid-column: span 6; /* Medium and small cards span 6 columns */
    }
}

@media (max-width: 480px) {
    .latest-blogs {
        grid-template-columns: 1fr; /* Single column layout on very small screens */
    }

    .blog-card {
        grid-column: span 1; /* All cards span 1 column */
    }
}

/* Footer Styles */ 
.footer {
    padding: 50px 20px;
    background-color: #531E1E; /* Main background color */
    box-shadow: inset 5px 5px 10px rgba(0, 0, 0, 0.2), inset -5px -5px 10px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    margin-top: 4vw;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-section {
    background-color: #6B2A2A; /* Slightly lighter than the main background */
    border-radius: 15px;
    box-shadow: 8px 8px 16px rgba(0, 0, 0, 0.3), -8px -8px 16px rgba(255, 255, 255, 0.1);
    padding: 20px;
    flex: 1 1 calc(25% - 40px);
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #FFD1D1; /* Light text color to contrast the dark background */
}

.footer-section p {
    font-size: 14px;
    margin: 10px 0;
    color: #E3B7B7; /* Softer text color */
}

.social-media a {
    margin-right: 10px;
    font-size: 20px;
    color: #FFD1D1; /* Light color for icons */
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #FFB6B6; /* Hover color */
}

/* Latest Comments */
.comment {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comment img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.comment p {
    font-size: 14px;
    color: #E3B7B7;
}

.comment strong {
    color: #FFD1D1;
}

/* Copyright */
.copyright {
    text-align: center;
    padding: 10px 0;
    background-color: #6B2A2A; /* Slightly lighter background */
    box-shadow: inset 8px 8px 16px rgba(0, 0, 0, 0.3), inset -8px -8px 16px rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: fit-content;
    margin: 0 auto;
    color: #FFD1D1;
}

.copyright-profilelink i {
    font-size: 42px; /* Increased size */
    color: #0077B5; /* LinkedIn's official color */
}

.copyright-profilelink {
    display: inline-block;
    margin: 0 5px;
}

.copyright-profilelink a {
    text-decoration: none;
    color: inherit; /* Ensure the icon color inherits the color from the parent */
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        width: 100%;
        margin-bottom: 20px;
    }
}
