/* Custom CSS Variables & Tokens */
:root {
    --primary: #ff7a00; /* Vibrant Pure Orange */
    --primary-glow: rgba(255, 122, 0, 0.4);
    --bg-black: #ffffff;
    --bg-dark: #f4f4f5;
    --bg-card: #f4f4f5;
    --bg-card-hover: #e4e4e7;
    --text-white: #09090b;
    --text-gray: #27272a;
    --text-muted: #71717a;
    --border: #e4e4e7;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Theme Variables override */
body.dark-theme {
    --bg-black: #000000;
    --bg-dark: #09090b;
    --bg-card: #18181b;
    --bg-card-hover: #27272a;
    --text-white: #ffffff;
    --text-gray: #a1a1aa;
    --border: #27272a;
}

body.dark-theme .hero-overlay {
    background: radial-gradient(circle at center, rgba(9, 9, 11, 0.4) 0%, rgba(0, 0, 0, 0.95) 80%);
}

body.dark-theme .main-header.scrolled {
    background-color: rgba(9, 9, 11, 0.85);
}

/* Theme Toggle Switch */
.theme-switch {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.switch-track {
    width: 60px;
    height: 30px;
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border);
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    transition: var(--transition);
}

.switch-thumb {
    width: 22px;
    height: 22px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    right: 3px;
    top: 3px;
    transition: var(--transition);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.switch-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: var(--transition);
    z-index: 1;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Active states in default light mode */
.sun-icon {
    color: var(--primary); /* Active orange in light mode */
}

.moon-icon {
    color: var(--text-muted); /* Inactive in light mode */
}

/* Dark theme overrides */
body.dark-theme .switch-thumb {
    transform: translateX(-30px);
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

body.dark-theme .switch-track {
    background-color: #18181b;
    border-color: #27272a;
}

body.dark-theme .moon-icon {
    color: var(--primary); /* Active orange in dark mode */
}

body.dark-theme .sun-icon {
    color: var(--text-muted); /* Inactive in dark mode */
}

/* Base resets */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
}

/* Typography elements */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-white);
}

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

/* Accent helper */
.accent {
    color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Button Styling */
.btn-primary, .btn-secondary, .btn-contact, .btn-spin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-size: 1rem;
}

.btn-secondary:hover {
    background-color: var(--text-white);
    color: var(--bg-black);
    transform: translateY(-2px);
}

/* Header & Sticky Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.05em;
}

.logo-img {
    height: 2.2rem;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-contact {
    background-color: var(--bg-black);
    color: var(--text-white);
    border: 1px solid var(--border);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.btn-contact:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    transform: scale(1.05);
}

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

.mobile-toggle:hover {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1.5rem;
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.95) 80%);
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(249, 115, 22, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(249, 115, 22, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center center;
    z-index: 0;
}

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

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: var(--text-white);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Features / Brand Values Section */
.features-section {
    padding: 6rem 0;
    background-color: var(--bg-black);
    position: relative;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.08);
    background-color: var(--bg-card-hover);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    background-color: var(--primary);
    color: #ffffff;
    transform: rotateY(360deg);
}

.feature-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-desc {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Transition Callout Section */
.transition-section {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-black) 0%, var(--bg-dark) 100%);
}

.transition-card {
    max-width: 600px;
    margin: 0 auto;
}

.transition-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.transition-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background-color: var(--bg-dark);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 85%);
    transform: translateY(100%);
    transition: var(--transition);
    opacity: 0;
}

.gallery-item:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.15);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.gallery-info p {
    color: #a1a1aa;
    font-size: 0.875rem;
}

/* Footer Section */
.main-footer {
    padding: 6rem 0 3rem 0;
    background-color: var(--bg-black);
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.social-icon {
    color: var(--text-white);
    font-size: clamp(3.5rem, 8vw, 4.5rem);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Scroll Animations */
.animate-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-scroll.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Animations on Page Load */
.animate-fade-in {
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wheel of Fortune Modal Popup */
.wheel-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 1rem;
}

.wheel-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.wheel-modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    max-width: 440px;
    width: 100%;
    padding: 2.5rem 2rem;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: 95vh;
    overflow-y: auto;
}

.wheel-modal-overlay.active .wheel-modal-content {
    transform: scale(1);
}

.close-wheel-modal {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-wheel-modal:hover {
    color: var(--primary);
}

.modal-heading {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    padding-right: 1.5rem;
}

.modal-text {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto 1.5rem auto;
}

#wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), 0 0 0 5px var(--border);
}

.wheel-pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid var(--primary);
    z-index: 10;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
}

.btn-spin {
    background-color: var(--primary);
    color: #ffffff;
    padding: 0.75rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    width: 100%;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-spin:hover {
    background-color: #ffffff;
    color: var(--primary);
    border: 2px solid var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-spin:disabled {
    background-color: var(--text-muted);
    color: var(--text-white);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* Result Box */
.wheel-result {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.reward-highlight {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.25rem;
    display: block;
    margin: 0.25rem 0;
}

.coupon-code-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--bg-black);
    border: 1px dashed var(--primary);
    border-radius: 6px;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0 1rem 0;
}

#coupon-code {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 900;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

#copy-coupon {
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

#copy-coupon:hover {
    color: var(--primary);
}

.inline-cta {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        border-left: 1px solid var(--border);
    }

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

    .mobile-toggle {
        display: block;
        z-index: 1000;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        padding: 0 2rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .btn-contact {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

/* Spin Form within Modal */
.spin-form {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group-spin {
    text-align: left;
}

.form-group-spin input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.form-group-spin input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

/* Switch Toggle Component for Admin */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #ffffff;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

input:checked + .slider {
    background-color: var(--primary);
    border-color: var(--primary);
}

input:checked + .slider:before {
    transform: translateX(24px);
}

/* Testimonials Section Styles */
.testimonials-section {
    padding: 6rem 0;
    background-color: var(--bg-black);
    border-top: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.testimonials-carousel-wrapper {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    padding: 1rem 0;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    flex-shrink: 0;
    padding: 0 1.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.testimonial-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    position: relative;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

body.dark-theme .testimonial-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: rgba(249, 115, 22, 0.15);
    margin-bottom: 1.5rem;
}

.testimonial-comment {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-white);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-stars {
    font-size: 1.25rem;
    color: var(--primary); /* Accent Orange */
    margin-bottom: 1rem;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
}

.testimonial-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}

.testimonial-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background-color: var(--primary);
    transform: scale(1.25);
}

/* Leave Testimonial Box */
.leave-testimonial-box {
    margin: 4rem auto 0 auto;
    max-width: 500px;
    background-color: var(--bg-card);
    border: 1px dashed var(--primary);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.leave-testimonial-box h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.leave-testimonial-box p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Rating Stars in Form */
.rating-stars i:hover,
.rating-stars i.active {
    color: #eab308 !important;
}
.rating-stars i {
    transition: color 0.15s ease;
}


