/* Restaurant-specific styles - inherits from home.css */
/* Additional restaurant-specific customizations can be added here */
/* Additional restaurant-specific customizations can be added here */

/* Restaurant Hero Section - Enhanced styling */
.hero-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a1a1a 50%, var(--bg-dark) 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 78vh;
    max-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(239, 68, 68, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.01em;
}

.hero-btn.primary {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hero-btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.hero-btn.secondary {
    background: transparent;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Restaurant-specific feature enhancements */
.feature-card {
    text-align: center;
}

/* Center section headings */
.features-container h2 {
    text-align: center;
    width: 100%;
}

/* Restaurant CTA section enhancements */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(239, 68, 68, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Features Section */
.features-section {
    padding: 30px 20px;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.features-section li {
    list-style: none;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #f0f0f0, #f0f0f0);
    margin: 20px 0;
}

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

.features-container h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #1a1a1a;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

/* .features-container h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 4px;
    background: #1A65EB;
    border-radius: 2px;
} */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    perspective: 2000px;
    height: 260px;
    margin-bottom: 20px;
}

.card-inner {
    position: relative;
    width: 90%;
    height: 90%;
    text-align: center;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    cursor: default;
    margin: 0 auto;
}

.feature-card:hover .card-inner {
    transform: rotateY(180deg) scale(1.05);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    padding: 2rem;
    background: white;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: 2px solid transparent;
    background-clip: padding-box;
}

.card-front::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(26, 101, 235, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .card-front::before {
    opacity: 1;
}

.card-front img {
    width: 85px;
    height: 85px;
    object-fit: contain;
    transition: all 0.4s ease;
    filter: drop-shadow(0 6px 12px rgba(26, 101, 235, 0.2));
    animation: inventoryFloat 4s ease-in-out infinite;
}

/* SVG specific animations for restaurant */
.card-front img[alt="Kitchen Order Tickets"] {
    animation: inventoryFloat 4s ease-in-out infinite;
}

.card-front img[alt="Billing & Split Payments"] {
    animation: inventoryPulse 3s ease-in-out infinite;
}

.card-front img[alt="Daily Sales Summary & Reports"] {
    animation: inventoryGlow 2.5s ease-in-out infinite;
}

.card-front img[alt="Custom POS Layout"] {
    animation: inventorySlide 3.5s ease-in-out infinite;
}

.card-front img[alt="Printer Templates for Kitchen & Receipt"] {
    animation: inventoryBounce 2s ease-in-out infinite;
}

.card-front img[alt="Dashboard & Reports"] {
    animation: inventoryFloat 4s ease-in-out infinite;
}

.feature-card:hover .card-front img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(26, 101, 235, 0.3));
}

.card-front h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    transition: all 0.4s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .card-front h3 {
    color: #1A65EB;
    transform: translateY(-2px);
}

.card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(145deg, #1A65EB, #0d4bb3);
    color: white;
}

.card-back h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
    color: white;
}

.card-back p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-align: center;
    opacity: 0.95;
    margin: 0;
}

/* Stagger the restaurant card animations */
.feature-card:nth-child(1) .card-front img {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .card-front img {
    animation-delay: 0.5s;
}

.feature-card:nth-child(3) .card-front img {
    animation-delay: 1s;
}

.feature-card:nth-child(4) .card-front img {
    animation-delay: 0.2s;
}

.feature-card:nth-child(5) .card-front img {
    animation-delay: 0.7s;
}

.feature-card:nth-child(6) .card-front img {
    animation-delay: 1.2s;
}

/* Animations */
@keyframes inventoryFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes inventoryPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes inventoryGlow {

    0%,
    100% {
        filter: drop-shadow(0 6px 12px rgba(26, 101, 235, 0.2));
    }

    50% {
        filter: drop-shadow(0 6px 12px rgba(26, 101, 235, 0.4));
    }
}

@keyframes inventorySlide {

    0%,
    100% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(5px);
    }
}

@keyframes inventoryBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .features-container h2 {
        font-size: 2rem;
    }

    .features-container h2::after {
        width: 200px;
    }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .hero-image img {
        width: 350px;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 100px 20px 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .features-section {
        padding: 20px 10px;
    }

    .features-container h2 {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        height: 220px;
    }

    .card-front,
    .card-back {
        padding: 1.5rem;
    }

    .card-front img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        max-width: 80%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
        min-height: 70vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}