/* ===================================
   Feast App - Custom CSS Styles
   Built with Bootstrap 5
   =================================== */

/* ===================================
   Root Variables & General Styles
   =================================== */
:root {
    --primary-color: #ff474f;
    --secondary-color: #ffce53;
    --dark-color: #262626;
    --light-color: #f2eee3;
    --accent-color: #ff474f;
    --gradient-start: #ff474f;
    --gradient-end: #ffce53;
    --black: #000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--light-color);
}

html {
    scroll-behavior: smooth;
}

/* ===================================
   Navigation Styles
   =================================== */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar.scrolled {
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand img {
    transition: all 0.3s ease;
    width: 90px;
    height: 90px;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
    color: var(--dark-color);
    font-size: 1.2rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    transition: transform 0.3s ease;
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 71, 79, 0.4);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(38, 38, 38, 0.1);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    min-height: 100vh;
    padding-top: 100px;
    background: url('../assets/images/Header_BG.jpg') center center no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    z-index: 0;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-50px, 50px);
    }
}

.hero-section h1 {
    color: var(--secondary-color);
    animation: fadeInUp 1s ease;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 9rem !important;
    line-height: 1;
    
}

.hero-section h2 {
    color: var(--light-color);
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 1;
}

.hero-section .lead {
    color: var(--dark-color);
    animation: fadeInUp 1.4s ease;
    position: relative;
    z-index: 1;
}

.hero-section .row {
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image img {
    max-width: 500px;
    animation: fadeInRight 1.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-section .btn {
    border-radius: 30px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    background-color: var(--black);
}

.hero-section .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===================================
   Features Sections
   =================================== */
.section-one {
    background-color: var(--secondary-color);
}

.section-one h2{
    color: var(--dark-color);
    font-size: 3rem;
}
.section-one .lead{
    color: var(--dark-color);
    font-size: 1.5rem;
}

.section-two {
    background-color: var(--light-color);
}

.section-two h2{
    color: var(--primary-color);
}

.section-two .lead {
    color: var(--dark-color);
}

.section-three {
    background-color: var(--dark-color);
}

.section-three h2 {
    color: var(--secondary-color);
    font-size: 3rem;
}

.section-three img {
    border-radius: 15px;
}

.section-three img:hover {
    transform: none;
}

section {
    position: relative;
}

section img {
    transition: transform 0.3s ease;
}

section img:hover {
    transform: scale(1.05);
}

.display-5 {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 2rem;
}

.lead {
    font-size: 1.125rem;
    color: var(--dark-color);
    opacity: 0.8;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    opacity: 0.5;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 30px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* ===================================
   Footer
   =================================== */
footer {
    background: #1a1a1a;
}

footer a {
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

footer .bi {
    transition: transform 0.3s ease;
}

footer .bi:hover {
    transform: scale(1.2);
}

/* ===================================
   Animations & Effects
   =================================== */
.shadow {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.rounded {
    border-radius: 15px !important;
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }
    
    .navbar-nav .btn-primary {
        margin-top: 1rem;
        display: inline-block;
    }
    
    .hero-section h1 {
        padding-top:100px;
        font-size: 4rem !important;
       
    }
    
    .hero-section h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767.98px) {
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.75rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    section {
        padding: 3rem 1rem !important;
    }
    
    .hero-image img {
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 80px;
    }
    
    .navbar-brand img {
        height: 50px;
        width: 50px;
    }
    
    .btn-lg {
        padding: 0.5rem 1.5rem !important;
        font-size: 1rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.bg-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
}
