﻿
.navbar-brand {
    font-family: sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1d3557;
    position: relative;
    display: inline-block;
}

    .navbar-brand::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.4s ease;
    }

    .navbar-brand:hover::after {
        transform: scaleX(1);
        transform-origin: left;
    }

.nav-link {
    position: relative;
    padding-bottom: 5px;
}

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary);
        transition: width 0.3s ease;
    }


    .nav-link:hover::after,
    .nav-link.active::after {
        width: 100%;
    }

.hero {
    /*    background: linear-gradient(rgba(0,0,0,0.37)), url('https://id-preview--7ae0cbf2-ffaf-46b9-82fc-de55ee49d28d.lovable.app/assets/hero-restaurant-DsHUqlHN.jpg');*/
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo {
    width: 200px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0,0,0,0.6) 100%);
    z-index: 0;
}

.hero h1 {
    position: relative;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.article-card {
    margin-bottom: 2rem;
    border: none;
    background: transparent;
    transition: none;
}

    .article-card .card-body {
        padding: 1.5rem 0;
    }

    .article-card img {
        height: 300px;
        width: 100%;
        object-fit: cover;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .article-card .snap {
        height: auto;
        width: 100%;
        object-fit: cover;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

.article-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .article-card:hover {
        transform: scale(1.03);
        box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }

    .article-card .card-body {
        padding: 1.5rem;
        position: relative;
        z-index: 1;
        background: white;
        border-radius: 0 0 20px 20px;
        margin-top: -5px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        transition: all 0.3s ease;
    }

    .article-card .category {
        display: inline-block;
        padding: 0.25rem 0.75rem;
        color: white;
        border-radius: 20px;
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
        transition: var(--transition);
    }

    .article-card:hover .category,
    .featured-article:hover .category {
        color: var(--secondary);
        border-bottom-color: var(--secondary);
        transform: translateY(-2px);
    }

    .article-card .category {
        color: var(--dark);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.75rem;
        display: inline-block;
        margin-bottom: 0.75rem;
    }

    .article-card .card-title {
        font-family: 'Playfair Display', serif;
        font-size: 1.2rem;
        font-weight: bold;
        margin: 0.5rem 0 1rem;
        line-height: 1.3;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
    }

    .article-card .card-text {
        color: #666;
        margin-bottom: 1rem;
    }

    .article-card .author {
        font-style: italic;
        color: #777;
    }

.page-link {
    color: var(--primary);
    border: 1px solid var(--accent);
}

    .page-link:hover {
        color: white;
        background-color: var(--primary);
        border-color: var(--primary);
    }

.page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-item.disabled .page-link {
    color: #6c757d;
    background-color: white;
    border-color: var(--accent);
}

.featured-article {
    background-color: transparent;
    margin-bottom: 4rem;
}

.featured-content {
    padding: 1rem 0;
}

.featured-article img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .featured-article:hover {
        transform: scale(1.02);
        box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    }

.featured-content {
    padding: 2rem;
    margin-top: -5px;
    border-radius: 0 0 20px 20px;
    background: white;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

    .featured-content .category {
        color: var(--dark);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        font-size: 0.8rem;
        display: inline-block;
        margin-bottom: 1rem;
    }

    .featured-content h2 {
        font-family: sans-serif;
        font-size: 2.4rem;
        margin: 1rem 0;
        color: var(--dark);
        text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
    }

    .featured-content .excerpt {
        font-size: 1.1rem;
        color: #555;
        margin-bottom: 1.5rem;
    }

.newsletter {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    padding: 4rem 0;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
}

    .newsletter::before {
        content: '';
        position: absolute;
        top: -10px;
        left: 0;
        width: 100%;
        height: 20px;
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
        background-size: cover;
    }

    .newsletter::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 0;
        width: 100%;
        height: 20px;
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' opacity='.25' fill='%23ffffff'/%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' opacity='.5' fill='%23ffffff'/%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff'/%3E%3C/svg%3E");
        background-size: cover;
        transform: rotate(180deg);
    }

    .newsletter h3 {
        font-family: sans-serif;
        font-size: 2rem;
        margin-bottom: 1rem;
    }

footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0d1b2a 100%);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 5px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
    }

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: var(--transition);
}

    .social-icons a:hover {
        background: var(--primary);
        transform: translateY(-3px) scale(1.1);
    }

footer h5 {
    font-family: sans-serif;
    margin-bottom: 1.5rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

    footer a:hover {
        color: white;
    }

.social-icons a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

        .hero h1 {
            font-size: 2.5rem;
        }

    .featured-content h2 {
        font-size: 2rem;
    }
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

/* Button styling */
.btn-primary {
    background: var(--primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(230,57,70,0.3);
    }

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: 0.5s;
    }

    .btn-primary:hover::before {
        left: 100%;
    }
