/* Custom styles for Just Cooking Food Truck */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom selection color */
::selection {
    background: #6c1d1d;
    color: #fff;
}

/* Body font styling */
body {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    color: #1a1a1a;
    background-color: #fff8f6;
}

/* Thin decorative lines */
.thin-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, #6c1d1d, transparent);
}

.section-divider {
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, #6c1d1d, transparent);
    margin: 0 auto;
}

/* Hero gradient background */
.hero-gradient {
    background: linear-gradient(135deg, #3a0e0e 0%, #6c1d1d 25%, #9a2525 50%, #b83232 75%, #d44a4a 100%);
}

/* Hero gradient overlay */
.hero-gradient-overlay {
    background: linear-gradient(135deg, rgba(58,14,14,0.85) 0%, rgba(108,29,29,0.75) 50%, rgba(184,50,50,0.65) 100%);
}

/* Subtle dot pattern */
.pattern-overlay {
    background-image: radial-gradient(circle at 25% 25%, rgba(255,255,255,0.03) 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Navigation link styles */
.nav-link {
    position: relative;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #ff8a73;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    transform: translateX(0);
}

/* Mobile navigation links */
.mobile-nav-link {
    font-weight: 300;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

/* Primary button */
.btn-primary {
    background: linear-gradient(135deg, #6c1d1d 0%, #9a2525 100%);
    color: #fff;
    padding: 14px 36px;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 29, 29, 0.3);
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(108, 29, 29, 0.4);
}

/* Secondary button */
.btn-secondary {
    background: transparent;
    color: #6c1d1d;
    padding: 14px 36px;
    border: 1px solid #6c1d1d;
    border-radius: 2px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.btn-secondary:hover {
    background: #6c1d1d;
    color: #fff;
}

/* Menu card styles */
.menu-card {
    transition: all 0.4s ease;
    border: 1px solid rgba(108, 29, 29, 0.1);
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(108, 29, 29, 0.1);
    border-color: #6c1d1d;
}

.menu-card:hover .menu-card-img {
    transform: scale(1.05);
}

.menu-card-img {
    transition: transform 0.6s ease;
}

/* Feature icon container */
.feature-icon {
    width: 60px;
    height: 60px;
    border: 1px solid rgba(108, 29, 29, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.feature-icon:hover {
    background: #6c1d1d;
    border-color: #6c1d1d;
}

.feature-icon:hover svg {
    stroke: #fff;
}

/* Footer decorative line */
.footer-line {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(108, 29, 29, 0.2), transparent);
}

/* Decorative circles */
.decorative-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: #6c1d1d;
}

/* Image container */
.img-container {
    overflow: hidden;
    position: relative;
}

/* Testimonial card */
.testimonial-card {
    background: #fff;
    border: 1px solid rgba(108, 29, 29, 0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(108, 29, 29, 0.2);
    box-shadow: 0 10px 30px rgba(108, 29, 29, 0.08);
}

/* Form inputs */
.form-input {
    border: 1px solid rgba(108, 29, 29, 0.2);
    border-radius: 2px;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
    background: #fff;
    color: #1a1a1a;
    width: 100%;
}

.form-input:focus {
    outline: none;
    border-color: #6c1d1d;
    box-shadow: 0 0 0 3px rgba(108, 29, 29, 0.1);
}

.form-input::placeholder {
    color: #999;
}

/* Mobile hamburger menu */
.hamburger {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.hamburger span {
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Scroll reveal animations */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal-hidden {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .menu-card:hover {
        transform: none;
    }
    
    .menu-card:hover .menu-card-img {
        transform: none;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #fff8f6;
}

::-webkit-scrollbar-thumb {
    background: #6c1d1d;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a2525;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(180deg, #3a0e0e 0%, #6c1d1d 50%, #9a2525 100%);
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
        font-size: 0.7rem;
    }
}
