/* ========================================
   MENUPOLY MARKETING PAGE STYLES
   CSS VARIABLES - Material Design Colors
   ======================================== */
.testimonial-stars {
    color: #f5a623; /* gold */
    font-size: 20px;
    letter-spacing: 2px;
    line-height: 1;
    margin-bottom: 8px;
    /* make sure it uses a font that supports stars */
    font-family: Arial, Helvetica, sans-serif;
}

:root {
    /* Blue Grey */
    --blue-grey-50: #ECEFF1;
    --blue-grey-100: #CFD8DC;
    --blue-grey-500: #607D8B;
    --blue-grey-700: #455A64;
    --blue-grey-800: #37474F;
    --blue-grey-900: #263238;
    
    /* Orange */
    --orange-500: #FF9800;
    --orange-600: #FB8C00;
    --orange-700: #F57C00;
    
    /* Amber */
    --amber-500: #FFC107;
    --amber-600: #FFB300;
    
    /* Red */
    --red-a700: #D50000;
    
    /* Greys */
    --grey-100: #F5F5F5;
    --grey-200: #EEEEEE;
    --grey-300: #E0E0E0;
    --grey-400: #BDBDBD;
    --grey-600: #757575;
    --grey-700: #616161;
    --grey-800: #424242;
    
    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-xxl: 64px;
    
    /* Typography */
    --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ========================================
   GLOBAL RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--grey-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    outline: none;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.navbar-logo {
    font-size: 28px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar.scrolled .navbar-logo {
    color: var(--blue-grey-900);
}

.navbar-cta {
    background: var(--orange-500);
    color: white;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.navbar-cta:hover {
    background: var(--orange-600);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(38, 50, 56, 0.7), rgba(38, 50, 56, 0.4));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-headline {
    font-size: 56px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subheadline {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Container - NEW */
.hero-cta-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 80px;
    margin-top: var(--spacing-xl);
}

.hero-cta-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-cta-label {
    color: white;
    font-size: 15px;
    font-weight: 500;
    margin: 0;
    text-align: center;
    max-width: 280px;
    line-height: 1.3;
}

.hero-cta {
    background: var(--red-a700);
    color: white;
    padding: 18px 48px;
    border-radius: 28px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
}

.hero-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 24px rgba(213, 0, 0, 0.4);
}

.hero-cta-link {
    color: #FFD740;
    font-size: 18px;
    font-weight: 600;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.hero-cta-link:hover {
    color: #FFC400;
    text-decoration: underline;
}

/* ========================================
   SIGNUP MODAL/OVERLAY
   ======================================== */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop.active {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

.modal.active {
    display: block;
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--grey-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue-grey-900);
}

.modal-close {
    background: transparent;
    color: var(--grey-600);
    font-size: 28px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--grey-100);
    color: var(--red-a700);
}

.modal-body {
    padding: var(--spacing-lg);
}

.form-row {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-sm);
    flex: 1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--grey-800);
    font-size: 14px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid var(--grey-300);
    border-radius: 8px;
    font-size: 16px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--orange-500);
    box-shadow: 0 0 0 3px rgba(255, 152, 0, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 90px;
}

.form-submit {
    width: 100%;
    background: var(--red-a700);
    color: white;
    padding: 16px;
    border-radius: 28px;
    font-size: 18px;
    font-weight: 600;
    margin-top: var(--spacing-md);
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: #B71C1C;
    transform: scale(1.02);
}

.form-submit:disabled {
    background: var(--grey-400);
    cursor: not-allowed;
    transform: none;
}

.form-privacy {
    text-align: center;
    font-size: 13px;
    color: var(--grey-600);
    margin-top: var(--spacing-sm);
}

.form-success,
.form-error {
    padding: var(--spacing-sm);
    border-radius: 8px;
    margin-bottom: var(--spacing-sm);
    display: none;
}

.form-success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #4CAF50;
}

.form-error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #EF5350;
}

.form-success.active,
.form-error.active {
    display: block;
}

/* ========================================
   PRODUCT SECTIONS
   ======================================== */
.products {
    background: white;
}

.product-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--spacing-xxl) var(--spacing-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-xxl);
}

.product-section:nth-child(even) {
    background: #FAFAFA;
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    min-width: 0;
}

.product-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

