/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Properties */
:root {
    --matrix-green: #00ff00;
    --cyber-dark: #0a0a0a;
    --cyber-gray: #1a1a1a;
    --neon-green: #39ff14;
    --neon-blue: #00ffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Loading Screen */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cyber-dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    color: var(--matrix-green);
    font-family: monospace;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    animation: pulse-green 2s infinite;
}

.loader-progress {
    color: var(--matrix-green);
    font-family: monospace;
    font-size: 0.875rem;
    animation: blink 1s infinite;
}

/* Matrix Background */
.matrix-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: transparent;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--matrix-green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease;
    mix-blend-mode: difference;
}

.cursor.expand {
    transform: scale(2);
    border-color: var(--neon-blue);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(128, 128, 128, 0.3);
    padding: 1rem 1.5rem;
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo a {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-logo a:hover {
    color: #0099ff;
}

.desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links, .nav-auth {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-links a, .nav-auth a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-auth a:hover {
    color: var(--matrix-green);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-trigger {
    cursor: pointer;
    color: #ffffff;
    transition: color 0.3s ease;
}

.dropdown-trigger:hover {
    color: var(--matrix-green);
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: rgba(0, 255, 0, 0.1);
    color: var(--matrix-green);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--matrix-green);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1.5rem;
}

.mobile-menu-content a {
    color: #ffffff;
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu-content a:hover {
    color: var(--matrix-green);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(2.5rem);
    animation: fadeInUp 1s ease-out 2.5s forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: bold;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
    color: #cccccc;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--matrix-green), var(--neon-green));
    color: #000000;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.5);
    background: linear-gradient(45deg, var(--neon-green), var(--matrix-green));
}

.cta-secondary {
    background: var(--matrix-green);
    color: #000000;
}

.cta-secondary:hover {
    background: #00cc00;
}

/* Sections */
.services-section, .about-section, .booking-section, .contact-section {
    padding: 5rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 3rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--matrix-green);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.2);
}

.service-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

.service-description {
    color: #cccccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.service-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-option {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-option:hover {
    border-color: var(--matrix-green);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.service-option.selected {
    background: var(--matrix-green);
    color: #000000;
}

.service-option.selected:hover {
    background: #00cc00;
}

/* Booking Section */
.booking-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.booking-form-container h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.booking-form-container p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: #cccccc;
    font-size: 1.125rem;
    line-height: 1.8;
}

.contact-info h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.contact-info p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.contact-form-container h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.contact-form-container p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    color: #cccccc;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Forms */
.booking-form-container, .contact-form-container {
    background: rgba(17, 17, 17, 0.7);
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 1rem;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    color: #cccccc;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(128, 128, 128, 0.5);
    border: 1px solid #555555;
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--matrix-green);
    box-shadow: 0 0 0 1px rgba(0, 255, 0, 0.5);
}

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

/* Contact Section */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-subtitle {
    font-size: 1.25rem;
    color: var(--matrix-green);
    margin-bottom: 1rem;
}

.contact-intro p {
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: #cccccc;
}

.social-links h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(128, 128, 128, 0.3);
    border-radius: 50%;
    color: var(--matrix-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--matrix-green);
    color: #000000;
    transform: scale(1.1);
}

.contact-form-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(128, 128, 128, 0.3);
    padding: 2rem 1rem;
    background: rgba(0, 0, 0, 0.5);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-logo {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--matrix-green);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--matrix-green);
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    text-align: center;
    color: #cccccc;
}

.footer-tagline {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-green {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px var(--matrix-green);
    }
    to {
        box-shadow: 0 0 30px var(--matrix-green), 0 0 40px var(--matrix-green);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Utility Classes */
.hidden {
    display: none;
}

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

.mb-4 {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 1rem;
}

/* Glass Effect */
.glass-card {
    backdrop-filter: blur(10px);
    --webkit-backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

/* Typing Animation */
.typing-animation {
    animation: blink 1s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--cyber-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--matrix-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-green);
}