:root {
    --primary: #00e5ff;
    --primary-hover: #00b4cc;
    --secondary: #ff00ff;
    --bg-dark: #09090b;
    --bg-glass: rgba(20, 20, 25, 0.8);
    --text-main: #ffffff;
    --text-muted: #a0a0ab;
    --border-glass: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
}

/* Base Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    z-index: 1000;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1;
}

.main-nav {
    display: flex;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links a {
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: 0.3s;
}

@media (max-width: 992px) {
    .main-nav {
        display: none; /* Add JS class to toggle 'display: flex' */
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-glass);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-glass);
        padding: 20px 0;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .header-actions .btn {
        display: none;
    }
}

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 80px 0;
    width: 100%;
}

.section-header {
    margin-bottom: 50px;
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
    border-radius: 2px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.btn-primary:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.6);
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

/* === RESPONSIVE LAYOUTS === */
.centered-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .centered-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .centered-layout > * {
        flex: 1;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Hero Section */
.hero-section {
    min-height: calc(100vh - var(--header-height));
    position: relative;
    background: url('images/image-6a2c3df2cec66.png') no-repeat center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
}

.hero-bg-image {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(9,9,11,0.3) 50%, var(--bg-dark) 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

@media (min-width: 768px) {
    .hero-content {
        align-items: flex-start;
        text-align: right;
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0,229,255,0.5);
    margin: 0;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-main);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

/* Glass Section */
.glass-section {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
}

/* Grid Layouts */
.showroom-grid,
.services-grid {
    display: grid;
    grid-template-columns: 1fr; 
    gap: 30px;
    width: 100%;
}

@media (min-width: 768px) {
    .showroom-grid,
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    width: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.1);
}

.showroom-card {
    align-items: center;
    text-align: center;
}

.service-card {
    text-align: right;
    align-items: flex-start;
}

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card-image-box {
    margin-bottom: 20px;
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
}

.card-image-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.glass-card:hover .card-image-box img {
    transform: scale(1.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* Text Blocks */
.about-text, .split-text, .club-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: right;
    align-items: flex-start;
}

.split-text h2 {
    font-size: 2.5rem;
}

.split-text .accent-line {
    margin: 15px 0;
}

.about-text h3 {
    color: var(--primary);
    font-size: 1.8rem;
}

.about-image-wrapper, .split-image-wrapper, .club-image-box {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.about-image-wrapper img, .split-image-wrapper img, .club-image-box img {
    width: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--border-glass);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.about-image-wrapper:hover img, .split-image-wrapper:hover img, .club-image-box:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.25);
    border-color: rgba(0, 229, 255, 0.4);
}

/* Form Styling */
.contact-form-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    text-align: right;
}

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

.form-group label {
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.form-submit-btn {
    width: 100%;
}

/* Legal Pages Styling */
.legal-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 15px;
    padding: 40px;
    margin: 0 auto;
    max-width: 900px;
    text-align: right;
}

.legal-content h3 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.legal-content h3:first-child {
    margin-top: 0;
}

.legal-content p, .legal-content ul {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1.1rem;
}

.legal-content ul {
    padding-right: 20px;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 10px;
}

/* Footer */
.main-footer {
    background-color: #050506;
    border-top: 1px solid var(--border-glass);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col h3 {
    color: #fff;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links, .footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a, .footer-contact a {
    color: var(--text-muted);
    transition: color 0.3s;
}

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

.footer-links a:hover {
    padding-right: 5px;
}

.footer-contact li {
    color: var(--text-muted);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border-glass);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}