/* Landing Page Styles for Cars & Coffee Luxury Event */

:root {
    --nav-height: 90px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505; /* Deep black for luxury feel */
    background-attachment: fixed;
    display: block; /* Override flex from style.css */
    padding: 0;
    margin: 0;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.nav-logo img {
    height: 55px;
    width: auto;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

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

.nav-cta {
    background: var(--btn-gradient);
    padding: 10px 25px;
    border-radius: 50px;
    color: #fff !important;
    box-shadow: 0 4px 15px var(--accent-glow);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}

.nav-cta:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px var(--accent-glow);
    filter: brightness(1.15);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    background: #050505; /* Black fallback while dynamic image loads */
    background-size: cover;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30vh;
    background: linear-gradient(to top, #050505, transparent);
}

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

.hero-title {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: 5px;
    background: linear-gradient(135deg, #fff 0%, #c9a050 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 24px);
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

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

.btn-primary {
    background: var(--btn-gradient);
    color: #fff;
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-outline {
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    padding: 18px 40px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-outline:hover {
    transform: translateY(-5px);
}

/* Sections */
section {
    padding: 100px 5%;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.about-image {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Experience Stats */
.experience-stats {
    display: flex;
    justify-content: space-around;
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-top: 50px;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
}

/* Registration Section */
.registration-section {
    background: linear-gradient(to bottom, #050505, #0a0c0f);
}

.registration-container {
    margin: 0 auto; /* Center it */
    animation: none; /* Already visible */
}

/* Footer */
.site-footer {
    padding: 60px 5% 30px;
    background: #000;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 30px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    margin: 0 15px;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    font-size: 12px;
    color: #444;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Social Community Section */
.social-community {
    background: #080808;
    position: relative;
}

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

.social-counter-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.social-counter-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.social-counter-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 160, 80, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.social-counter-card:hover::before {
    opacity: 1;
}

.social-icon {
    width: 60px;
    height: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
    transition: transform 0.4s;
}

.social-counter-card:hover .social-icon {
    transform: scale(1.2) rotate(10deg);
}

.counter-info .count {
    display: block;
    font-size: 42px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.counter-info .label {
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
}

.live-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(226, 85, 85, 0.1);
    color: #e25555;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-indicator::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #e25555;
    border-radius: 50%;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 85, 85, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(226, 85, 85, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(226, 85, 85, 0); }
}

/* Responsive */
/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

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

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        letter-spacing: 2px;
    }
}

@media (max-width: 992px) {
    section {
        padding: 80px 5%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 70px;
    }

    .site-header {
        padding: 0 20px;
    }

    .nav-logo img {
        height: 40px;
    }

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: right 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 1000;
        display: flex; /* Show for animation */
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        align-items: center;
    }

    .btn-primary, .btn-outline {
        padding: 15px 30px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .experience-stats {
        flex-direction: column;
        gap: 40px;
        padding: 40px 0;
    }

    .stat-number {
        font-size: 36px;
    }

    .social-counters-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-links a {
        margin: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    
    .section-title h2 {
        font-size: 24px;
    }

    .page-header-simple {
        padding: 100px 5% 30px !important;
    }
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px rgba(201, 160, 80, 0.3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 25px rgba(201, 160, 80, 0.5);
    background: #fff;
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}
