/* ===================================
   HAIL-X v3 - Custom Stylesheet
   Built from scratch for clean mobile menu
   =================================== */

/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* === HEADER === */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

/* === DESKTOP NAVIGATION === */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
    color: #ffff02;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s;
}

.social-link:hover {
    color: #ffff02;
}

/* === MOBILE MENU TOGGLE === */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10002;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === MOBILE MENU OVERLAY === */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === MOBILE MENU === */
.mobile-menu {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: calc(100% - 40px);
    max-width: 500px;
    background: rgba(26, 26, 26, 0.98);
    border: 1px solid rgba(255, 255, 2, 0.3);
    border-radius: 12px;
    padding: 30px 0;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 15px 30px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-link:hover {
    color: #ffff02;
    background: rgba(255, 255, 2, 0.1);
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1.25);
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    margin-bottom: 30px;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 2, 0.3));
}

.hero-title {
    font-size: 2.5rem;
    color: #ffff02;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(255, 255, 2, 0.5);
    margin-bottom: 10px;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 10px;
}

.hero-certified {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.hero-rental {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 20px;
    margin-bottom: 10px;
}

.hero-enterprise {
    max-width: 300px;
    width: 100%;
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 2, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 255, 2, 0.2);
}

/* === HERO FEATURE BOXES === */
.hero-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.feature-box:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 2, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255, 255, 2, 0.2);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 2, 0.2);
    border-radius: 50%;
    margin-bottom: 15px;
}

.feature-icon i {
    color: #ffff02;
    font-size: 1.5rem;
}

.feature-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

/* === SERVICES SECTION === */
.services {
    padding: 100px 0;
    position: relative;
    background-image: url('../img/srvcsbkg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.services .container {
    position: relative;
    z-index: 1;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-family: 'Ubuntu', sans-serif;
    margin-bottom: 15px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 35px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 2, 0.4);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 255, 2, 0.2);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 2.5rem;
    color: #ffff02;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-card p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-link {
    color: #ffff02;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
}

.service-link:hover {
    gap: 12px;
}

/* === ABOUT SECTION === */
.about {
    padding: 100px 0;
    background: #0a0a0a;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-text h2 {
    font-size: 2rem;
    font-family: 'Ubuntu', sans-serif;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.about-text p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-badge {
    background: rgba(255, 255, 2, 0.1);
    border-left: 4px solid #ffff02;
    padding: 15px 20px;
    border-radius: 4px;
    margin-top: 30px;
}

.about-badge i {
    color: #ffff02;
    margin-right: 10px;
}

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

.about-feature {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 35px 25px 25px 25px;
    box-shadow: 0 2px 20px rgba(255, 255, 2, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s;
}

.about-feature:hover {
    box-shadow: 0 8px 28px rgba(255, 255, 2, 0.15);
    transform: translateY(-5px) scale(1.03);
}

.about-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 2, 0.1);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(255, 255, 2, 0.1);
    transition: background 0.3s, color 0.3s;
}

.about-feature:hover .about-feature-icon {
    background: #ffff02;
}

.about-feature-icon i {
    font-size: 2rem;
    color: #ffff02;
    transition: color 0.3s;
}

.about-feature:hover .about-feature-icon i {
    color: #000000;
}

.about-feature h3 {
    font-size: 1.22rem;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    margin-bottom: 10px;
}

.about-feature p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
}

/* === CONTACT SECTION === */
.contact {
    padding: 100px 0;
    background: #000000;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card {
    background: #1a1a1a;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 255, 2, 0.08);
    border-color: rgba(255, 255, 2, 0.15);
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 2, 0.06);
    border-radius: 16px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    background: #ffff02;
    transform: scale(1.05);
}

.contact-icon i {
    font-size: 26px;
    color: #ffff02;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon i {
    color: #000000;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.5;
}

.contact-card a {
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #ffff02;
}

.contact-note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.contact-note:before {
    content: "";
    width: 6px;
    height: 6px;
    background: #ffff02;
    border-radius: 50%;
    display: inline-block;
}

/* === CONTACT FORM === */
.contact-form-wrapper {
    background: #1a1a1a;
    padding: 48px;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-header {
    margin-bottom: 36px;
}

.form-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(255, 255, 2, 0.08), rgba(255, 255, 2, 0.04));
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #ffff02;
    margin-bottom: 20px;
}

.form-badge i {
    font-size: 14px;
}

.form-header h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
}

.form-header p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    height: 58px;
    padding: 16px 20px;
    background: #1a1a1a;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #ffff02;
    background: #1a1a1a;
    box-shadow: 0 0 0 4px rgba(255, 255, 2, 0.06);
}

.contact-form input::placeholder,
.contact-form select::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px 12px;
    padding-right: 48px;
    cursor: pointer;
}

.contact-form textarea {
    height: auto;
    min-height: 140px;
    padding: 16px 20px;
    resize: none;
}

.btn-submit {
    width: 100%;
    background: #ffff02;
    color: #000000;
    border: none;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    justify-content: center;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(255, 255, 2, 0.2);
}

.btn-submit:hover {
    background: #e6e600;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 2, 0.3);
}

/* === FOOTER === */
.footer {
    background: #000000;
    border-top: 1px solid rgba(255, 255, 2, 0.2);
    padding: 40px 0;
}

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

.footer-logo {
    display: inline-block;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 80px;
    filter: drop-shadow(0 4px 12px rgba(255, 255, 2, 0.3));
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.yellow {
    color: #ffff02;
    text-shadow: 0 0 10px rgba(255, 255, 2, 0.4);
}

/* === BACK TO TOP BUTTON === */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 2, 0.2);
    border: 1px solid rgba(255, 255, 2, 0.4);
    border-radius: 50%;
    color: #ffff02;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(255, 255, 2, 0.3);
    transform: translateY(-5px);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hide desktop nav, show mobile toggle */
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-logo {
        max-width: 300px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrapper {
        padding: 30px 24px;
    }

    .form-header h2 {
        font-size: 26px;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-logo {
        max-width: 250px;
    }

    .contact-form-wrapper {
        padding: 24px 20px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }
}
