/* ==========================================================================
   CSS VARIABLES & ROOTS
   ========================================================================== */
:root {
    /* Brand Colors */
    --bg-dark: #0E1116;
    --bg-darker: #080a0d;
    --bg-card: rgba(255, 255, 255, 0.03);

    --accent-yellow: #FFC107;
    --accent-yellow-glow: rgba(255, 193, 7, 0.4);
    --accent-yellow-hover: #ffaa00;

    --text-white: #FFFFFF;
    --text-gray: #6B6B6B;
    --text-light-gray: #888888;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-gray);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.text-accent {
    color: var(--accent-yellow);
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.w-100 {
    width: 100%;
}

/* Section Globals */
.section {
    padding: 100px 0;
}

.dark-bg {
    background-color: var(--bg-darker);
}

.section-title {
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.title-line {
    height: 4px;
    width: 60px;
    background: var(--accent-yellow);
    margin: 0;
    border-radius: 2px;
}

.section-title.text-center .title-line {
    margin: 0 auto;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--accent-yellow);
    color: var(--bg-dark);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.btn-primary:hover {
    background-color: var(--accent-yellow-hover);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 1px solid var(--text-gray);
}

.btn-secondary:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background-color: rgba(14, 17, 22, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 2px;
}

.logo-ex {
    color: var(--accent-yellow);
    font-size: 1.3em;
    font-weight: 800;
    letter-spacing: -4px;
    margin-right: 15px;
    position: relative;
    display: inline-block;
    line-height: 1;
}

.logo-text {
    letter-spacing: 4px;
    color: var(--text-white);
    font-weight: 800;
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.loader-brand-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    animation: loaderPulse 1.5s infinite;
}

@keyframes loaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.9);
        opacity: 0.7;
    }
}

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

.nav-links a {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-yellow);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.85rem;
}

.menu-toggle {
    display: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    background-image: url('../images/hero.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Fallback gradient if image not loaded */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1c1c1c 0%, #0E1116 100%);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(14, 17, 22, 0.9) 0%, rgba(14, 17, 22, 0.6) 50%, rgba(14, 17, 22, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-light-gray);
    margin-bottom: 40px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

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

.glow-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-yellow), transparent);
    z-index: 2;
    opacity: 0.5;
}

/* Initial hidden state for GSAP */
.animate-up {
    opacity: 0;
    transform: translateY(30px);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.2rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   EQUIPMENT SECTION
   ========================================================================== */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.equipment-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.equipment-card:hover {
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 193, 7, 0.1);
    transform: translateY(-5px);
}

.card-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 -40px 40px -20px var(--bg-darker);
}

.equipment-card:hover .card-img {
    transform: scale(1.05);
    transition: transform 0.5s ease;
}

.card-img-wrapper {
    overflow: hidden;
}

.card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: var(--bg-darker);
    position: relative;
    z-index: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.card-content p {
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pricing-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: var(--text-white);
}

.pricing-info i {
    color: var(--accent-yellow);
    margin-right: 5px;
}

.card-btn {
    width: 100%;
}

/* ==========================================================================
   PRICING SECTION
   ========================================================================== */
.pricing-tiers {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-tier {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 50px 40px;
    flex: 1;
    min-width: 300px;
    max-width: 350px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-tier:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.premium-tier {
    border-color: rgba(255, 193, 7, 0.3);
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 193, 7, 0.02);
}

.premium-tier:hover {
    border-color: var(--accent-yellow);
}

.tier-icon {
    font-size: 3.5rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
}

.pricing-tier h3 {
    font-size: 2rem;
    margin-bottom: 5px;
}

.tagline {
    color: var(--text-light-gray);
    margin-bottom: 30px;
    font-style: italic;
}

.savings-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: var(--bg-dark);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.tier-benefits {
    text-align: left;
}

.tier-benefits li {
    margin-bottom: 15px;
    color: var(--text-white);
    display: flex;
    align-items: center;
}

.tier-benefits i {
    color: var(--accent-yellow);
    margin-right: 15px;
}

/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.why-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.why-block i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    margin-bottom: 20px;
    transition: var(--transition);
}

.why-block:hover i {
    transform: scale(1.1);
    text-shadow: 0 0 15px var(--accent-yellow-glow);
}

.why-block h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.why-block p {
    color: var(--text-gray);
}

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.gallery-item {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 17, 22, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--accent-yellow);
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-info>p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: rgba(255, 193, 7, 0.1);
    color: var(--accent-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 20px;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-item p {
    color: var(--text-light-gray);
}

.contact-form {
    background: var(--bg-card);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    background: rgba(14, 17, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    padding-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand .logo {
    margin-bottom: 10px;
}

.footer-brand .tagline {
    color: var(--accent-yellow);
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.footer-desc {
    max-width: 300px;
}

.footer h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.footer-links ul li {
    margin-bottom: 15px;
}

.footer-links ul li a {
    color: var(--text-gray);
}

.footer-links ul li a:hover {
    color: var(--accent-yellow);
    padding-left: 5px;
}

.footer-links i {
    font-size: 0.8rem;
    margin-right: 10px;
    color: var(--accent-yellow);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-white);
}

.social-icons a:hover {
    background: var(--accent-yellow);
    color: var(--bg-dark);
    transform: translateY(-3px);
}

.footer-bottom {
    background: #050608;
    padding: 25px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    /* Base WhatsApp green just in case, but user wants YELLOW */
    background-color: var(--accent-yellow);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 4px 20px rgba(255, 193, 7, 0.5);
    z-index: 1000;
    text-decoration: none;
}

.floating-whatsapp::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--accent-yellow);
    border-radius: 50%;
    opacity: 0;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.7);
}

/* ==========================================================================
   LOADING SCREEN
   ========================================================================== */
.loader-wrapper {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-yellow);
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: pulse 1.5s infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.loader-progress {
    width: 0%;
    height: 100%;
    background: var(--accent-yellow);
    animation: load 2s ease forwards;
}

@keyframes load {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .pricing-tiers {
        flex-direction: column;
        align-items: center;
    }

    .premium-tier {
        transform: none;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons {
        flex-direction: column;
    }
}