/* Global Styles */
:root {
    --primary: #c62828;
    --primary-dark: #8e0000;
    --primary-light: #ff5f52;
    --secondary: #424242;
    --light: #f5f5f5;
    --dark: #212121;
    --accent: #ffd600;
    
    /* Text colors */
    --text-color: var(--dark);
    --text-color-light: var(--light);
    --link-color: var(--primary);
    --link-hover-color: var(--primary-dark);
    
    /* Background colors */
    --bg-color: var(--light);
    --bg-color-alt: white;
    --card-bg: white;
    --header-bg: white;
    --footer-bg: var(--dark);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--primary);
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-color);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--link-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--link-hover-color);
}

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

section {
    padding: 60px 0;
}

/* Global transition for theme switching */
body, a, button, input, textarea, select, 
.nav-link, .feature-box, .menu-category, .contact-form, 
.menu-item, .team-member, .order-step, .order-content, 
.order-item, .order-summary, .notification {
    transition-property: background-color, color, border-color, box-shadow;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Button Styles */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--light);
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: var(--primary-dark);
    color: var(--light);
}

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

.btn-secondary:hover {
    background-color: #2c2c2c;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background-color: var(--primary);
    color: white;
    padding: 8px 10px;
    z-index: 1001;
    transition: top 0.3s ease;
}

.skip-link:focus {
    top: 0;
}

/* Header & Navigation */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
}

.main-nav {
    display: flex;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary);
    transition: all 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
    left: 0;
}

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

.nav-link.highlight {
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    margin-left: 10px;
}

.nav-link.highlight:hover {
    background-color: var(--primary-dark);
}

.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Header Fixes */
header {
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color 0.3s ease;
    width: 100%;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    width: 100%;
    max-width: 1200px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 50px;
    max-width: 100%;
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
}

.nav-link {
    display: block;
    padding: 10px 15px;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link.highlight {
    background-color: var(--primary);
    color: white;
    border-radius: 4px;
    margin-left: 10px;
    padding: 10px 20px;
}

/* Footer Fixes */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color-light);
    padding: 60px 0 20px;
    transition: background-color 0.3s ease;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-info {
    margin-bottom: 20px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
    display: block;
}

