/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #ddd;
    background-color: #050505;
    overflow-x: hidden; /* Prevents any horizontal scrolling */
}

/* Header & Navigation */
header {
    background-color: #0a0a0a;
    color: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #1a1a1a;
    flex-wrap: wrap;
    gap: 15px;
}

.logo img {
    max-width: 100%;
    height: auto;
}

.header-phone a {
    color: #00ffff;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header-phone a:hover {
    color: #ff007f;
    text-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap; /* Allows buttons to wrap on very narrow screens */
}

.availability-btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff007f, #7928ca);
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.availability-btn:hover {
    background: linear-gradient(45deg, #ff1493, #8a2be2);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.6);
    transform: translateY(-1px);
}

.social-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-1px);
}

.fb-img-btn {
    height: 42px; /* Matches the paypal button height */
    width: auto;
}

.paypal-img-btn {
    height: 42px; /* Matches the approximate height of the other button */
    width: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.paypal-img-btn:hover {
    transform: translateY(-1px);
}

.burger-btn {
    display: none;
    background: #111;
    border: 1px solid #333;
    color: #00ffff;
    font-size: 1.8rem;
    cursor: pointer;
    border-radius: 4px;
    padding: 2px 15px;
    transition: all 0.3s ease;
}

.burger-btn:hover {
    color: #ff007f;
    border-color: #ff007f;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

@media (max-width: 1050px) {
    header {
        justify-content: center;
        flex-direction: column;
        padding: 1rem;
    }
    .header-actions {
        justify-content: center;
    }
    .header-phone a {
        font-size: 1.2rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #111;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #333;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 85vh; /* Stops the modal from pushing past the bottom of the screen */
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 20px rgba(0, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

#availabilityModal .modal-content {
    max-width: 450px;
}

@keyframes discoLighting {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 0, 127, 0.15), rgba(0, 255, 255, 0.15), rgba(121, 40, 202, 0.15), rgba(255, 255, 0, 0.15));
    background-size: 400% 400%;
    animation: discoLighting 10s ease infinite;
    pointer-events: none;
    z-index: 0;
}

.modal-content::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.2) 0%, rgba(255, 0, 127, 0.05) 30%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: sweepingSpotlight 12s ease-in-out infinite;
    mix-blend-mode: screen;
}

@keyframes sweepingSpotlight {
    0% { transform: translate(-25%, -25%); }
    33% { transform: translate(25%, -10%); }
    66% { transform: translate(10%, 25%); }
    100% { transform: translate(-25%, -25%); }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 10;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover,
.close-modal:focus {
    color: #ff007f;
}

/* Modal Form Styling */
.modal-header,
.modal-body,
.modal-form {
    position: relative;
    z-index: 1;
    overflow-y: auto; /* Allows long text to scroll inside the modal */
    padding-right: 10px;
}

/* Custom slick scrollbar for modals */
.modal-body::-webkit-scrollbar,
.modal-form::-webkit-scrollbar {
    width: 4px;
}

.modal-body::-webkit-scrollbar-thumb,
.modal-form::-webkit-scrollbar-thumb {
    background: #00ffff;
    border-radius: 4px;
}

.modal-header {
    flex-shrink: 0;
    padding-right: 35px; /* Creates a safe zone for the absolute close button */
}

.modal-header h2 {
    margin-top: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    margin-bottom: 5px;
}

.modal-header p {
    color: #aaa;
    margin-bottom: 20px;
}

.modal-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.modal-form label {
    display: block;
    margin-bottom: 8px;
    color: #00ffff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-form input[type="date"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 4px;
    background-color: #050505;
    color: #fff;
    font-size: 1.1rem;
    color-scheme: dark;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-form input[type="date"]:focus {
    border-color: #ff007f;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
    outline: none;
}

.full-width {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

.main-nav {
    background: linear-gradient(to right, #050505, #151515, #050505);
    padding: 1rem 0;
    border-bottom: 1px solid #222;
}

.main-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

.main-nav ul li {
    display: inline;
    margin: 0 20px;
}

.main-nav ul li a {
    color: #ddd;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.main-nav ul li a:hover {
    color: #00ffff; /* Neon cyan */
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: linear-gradient(90deg, #ff007f, #00ffff);
    transition: width 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%);
}

.main-nav ul li a:hover::after {
    width: 100%;
}

/* Footer */
footer {
    background-color: #0a0a0a;
    margin-top: 40px;
    border-top: 1px solid #1a1a1a;
    color: #777;
    padding: 20px 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1;
}

.footer-left {
    text-align: left;
}

.footer-center {
    text-align: center;
}

.footer-right {
    text-align: right;
}

.ccard-img {
    max-height: 35px;
    width: auto;
}

.footer-link {
    color: #00ffff;
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.footer-link:hover {
    color: #ff007f;
    text-shadow: 0 0 8px rgba(255, 0, 127, 0.5);
}

.footer-copyright {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #1a1a1a;
    font-size: 0.85rem;
    color: #555;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }
    .footer-left,
    .footer-right,
    .footer-center {
        text-align: center;
    }
    .burger-btn {
        display: block;
    }
    .main-nav {
        padding: 0;
    }
    .main-nav ul {
        display: none;
        flex-direction: column;
        padding: 1rem 0;
        background-color: #0d0d0d;
    }
    .main-nav ul.show-nav {
        display: flex;
    }
    .main-nav ul li {
        display: block;
        margin: 12px 0;
        font-size: 1.1rem;
    }
}