/*
  Aim Tech - B2B Esports & Rental
  Theme: Black (Dark Mode), Red, White
*/

:root {
    /* Colors */
    --color-black: #050505;
    --color-dark: #121212;
    --color-darker: #0a0a0a;
    --color-red: #e62020;
    /* Brand red from logo */
    --color-red-dark: #b31414;
    --color-white: #ffffff;
    --color-gray: #a0a0a0;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s ease-in-out;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.highlight {
    color: var(--color-red);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(230, 32, 32, 0.2);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 45px;
    width: auto;
}

.logo-fallback {
    display: flex;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-fallback .highlight {
    margin-left: 5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-red);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-red);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-btn span {
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    left: 0;
    transition: var(--transition-fast);
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 18px;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background-image: linear-gradient(to right, rgba(5, 5, 5, 0.9), rgba(5, 5, 5, 0.7)), url('https://images.unsplash.com/photo-1542751371-adc38448a05e?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--color-black) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards var(--transition-normal);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveals */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }
}

/* Sections Common */
.section {
    padding: 6rem 0;
}

.bg-darker {
    background-color: var(--color-darker);
}

.text-center {
    text-align: center;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--color-gray);
    font-size: 1.1rem;
}

.mt-2 {
    margin-top: 1.5rem;
}

.w-100 {
    width: 100%;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: #ccc;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li span {
    color: var(--color-red);
    font-weight: bold;
}

.about-image {
    position: relative;
}

.image-placeholder {
    height: 400px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #1a0505 100%);
    border: 1px solid rgba(230, 32, 32, 0.2);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/about-us.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.4;
    mix-blend-mode: luminosity;
    transition: var(--transition-normal);
}

.image-placeholder:hover::before {
    opacity: 0.6;
    transform: scale(1.05);
}

.glass-card {
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    transform: translateY(20px);
    opacity: 0.9;
}

.glass-card h4 {
    color: var(--color-red);
    margin-bottom: 0.5rem;
}

/* Cards Grid */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background-color: var(--color-dark);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(230, 32, 32, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* Event Cards */
.card-img {
    height: 200px;
    background-color: #222;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Generic placeholders for game backgrounds */
.fc26-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/fc26.jpg');
}

.efootball-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/efootball.jpg');
}

.gt-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/gt.jpg');
}

.tekken-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/tekken.jpg');
}

.mlbb-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/mlbb.jpg');
}

.pubg-bg {
    background-image: linear-gradient(to bottom, transparent, var(--color-dark)), url('../assets/pubg.jpg');
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--color-white);
}

.card-content p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Rental Cards */
.rental-card {
    padding: 2rem;
    text-align: center;
    background: linear-gradient(145deg, var(--color-dark) 0%, var(--color-black) 100%);
}

.rental-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rental-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.rental-card p {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Footer & Contact */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(230, 32, 32, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-details p {
    margin-bottom: 0.8rem;
    color: #ccc;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    transition: var(--transition-fast);
}

.social-links a svg {
    width: 20px;
    height: 20px;
}

.social-links a:hover {
    background: var(--color-red);
    border-color: var(--color-red);
    transform: translateY(-2px);
}

.footer-form {
    background-color: var(--color-dark);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-form h3 {
    margin-bottom: 1.5rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--color-black);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 4px;
    font-family: var(--font-main);
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-red);
    box-shadow: 0 0 0 2px rgba(230, 32, 32, 0.2);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* Reviews Carousel */
.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.carousel-overflow {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease-in-out;
}

.carousel-btn {
    background: var(--color-red);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.3s, background 0.3s;
}

.carousel-btn:hover {
    opacity: 1;
    background: var(--color-red-dark);
}

.prev-btn {
    left: -20px;
}

.next-btn {
    right: -20px;
}

.review-card {
    width: 350px;
    flex-shrink: 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(5, 5, 5, 1) 100%);
    border-left: 3px solid var(--color-red);
}

.review-card .stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.review-card p {
    color: #ccc;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    transition: transform 0.3s ease;
    background-color: #25d366;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

/* Responsive Extensions */
@media (max-width: 992px) {

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}