/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: white;
    background: #000;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ANIMATED BACKGROUND GLOW */
body::before {
    content: "";
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,0,0,0.15), transparent);
    top: -200px;
    left: -200px;
    z-index: -1;
    animation: moveGlow 16s ease-in-out infinite alternate;
}

body::after {
    content: "";
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,208,0,0.1), transparent);
    bottom: -200px;
    right: -150px;
    z-index: -1;
    animation: moveGlow2 20s ease-in-out infinite alternate;
}

@keyframes moveGlow {
    0% { transform: translate(0,0); }
    100% { transform: translate(300px, 200px); }
}

@keyframes moveGlow2 {
    0% { transform: translate(0,0); }
    100% { transform: translate(-250px, -180px); }
}

/* NAVBAR */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,0,0.2);
    z-index: 999;
}

/* LOGO GLOW */
.logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd000;
    text-shadow: 0 0 10px #ffd000, 0 0 20px red;
    animation: logoGlow 3s infinite alternate;
    text-decoration: none;
}

@keyframes logoGlow {
    from { text-shadow: 0 0 5px #ffd000; }
    to { text-shadow: 0 0 20px red, 0 0 30px #ffd000; }
}

/* NAV LINKS */
.navbar ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.navbar a {
    color: white;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

.navbar a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, red, yellow);
    transition: 0.4s;
}

.navbar a:hover,
.navbar a:focus-visible {
    color: #ffd000;
}

.navbar a:hover::after,
.navbar a:focus-visible::after {
    width: 100%;
}

/* MOBILE MENU TOGGLE (hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.menu-toggle span {
    width: 26px;
    height: 3px;
    background: #ffd000;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero {
    background: url("background.png") center/cover no-repeat;
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 110px 20px 50px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.7), black);
}

.overlay {
    position: relative;
    padding: 45px 50px;
    max-width: 800px;
    backdrop-filter: blur(8px);
    border-radius: 25px;
    animation: fadeIn 1.5s ease-in-out;
    text-align: center;
}

/* TEXT ANIMATION */
.hero h1 {
    font-size: 60px;
    color: #ffd000;
    text-shadow: 0 0 20px #ffd000;
    animation: textPop 1.5s ease;
    min-height: 1.2em;
}

@keyframes textPop {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* STATS ROW */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.stat {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,208,0,0.25);
    border-radius: 16px;
    padding: 14px 20px;
    min-width: 110px;
    transition: 0.3s;
}

.stat:hover {
    background: rgba(255,208,0,0.1);
    transform: translateY(-4px);
}

.stat-number {
    display: block;
    font-size: 30px;
    font-weight: bold;
    color: #ffd000;
    text-shadow: 0 0 12px rgba(255,208,0,0.6);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    margin-top: 4px;
    letter-spacing: 0.3px;
}

/* TICKER */
.ticker {
    background: linear-gradient(90deg, #1a0000, #000, #1a0000);
    border-top: 1px solid rgba(255,208,0,0.3);
    border-bottom: 1px solid rgba(255,208,0,0.3);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}

.ticker-track {
    display: inline-flex;
    gap: 50px;
    animation: tickerScroll 22s linear infinite;
    width: max-content;
}

.ticker-track span {
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    color: #ffd000;
    text-shadow: 0 0 8px rgba(255,208,0,0.4);
}

@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* BUTTON */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    background: linear-gradient(45deg, red, #ffd000);
    color: black;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 20px red;
    position: relative;
    overflow: hidden;
    margin: 20px 0;
}

.btn::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: rgba(255,255,255,0.3);
    transition: 0.4s;
}

.btn:hover::before,
.btn:focus-visible::before {
    left: 100%;
}

.btn:hover,
.btn:focus-visible {
    transform: scale(1.1);
    box-shadow: 0 0 40px red;
}

/* SECTIONS */
.section {
    padding: 75px 60px;
    text-align: center;
}

.section h2 {
    scroll-margin-top: 90px;
}

/* DARK SECTION */
.dark {
    background: linear-gradient(180deg, #0a0a0a, #000);
}

/* CARDS GRID */
.cards {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

/* CARD */
.card {
    background: rgba(20,20,20,0.9);
    padding: 30px;
    border-radius: 20px;
    transition: 0.4s;
    border: 1px solid rgba(255,255,0,0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,0,0,0.2), transparent);
    top: -50%;
    left: -50%;
    opacity: 0;
    transition: 0.5s;
    pointer-events: none;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 0 40px rgba(255,0,0,0.5);
}

/* HEADINGS */
h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #ffd000;
    text-shadow: 0 0 10px #ffd000;
}

/* LISTS */
ul {
    margin-top: 10px;
    text-align: left;
}

li {
    margin-bottom: 5px;
}

/* VALUES LIST (About section) */
.values-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    margin-top: 30px;
    list-style: none;
    padding: 0;
}

.values-list li {
    background: rgba(255,208,0,0.08);
    border: 1px solid rgba(255,208,0,0.35);
    color: #ffd000;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: 30px;
    margin-bottom: 0;
    text-shadow: 0 0 8px rgba(255,208,0,0.3);
    transition: 0.3s;
}

.values-list li:hover {
    background: rgba(255,208,0,0.18);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255,208,0,0.3);
}

/* GALLERY SLIDESHOW (continuous scrolling filmstrip) */
.slideshow {
    margin-top: 40px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(to right, transparent, black 6%, black 94%, transparent);
}

.slideshow-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: slideshowScroll 45s linear infinite;
}

.slideshow:hover .slideshow-track {
    animation-play-state: paused;
}

.slide {
    flex: 0 0 auto;
    width: 280px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255,0,0,0.2);
    border: 1px solid rgba(255,208,0,0.15);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.slide:hover img {
    transform: scale(1.08);
}

@keyframes slideshowScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* CALL BUTTON */
.call-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    font-size: 28px;
    background: linear-gradient(45deg, red, #ffd000);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: black;
    text-decoration: none;
    box-shadow: 0 0 25px red;
    animation: pulse 2s infinite;
    z-index: 998;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(red, #ffd000);
    border-radius: 10px;
}

/* FADE IN */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SCROLL REVEAL (class toggled by JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* TEXT */
.highlight-text {
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    line-height: 1.6;
    max-width: 800px;
    margin: 20px auto;
    text-shadow: 0 0 10px rgba(255,0,0,0.4);
}

p {
    line-height: 1.8;
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 900px;
    margin: 15px auto;
    letter-spacing: 0.3px;
}

.section p {
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

.card p,
.card li {
    color: rgba(255,255,255,0.85);
}

.card h3 {
    color: #ffd000;
}

/* CONTACT DETAILS */
.contact-details {
    font-size: 20px;
    margin: 10px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 900px;
}

.contact-details a {
    color: #ffd000;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px 20px;
    background: #000;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .navbar ul {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 260px;
        background: rgba(0,0,0,0.97);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        transition: right 0.4s ease;
    }

    .navbar ul.open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hero {
        min-height: auto;
        padding: 100px 20px 40px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .overlay {
        padding: 30px 20px;
    }

    .section {
        padding: 55px 20px;
    }

    h2 {
        font-size: 30px;
    }

    .slide {
        width: 200px;
        height: 150px;
    }

    .slideshow-track {
        gap: 14px;
        animation-duration: 30s;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}