/* Root Variables */
:root {
    /* Primary Colors */
    --color-black: #000000;
    --color-blue-dark: #005f99;
    --color-blue-mid: #008ecf;
    --color-blue-light: #00c4ff;
    --color-gold: #ffcc00;

    /* Neutral Colors */
    --color-gray-dark: #4a4a4a;
    --color-gray-light: #e0e0e0;
    --color-white: #ffffff;

    /* Typography */
    --font-family-main: 'Roboto', sans-serif;

    /* Spacing */
    --spacing-small: 0.5rem;
    --spacing-medium: 1rem;
    --spacing-large: 2rem;

    /* Borders */
    --border-radius: 8px;

    /* Shadows */
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 6px 15px rgba(0, 0, 0, 0.2);

    /* Gradient */
    --gradient: linear-gradient(90deg, var(--color-blue-dark), var(--color-blue-light));
}

/* General Reset */
body {
    font-family: var(--font-family-main);
    background-color: white;
    color: var(--color-gray-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Navigation Styles */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    color: black;
    padding: var(--spacing-small) var(--spacing-medium);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .logo {
    display: flex;
    align-items: center;
}

nav .logo img {
    height: 40px;
    margin-right: var(--spacing-small);
}

nav i {
  margin-right: 30px;
}

nav ul {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-right: var(--spacing-medium);
}

nav ul li:last-child {
    margin-right: 0;
}

nav ul li a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--color-gold);
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cart-icon:hover {
    transform: scale(1.1);
}

/* Marquee Styles */
.marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    background: var(--color-blue-dark);
    color: var(--color-white);
    font-size: 1.2rem;
    padding: 10px 0;
    display: flex;
    align-items: center;
    box-shadow: var(--box-shadow);
}

.marquee-content {
    display: inline-block;
    animation: marquee-right 15s linear infinite;
}

@keyframes marquee-right {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Header Styles */
.header {
    background: url('https://spinwinlb.com.prime-tech.site/images/spintowin.png') no-repeat center/cover;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--color-white);
}

.header .content {
    background: rgba(27, 27, 27, 0.6);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    width: 90%;
    max-width: 800px;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: var(--spacing-small);
}

.header p {
    font-size: 1.2rem;
    line-height: 1.8;
}
@media (max-width: 768px) {
    .header {
        padding: var(--spacing-medium);
        width:92%;
    }

    .header .content {
        padding: 1.5rem;
        width: 90%;
    }

    .header h1 {
        font-size: 2.5rem;
    }

    .header p {
        font-size: 1rem;
    }
}
/* Card Styles */
.card {
    background: var(--color-white);
    text-align: center;
    padding: var(--spacing-medium);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.card img {
    width: 100%;
    max-width: 150px;
    margin-bottom: var(--spacing-medium);
    border-radius: var(--border-radius);
}

.card h1 {
    font-size: 1.8rem;
    color: var(--color-blue-dark);
    margin-bottom: var(--spacing-small);
    font-weight: bold;
}

.card p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.5;
}

.card-text .arabic {
    font-family: 'Amiri', serif;
    direction: rtl;
    font-weight: bold;
    color: var(--color-blue-dark);
}

.card-text .english {
    font-family: var(--font-family-main);
    font-weight: bold;
    color: var(--color-blue-mid);
}

/* Tickets Container */
.tickets-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-medium);
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
    justify-content: center;
}

.ticket-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: var(--spacing-medium);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 300px;
    text-align: center;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.ticket-card img {
    max-width: 100%;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-small);
}

.ticket-card h1 {
    font-size: 1.5rem;
    color: var(--color-blue-dark);
    margin-bottom: var(--spacing-small);
}

.ticket-card p {
    font-size: 1rem;
    color: var(--color-gray-dark);
    margin-bottom: var(--spacing-medium);
}

.ticket-card .buy-button {
    background: var(--gradient);
    color: var(--color-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.ticket-card .buy-button:hover {
    background: var(--color-blue-mid);
    transform: scale(1.05);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366; /* WhatsApp Green */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--box-shadow);
    text-decoration: none;
    font-size: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000; /* Ensure it stays above other elements */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--box-shadow-hover);
}
/* Most How Section */
.most-how {
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 100%;
    margin: 2rem auto;
}

