/* Fuzion Donuts Brand Colors */
:root {
    --primary-color: #E85A2A;
    --secondary-color: #FFFFFF;
    --tertiary-color: #1A1A1A;
    --fourth-color: #666666;
    --heading-font: 'Quicksand', sans-serif;
    --paragraph-font: 'Open Sans', sans-serif;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--paragraph-font);
    line-height: 1.6;
    color: var(--tertiary-color);
    background-color: var(--secondary-color);
}

/* Heading styles - Quicksand Bold */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
}

/* Paragraph and text styles - Open Sans */
p {
    font-family: var(--paragraph-font);
}

/* Header styles */
header {
    position: relative;
    width: 100%;
    background-color: var(--tertiary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Navigation styles */
.navbar {
    padding: 1rem 2rem;
    background-color: var(--tertiary-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--tertiary-color);
}

.logo-btn {
    display: inline-block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo-btn:hover {
    transform: scale(1.05);
}

.logo {
    height: 80px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

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

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

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

.order-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Main content styles */
main {
    min-height: 60vh;
    padding: 0;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--tertiary-color) 70%, var(--primary-color) 100%);
    color: var(--secondary-color);
    padding: 3rem 2rem 1rem;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    transition: transform 0.3s ease;
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-order-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    width: 75%;
    align-self: center;
}

.footer-order-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* Catering Page Specific Styles */
.catering-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--secondary-color);
    min-height: calc(100vh - 112px); /* 112px is estimated header height */
    padding: 0;
}

.hero-content {
    max-width: 50%;
    color: var(--tertiary-color);
    padding-left: 5%;
}

.hero-title {
    font-family: var(--heading-font);
    font-size: 4.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-image {
    width: 45%;
    height: 100%;
    max-width: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features styles */
.features {
    padding: 4rem 2rem;
    background-color: var(--secondary-color);
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 6rem auto;
    gap: 4rem;
    width: 100%;
}

.feature-content {
    flex: 1;
    max-width: 500px;
    min-width: 0;
    text-align: left;
}

.feature-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--tertiary-color);
    margin: 0;
}

.feature-image {
    flex: 1;
    max-width: 500px;
    min-width: 0; /* Prevents flex item from overflowing */
    display: flex;
    justify-content: center;
    background: transparent;
    border: none;
    outline: none;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    transition: transform 0.3s ease;
    background: transparent;
    border: none;
    outline: none;
}

.feature-image img:hover {
    transform: scale(1.05);
}

/* Responsive design for features */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column !important;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    /* Ensure consistent order on mobile: content first (title, text, button), then image */
    .feature-content {
        max-width: 100%;
        text-align: center;
        order: 1;
    }
    
    .feature-image {
        order: 2;
    }
    
    .feature-title {
        font-size: 2rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 3rem 1rem;
    }
    
    .feature-title {
        font-size: 1.8rem;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
        padding-top: 0.75rem;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    .logo-btn {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        top: 0.5rem;
    }
    
    .logo-btn:hover {
        transform: translateX(-50%) scale(1.05);
    }
    
    .nav-links {
        display: none; /* Hide nav links on mobile */
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--tertiary-color);
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .order-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .logo {
        height: 60px;
    }
    
    .footer-container {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .footer-logo-img {
        height: 100px;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem;
    }
    
    .logo {
        height: 50px;
    }
    
    .order-btn {
        font-size: 12px;
        padding: 8px 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .footer-links a,
    .social-link {
        font-size: 0.9rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

.learn-more-btn {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1rem;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    text-decoration: none;
}

.feature-content {
    flex: 1;
    max-width: 500px;
    min-width: 0;
    text-align: left;
}

@media (max-width: 768px) {
    .feature-content {
        max-width: 100%;
        text-align: center;
    }
}

/* Order Modal Styles */
.order-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.order-modal-overlay.active {
    display: flex;
}

.order-modal {
    background-color: var(--secondary-color);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.3s ease;
}

.order-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--fourth-color);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.order-modal-close:hover {
    color: var(--primary-color);
}

.order-modal-step {
    text-align: center;
}

.order-modal-title {
    font-family: var(--heading-font);
    font-size: 1.75rem;
    color: var(--tertiary-color);
    margin-bottom: 2rem;
    font-weight: 700;
}

.order-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.order-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border: none;
    border-radius: 12px;
    font-family: var(--heading-font);
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.3);
}

.order-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(232, 90, 42, 0.4);
}

.order-option-icon {
    font-size: 1.5rem;
}

.order-option-text {
    font-size: 1.25rem;
}

.order-helper-text {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--fourth-color);
    margin: 0;
}

.order-address-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-address-input {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.order-address-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Google Maps Autocomplete dropdown - ensure it appears above modal */
.pac-container {
    z-index: 10001 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.pac-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-top: 1px solid #e0e0e0;
}

.pac-item:first-child {
    border-top: none;
}

.pac-item:hover,
.pac-item-selected {
    background-color: #f5f5f5;
}

.pac-icon {
    margin-right: 0.5rem;
}

.order-location-btn {
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-location-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.order-continue-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border: none;
    border-radius: 8px;
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.order-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.3);
}

.order-error-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fee;
    border: 1px solid #fcc;
    border-radius: 8px;
    color: #c33;
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
}

.pickup-stores-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
}

.pickup-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
}

.pickup-loading p {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    color: var(--fourth-color);
    margin-top: 1rem;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.pickup-error {
    font-family: var(--paragraph-font);
    font-size: 1rem;
    color: var(--fourth-color);
    text-align: center;
    padding: 2rem;
}

.pickup-location-prompt {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(232, 90, 42, 0.05), rgba(255, 184, 0, 0.05));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
}

.pickup-location-text {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--tertiary-color);
    margin-bottom: 1rem;
}

.pickup-store-item {
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.pickup-store-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(232, 90, 42, 0.2);
}

.pickup-store-item.closest {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(232, 90, 42, 0.05), rgba(255, 184, 0, 0.05));
}

.pickup-store-name {
    font-family: var(--heading-font);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tertiary-color);
    margin-bottom: 0.5rem;
}

.pickup-store-name .closest-badge {
    display: inline-block;
    margin-left: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--primary-color), #FFB800);
    color: var(--secondary-color);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pickup-store-address {
    font-family: var(--paragraph-font);
    font-size: 0.95rem;
    color: var(--fourth-color);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.pickup-store-action {
    font-family: var(--paragraph-font);
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.5rem;
}

.pickup-store-distance {
    font-family: var(--paragraph-font);
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
}

.order-out-of-range-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.order-secondary-btn {
    padding: 1rem 2rem;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-family: var(--paragraph-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.order-secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .order-modal {
        padding: 2rem 1.5rem;
        max-width: 95%;
    }

    .order-modal-title {
        font-size: 1.5rem;
    }

    .order-option-btn {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
    }

    .order-option-icon {
        font-size: 1.25rem;
    }
} 