/* Homepage Styles - Nikky */

/* Section Styling */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: 'Funnel Display', sans-serif;
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    position: relative;
    background-color: var(--dark-gray);
    overflow: visible;
}

.about-orbs {
    position: absolute;
    inset: -80px 0;
    pointer-events: none;
    z-index: 0;
}

.about-orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(255, 215, 0, 0.4) 0%,
        rgba(255, 215, 0, 0.25) 30%,
        rgba(255, 215, 0, 0.12) 60%,
        rgba(255, 215, 0, 0.04) 85%,
        transparent 100%
    );
    box-shadow: 0 0 100px 50px rgba(255, 215, 0, 0.1);
}

.about-orb-1 {
    width: min(45vw, 320px);
    height: min(45vw, 320px);
    left: -5%;
    top: 15%;
    animation: about-orb-float-1 5s ease-in-out infinite;
}

.about-orb-2 {
    width: min(38vw, 260px);
    height: min(38vw, 260px);
    right: 5%;
    top: 50%;
    animation: about-orb-float-2 6.5s ease-in-out infinite;
    animation-delay: -2s;
}

.about-orb-3 {
    width: min(40vw, 280px);
    height: min(40vw, 280px);
    left: 35%;
    bottom: -5%;
    animation: about-orb-float-3 4.5s ease-in-out infinite;
    animation-delay: -1s;
}

.about-section .container {
    position: relative;
    z-index: 1;
}

@keyframes about-orb-float-1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(45px, -35px) scale(1.08);
    }
    50% {
        transform: translate(25px, 30px) scale(1.14);
    }
    75% {
        transform: translate(-30px, 20px) scale(1.08);
    }
}

@keyframes about-orb-float-2 {
    0%, 100% {
        transform: translateY(-50%) translateX(0) scale(1);
    }
    33% {
        transform: translateY(-50%) translateX(-48px) scale(1.1);
    }
    66% {
        transform: translateY(-50%) translateX(38px) scale(1.14);
    }
}

@keyframes about-orb-float-3 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-38px, -28px) scale(1.1);
    }
    66% {
        transform: translate(32px, -42px) scale(1.14);
    }
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

/* Products Section */
.products-section {
    background-color: var(--dark-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

/* Avoid 3+1 layout: use 2 columns on medium+ screens so we get 2+2 (or 2+1), never 3+1 */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.product-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

a.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

a.product-card:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    border-color: var(--yellow);
}

.product-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card h3 {
    font-family: 'Funnel Display', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin: 1.5rem 1.5rem 1rem;
}

.product-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-family: 'Funnel Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--yellow);
    color: var(--black);
}

.btn-primary:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--yellow);
    border-color: var(--yellow);
}

.btn-secondary:hover {
    background-color: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border-top: 2px solid var(--yellow);
    border-bottom: 2px solid var(--yellow);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Funnel Display', sans-serif;
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Info Section */
.info-section {
    position: relative;
    background-color: var(--dark-gray);
    overflow: hidden;
}

.info-bg-anim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 215, 0, 0.08) 25%,
        rgba(255, 215, 0, 0.18) 50%,
        rgba(255, 215, 0, 0.08) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: info-aurora 8s ease-in-out infinite;
}

@keyframes info-aurora {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.info-section .container {
    position: relative;
    z-index: 1;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.info-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(45, 45, 45, 0.8));
    z-index: 0;
}

.info-card > * {
    position: relative;
    z-index: 1;
}

.info-card:nth-child(1) {
    background-image: url('/static/Images/food-8504111_1280.jpg');
}

.info-card:nth-child(2) {
    background-image: url('/static/Images/burger-8578288_1280.jpg');
}

.info-card:nth-child(3) {
    background-image: url('/static/Images/hamburger-8009728_1280.jpg');
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.2);
    border-color: var(--yellow);
}

.info-card:hover .info-link {
    gap: 1rem;
    color: var(--white);
}

.info-card:hover .info-link i {
    transform: translateX(5px);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--yellow);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-family: 'Funnel Display', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--yellow);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease, color 0.3s ease;
}

.info-link i {
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .products-grid,
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .about-text p {
        font-size: 1rem;
    }
}