.most-how h2 {
    font-size: 2rem;
    color: var(--color-blue-dark);
    text-align: center;
    margin-bottom: var(--spacing-large);
}

/* Accordion Styles */
.accordion {
    border: 1px solid var(--color-gray-light);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--color-gray-light);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
    color: var(--color-blue-dark);
    font-size: 1.2rem;
    font-weight: bold;
    padding: var(--spacing-medium);
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
}

.accordion-header:hover {
    background-color: var(--color-blue-light);
    color: var(--color-white);
}

.accordion-content {
    display: none;
    background-color: var(--color-gray-light);
    padding: var(--spacing-medium);
    font-size: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.accordion-content p {
    margin: 0;
}

.icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Footer Styles */
.footer {
    background-color: var(--color-blue-dark); /* Dark Blue Background */
    color: var(--color-gold); /* Gold Text */
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    position: relative; /* Use fixed if always at the bottom */
    bottom: 0;
    width: 97.1%;
    border-top: 3px solid var(--color-blue-light); /* Light Blue Top Border */
}

.footer p {
    margin: 0;
    word-wrap: break-word;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        width: 94.0%;
        font-size: 0.8rem; /* Slightly smaller text for medium screens */
        padding: 0.8rem;
    }
}


/* Form Styles */
form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Compact spacing */
}

form label {
    font-size: 0.85rem; /* Smaller labels */
    color: var(--color-gray-dark);
    font-weight: 500;
    margin-bottom: 0.2rem;
}

form input {
    font-size: 0.85rem;
    padding: 0.5rem; /* Smaller padding */
    border-radius: 6px;
    border: 1px solid var(--color-gray-light);
    width: 100%;
    box-sizing: border-box;
}

form input:focus {
    outline: none;
    border-color: var(--color-blue-light);
    box-shadow: 0 0 4px var(--color-blue-light);
}

/* Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quantity-controls button {
    width: 28px;
    height: 28px;
    background: var(--color-blue-dark);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem; /* Smaller font size */
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.quantity-controls button:hover {
    background: var(--color-blue-light);
    transform: scale(1.1);
}

.quantity-controls input {
    width: 45px;
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid var(--color-gray-light);
    border-radius: 6px;
}

/* Total Price Section */
form p {
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--color-gray-dark);
    margin: 0;
    text-align: center;
}

form p span {
    color: var(--color-blue-dark);
}

/* Submit Button */
form button {
    font-size: 0.85rem;
    padding: 0.6rem; /* Smaller padding */
    border-radius: 6px;
    border: none;
    background: var(--color-blue-dark);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

form button:hover {
    background: var(--color-blue-light);
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        padding: 0.7rem;
        max-width: 95%; /* Reduce width for tablets */
    }

    form input,
    form button {
        font-size: 0.8rem;
        padding: 0.5rem;
    }

    .quantity-controls button {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .quantity-controls input {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 0.6rem;
        max-width: 90%; /* Adjust modal width for very small screens */
    }

    form label {
        font-size: 0.75rem;
    }

    form input,
    form button {
        font-size: 0.75rem;
        padding: 0.4rem;
    }

    .quantity-controls button {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
    }

    .quantity-controls input {
        width: 35px;
        font-size: 0.8rem;
    }
}


/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate.visible {
    animation: fadeIn 0.5s ease forwards;
}
/* Media Query for screens 760px or smaller */
@media (max-width: 760px) {
    .nav-home {
        display: none; /* Hide the Home item */
    }

    .nav-links {
        display: flex; /* Ensure other items are still visible */
        justify-content: space-around; /* Space out About and Services */
    }
}

/* Loader styles */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Background color for the loader */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it stays above other content */
}

/* Spinner styles */
.spinner {
    border: 8px solid #f3f3f3; /* Light gray border */
    border-top: 8px solid #3498db; /* Blue border */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

/* Spinner animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