.product-image img:hover {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.product-content {
    flex: 1;
    min-width: 0;
}

.product-badge {
    display: inline-block;
    color: var(--orange-600);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.product-headline {
    font-size: 36px;
    font-weight: 700;
    color: var(--blue-grey-900);
    line-height: 1.3;
    margin-bottom: var(--spacing-md);
}

.product-description {
    font-size: 18px;
    color: var(--grey-700);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.product-features {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.product-features li {
    padding: 8px 0;
    font-size: 16px;
    color: var(--grey-800);
    display: flex;
    align-items: center;
}

.product-features li::before {
    content: '✓';
    color: var(--orange-500);
    font-weight: 700;
    font-size: 20px;
    margin-right: 12px;
}

.product-cta {
    background: var(--orange-500);
    color: white;
    padding: 14px 36px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.product-cta:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 140, 0, 0.3);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    background: var(--blue-grey-50);
    padding: var(--spacing-xxl) var(--spacing-md);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.testimonials-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--blue-grey-900);
    margin-bottom: var(--spacing-sm);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.testimonial-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: 12px;
    border: 1px solid var(--grey-200);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.testimonial-stars {
    color: var(--amber-500);
    font-size: 20px;
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: var(--grey-800);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    font-weight: 600;
    color: var(--blue-grey-800);
    font-size: 16px;
}

.testimonial-restaurant {
    font-size: 14px;
    color: var(--grey-600);
}

.testimonials-cta {
    text-align: center;
}

.testimonials-link {
    color: var(--orange-500);
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.testimonials-link:hover {
    color: var(--orange-700);
    text-decoration: underline;
}

.testimonials-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.testimonials-link:hover::after {
    transform: translateX(4px);
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--orange-500);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--orange-600);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 152, 0, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-1px);
}

/* ========================================
   FOOTER - 3 COLUMN LAYOUT
   ======================================== */
.footer {
    background: var(--blue-grey-900);
    color: rgba(255, 255, 255, 0.87);
    padding: var(--spacing-xxl) var(--spacing-md);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links,
.footer-socials {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-socials li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-socials a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover,
.footer-socials a:hover {
    color: var(--orange-500);
}

.footer-socials a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* Footer Company Info Column */
.footer-company-info {
    text-align: left;
}

.footer-company-info .footer-logo {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-company-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-company-details p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

.footer-company-details a {
    color: var(--orange-500);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-company-details a:hover {
    color: var(--amber-500);
}

.footer-company-details .footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Tablets */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 var(--spacing-lg);
    }
    
    .product-section {
        padding: var(--spacing-xl) var(--spacing-md);
        gap: var(--spacing-xl);
    }
    
    .product-headline {
        font-size: 32px;
    }
    
    .hero-headline {
        font-size: 42px;
    }

    .hero-cta-container {
        gap: 50px;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .navbar {
        height: 60px;
        padding: 0 12px 0 8px;
        justify-content: space-between;
        gap: 12px;
    }
    
    .navbar-logo {
        font-size: 20px;
        flex-shrink: 0;
    }
    
    .navbar-logo img {
        max-width: 140px;
        height: auto;
    }
    
    .navbar-cta {
        padding: 8px 16px;
        font-size: 13px;
        border-radius: 20px;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .hero-headline {
        font-size: 32px;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subheadline {
        font-size: 16px;
        margin-bottom: var(--spacing-md);
    }

    .hero-cta-container {
        flex-direction: column;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-md);
    }

    .hero-cta-option {
        width: 100%;
        gap: 8px;
    }

    .hero-cta-label {
        font-size: 14px;
        max-width: 100%;
    }
    
    .hero-cta {
        padding: 14px 32px;
        font-size: 16px;
    }

    .hero-cta-link {
        font-size: 16px;
    }
    
    .product-section,
    .product-section:nth-child(even) {
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-md);
        gap: var(--spacing-md);
    }
    
    .product-headline {
        font-size: 28px;
    }
    
    .product-description {
        font-size: 16px;
    }
    
    .testimonials-title {
        font-size: 32px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .modal {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: var(--spacing-md);
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-column {
        text-align: left;
    }

    .footer-company-info {
        text-align: left;
    }

    .scroll-to-top {
        bottom: 20px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .navbar-cta {
        padding: 6px 12px;
        font-size: 12px;
    }

    .hero-headline {
        font-size: 28px;
    }
    
    .product-headline {
        font-size: 24px;
    }
    
    .testimonials-title {
        font-size: 28px;
    }
}
