/* --------------------------------------------------------------------------
   Deep Dark Tech CSS Theme - UX/UI Optimized
   -------------------------------------------------------------------------- */
:root {
    --bg-color: #0d0e12;
    --card-bg: #161821;
    --card-bg-hover: #1e212d;
    --primary: #00f2fe;
    --secondary: #7f00ff;
    --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #7f00ff 100%);
    --text-color: #f5f6f9;
    --text-muted: #8a8f9e;
    --white: #ffffff;
    --success: #00e676;
    --danger: #ff1744;
}

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

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

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

.max-width-md {
    max-width: 800px;
}

.text-center { text-align: center; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

/* Headers & Navigation */
header {
    background-color: rgba(13, 14, 18, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 35px;
    width: 35px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s ease;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--bg-color);
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 254, 0.5);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-block {
    display: block;
    width: 100%;
}

.btn-sm {
    padding: 6px 15px;
    font-size: 0.85rem;
}

.btn-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Section Common */
.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 50px;
    font-weight: 700;
}

/* Features Block */
.features {
    padding: 80px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.2);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Studios Preview Grid */
.studios-preview {
    padding: 80px 0;
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.studio-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.studio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.studio-info {
    padding: 25px;
}

.studio-info h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.studio-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background-color: rgba(22, 24, 33, 0.3);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
}

.price-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    text-align: center;
}

.price-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.03);
}

.price-card.popular .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--bg-color);
    padding: 4px 15px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.price-card .price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 30px;
}

.price-card .price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.price-card ul {
    list-style: none;
    margin-bottom: 35px;
    padding: 0;
}

.price-card ul li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.testimonial-card .quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--primary);
}

/* Booking & Lead Form Section */
.booking-section {
    padding: 80px 0;
    background-color: rgba(22, 24, 33, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.booking-text h2 {
    font-size: 2.25rem;
    margin-bottom: 25px;
}

.booking-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.booking-text a {
    color: var(--primary);
}

.booking-form-container {
    background-color: var(--card-bg);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.booking-form .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.booking-form label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.booking-form input, .booking-form select {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 12px;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.booking-form input:focus, .booking-form select:focus {
    border-color: var(--primary);
}

.checkbox-group {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 4px;
}

.checkbox-group label {
    font-size: 0.8rem;
    text-transform: none;
    line-height: 1.4;
}

.error-message {
    background-color: rgba(255, 23, 68, 0.1);
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* About Us and Detail Pages */
.page-header {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-content {
    padding: 80px 0;
}

.rounded-img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Services Detail Page */
.services-list {
    padding: 80px 0;
}

.service-detail-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail-item.alt-row {
    grid-template-columns: 1.2fr 1fr;
}

.service-detail-item.alt-row .service-img {
    order: 2;
}

.service-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
}

.service-text h2 {
    font-size: 1.75rem;
    margin-bottom: 20px;
}

.equipment-list {
    margin: 25px 0;
    background-color: rgba(255,255,255,0.02);
    padding: 20px;
    border-radius: 5px;
}

.equipment-list ul {
    margin-top: 10px;
    padding-left: 20px;
}

/* FAQ Accordion */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 5px;
    overflow: hidden;
}

.faq-item-title {
    padding: 22px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item-title h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-icon::before {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon::before {
    content: '−';
}

.faq-item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-item-content {
    max-height: 1000px;
    padding: 0 30px 30px 30px;
    transition: max-height 0.3s ease-in-out;
}

/* Contact Details */
.contact-details-section {
    padding: 80px 0;
}

.contact-info-block h2 {
    margin-bottom: 25px;
}

.contact-info-block p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.contact-info-block a {
    color: var(--primary);
    text-decoration: none;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

/* Thank you Page */
.thank-you-page {
    padding: 120px 0;
}

.success-icon {
    font-size: 5rem;
    color: var(--success);
    margin-bottom: 20px;
}

/* Legal Pages */
.legal-page {
    padding: 80px 0;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.legal-page h3 {
    font-size: 1.25rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.legal-page a {
    color: var(--primary);
}

/* Footer styles */
footer {
    background-color: #08090b;
    padding: 70px 0 40px 0;
    border-top: 1px solid rgba(255,255,255,0.03);
    font-size: 0.9rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 15px;
}

.brand-subtext {
    font-weight: 600;
    color: var(--white) !important;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4, .footer-legal h4 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 15px;
}

.footer-links a, .footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--primary);
}

.copyright {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.2) !important;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100px;
    left: 20px;
    right: 20px;
    background-color: var(--card-bg);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 15px 25px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    z-index: 10000;
    transition: bottom 0.5s ease;
}

.cookie-banner.visible {
    bottom: 20px;
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cookie-banner a {
    color: var(--primary);
}

/* Responsive styles */
@media (max-width: 991px) {
    .features-grid, .studios-grid, .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .pricing-grid {
        max-width: 450px;
        margin: 0 auto;
    }
    .price-card.popular {
        transform: none;
    }
    .booking-wrapper, .grid-2col, .service-detail-item, .service-detail-item.alt-row, .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .service-detail-item.alt-row .service-img {
        order: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--bg-color);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding: 20px;
        text-align: center;
    }
    .nav-menu.active {
        display: flex;
    }
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -7px);
    }
    .hero-content h1 {
        font-size: 2.25rem;
    }
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}