.footer-info address {
    font-style: normal;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-nav h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: #ddd;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

/* Footer text visibility fixes */
.footer-social h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-info, 
.footer-social, 
.copyright {
    color: white;
}

.copyright p {
    color: white;
}

/* Fix for dark mode footer links */
[data-theme="dark"] .footer-info a {
    color: #ddd;
}

/* Increase font size of navigation text only */
header .main-nav ul li a.nav-link {
    font-size: 1.2rem;
    display: inline-block;
    text-align: center;
}

/* Maintain button text size */
header .btn.btn-white.btn-rounded.nav-link.highlight {
    font-size: 1.2rem;
}

/* Only if needed - add a bit more space in the header container */
header .container {
    max-width: 1300px; /* Slightly wider than default if needed */
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('images/restaurant-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 15px;
    color: var(--primary);
    font-size: 2.5rem;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-description {
    font-weight: 300;
    line-height: 1.6;
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-title p {
    font-weight: 300;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Stats Section */
.stats-section {
    background-color: var(--primary);
    color: white;
    padding: 60px 0;
    margin: 60px 0;
}

.stats-box {
    text-align: center;
    padding: 20px;
}

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stats-label {
    font-size: 1.1rem;
    font-weight: 300;
}

/* Pricing Section */
.pricing-section {
    background-color: #f5f8fc;
    padding: 60px 0;
    margin: 60px 0;
}

.pricing-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured {
    border: 2px solid var(--primary);
}

.pricing-card.featured:before {
    content: "Most Popular";
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary);
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
}

.pricing-button {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background-color: #444;
    transform: scale(1.05);
}

.price-tag {
    display: block;
    margin-top: 10px;
    font-weight: 800;
    color: #c62828;
    font-size: 1.2em;
}
/* Testimonials */
.testimonial-section {
    padding: 60px 0;
}

.testimonial-card {
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card:before {
    content: "“";
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 5rem;
    color: #ddd;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.9rem;
    color: #666;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.benefits-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* CTA Box */
.cta-box {
    background-color: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0;
}

.cta-box h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-box .btn {
    background-color: white;
    color: var(--primary);
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-box .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: #444;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color-light);
    padding: 60px 0 20px;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-info address {
    font-style: normal;
    line-height: 1.8;
}

.footer-info a {
    color: var(--text-color-light);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: #ddd;
    display: block;
    padding: 5px 0;
    transition: color 0.3s ease;
}

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

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    /* Initially hidden */
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#back-to-top:hover {
    background-color: var(--primary-dark);
}

#back-to-top:focus {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

#back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

/* Custom form controls */
.custom-checkbox,
.custom-radio {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
}

.custom-checkbox input,
.custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: var(--bg-color-alt);
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.custom-radio .checkmark {
    border-radius: 50%;
}

.custom-checkbox:hover input ~ .checkmark,
.custom-radio:hover input ~ .checkmark {
    border-color: var(--primary);
}

.custom-checkbox input:checked ~ .checkmark,
.custom-radio input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after,
.custom-radio input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-radio .checkmark:after {
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: white;
}

/* Form validation styles */
input.invalid,
textarea.invalid,
select.invalid {
    border-color: #F44336;
    box-shadow: 0 0 0 2px rgba(244, 67, 54, 0.2);
}

.error-message {
    color: #F44336;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Notifications */
.notifications-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    width: 300px;
}

.notification {
    background-color: var(--card-bg);
    color: var(--text-color);
    border-left: 4px solid var(--primary);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 10px;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.notification-success {
    border-left-color: #4CAF50;
}

.notification-error {
    border-left-color: #F44336;
}

.notification-warning {
    border-left-color: #FF9800;
}

.notification-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.7;
}

.notification-close:hover {
    opacity: 1;
}

/* Dark theme variables */
[data-theme="dark"] {
    --primary: #ff5f52;
    --primary-dark: #c62828;
    --primary-light: #ff867c;
    --secondary: #616161;
    --light: #212121;
    --dark: #f5f5f5;
    --accent: #ffea00;
    
    /* Text colors */
    --text-color: #e0e0e0;
    --text-color-light: #121212;
    --link-color: var(--primary);
    --link-hover-color: var(--primary-light);
    
    /* Background colors */
    --bg-color: #121212;
    --bg-color-alt: #1e1e1e;
    --card-bg: #2d2d2d;
    --header-bg: #1a1a1a;
    --footer-bg: #0a0a0a;
}

[data-theme="dark"] .checkmark {
    border-color: #555;
}

[data-theme="dark"] .summary-header {
    border-bottom-color: #444;
}

[data-theme="dark"] .cart-item {
    border-bottom-color: #444;
}

[data-theme="dark"] .summary-total {
    border-top-color: #444;
}

[data-theme="dark"] .error-message {
    color: #ff8a80;
}

[data-theme="dark"] .quantity-btn {
    background-color: #444;
    color: #eee;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--header-bg);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        z-index: 99;
    }
    
    .main-nav.show {
        display: flex;
    }
    
    .nav-link {
        padding: 15px 20px;
    }
    
    .nav-link.highlight {
        margin: 10px 20px;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .about-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .lightbox-nav.prev {
        left: 10px;
    }
    
    .lightbox-nav.next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    section {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .theme-toggle,
    #back-to-top {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .notification {
        width: 250px;
        padding: 10px;
    }
}

/* Print styles */
@media print {
    header, 
    footer, 
    .theme-toggle,
    #back-to-top,
    .hero-buttons,
    .nav-link.highlight,
    .gallery-caption {
        display: none !important;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .menu-item,
    .feature-box,
    .team-member {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    h1, h2, h3 {
        color: black;
    }
}


/* Mobile Responsive Fixes */
@media (max-width: 768px) {
    .main-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--header-bg);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 0;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        z-index: 99;
    }
    
    .main-nav.show {
        display: flex;
    }
    
    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        padding: 15px 20px;
        width: 100%;
    }
    
    .nav-link.highlight {
        margin: 5px 20px 15px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-info address {
        margin: 0 auto;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Ensure container is properly sized */
footer .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Clear any potential float issues */
footer::after {
    content: "";
    display: table;
    clear: both;
}

/* Remove any potential margin or padding on parent elements */
main {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Ensure body doesn't have margins causing layout issues */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

/* Ensure footer placeholder takes full width */
#footer-placeholder {
    width: 100%;
    max-width: 100%;
    display: block;
}
/* Benefits Section Styling */
.benefits-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.benefits-section::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(198, 40, 40, 0.05);
    border-radius: 50%;
    transform: translate(100px, -150px);
    z-index: 1;
}

.benefits-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(198, 40, 40, 0.05);
    border-radius: 50%;
    transform: translate(-100px, 100px);
    z-index: 1;
}

.section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 60px;
}

.title-separator {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.title-separator span {
    height: 4px;
    width: 60px;
    background-color: #c62828;
    border-radius: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 15px;
}

.benefit-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.benefit-content {
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.benefit-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(198, 40, 40, 0.1);
    line-height: 1;
    z-index: 1;
}

.benefit-text {
    flex: 1;
    min-width: 300px;
    padding: 40px;
    position: relative;
}

.benefit-text h3 {
    color: #c62828;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
}

.benefit-image {
    flex: 1;
    min-width: 300px;
    position: relative;
    overflow: hidden;
}

.benefit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-shape {
    position: absolute;
    background-color: rgba(198, 40, 40, 0.1);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    z-index: -1;
}

.benefit-card:nth-child(odd) .image-shape {
    bottom: -100px;
    right: -100px;
}

.benefit-card:nth-child(even) .image-shape {
    top: -100px;
    left: -100px;
}

.cta-link {
    display: inline-block;
    color: #c62828;
    font-weight: 600;
    margin-top: 20px;
    position: relative;
    transition: color 0.3s ease;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #c62828;
    transition: width 0.3s ease;
}

.cta-link:hover {
    color: #8e0000;
    text-decoration: none;
}

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

.cta-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

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

.font-italic {
    font-style: italic;
}

/* Responsive adjustments */
@media (min-width: 992px) {
    .benefit-card.reverse .benefit-content {
        flex-direction: row-reverse;
    }
}

@media (max-width: 991px) {
    .benefit-content {
        flex-direction: column;
    }
    
    .benefit-text, .benefit-image {
        width: 100%;
    }
    
    .benefit-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .benefits-section {
        padding: 60px 0;
    }
    
    .benefit-number {
        font-size: 3rem;
    }
    
    .benefit-text h3 {
        font-size: 1.5rem;
    }
    
    .benefit-text {
        padding: 30px;
    }
}

/* FAQ Accordion Styles */
.faq-section {
    background-color: #f8f8f8;
}

.faq-container {
    max-width: 900px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    font-weight: 600;
}

.faq-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #f0f0f0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-toggle i {
    color: #c62828;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    background-color: #c62828;
}

.faq-item.active .faq-toggle i {
    color: white;
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px;
}

@media (max-width: 767px) {
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}
/* Video hero section styles */
.hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.hero-content {
    position: relative;
    z-index: 1; /* Ensures content displays above video */
    color: white;
    text-align: center;
}

/* Video section styles */
.video-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.video-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.video-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 248, 248, 0.85); /* Light overlay that matches original #f8f8f8 with transparency */
}

.video-section .container {
    position: relative;
    z-index: 1; /* Ensures content displays above video */
}

.video-section .section-title h2 {
    color: var(--primary-dark); /* Using your existing color variable */
}

.video-section .section-title p {
    color: var(--text-color); /* Using your existing color variable */
}

/* Add responsive adjustments if needed */
@media (max-width: 768px) {
    .video-section {
        padding: 40px 0;
    }
}
/* POS Integrations Video Section */
.pos-integrations-section {
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.pos-integrations-section .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.pos-integrations-section .video-background video {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.pos-integrations-section .pos-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(248, 248, 248, 0.92); /* Light overlay that matches the original #f8f8f8 with high opacity */
}

.pos-integrations-section .container {
    position: relative;
    z-index: 1; /* Ensures content displays above video */
}

/* Integration cards styling */
.pos-integrations-section .integration-card {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pos-integrations-section .integration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.pos-integrations-section .integration-logo {
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.pos-integrations-section .integration-logo img {
    max-height: 100%;
}

.pos-integrations-section h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.pos-integrations-section p {
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .pos-integrations-section {
        padding: 40px 0;
    }
    
    .pos-integrations-section .integration-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}