/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --color-primary: #ff6b35;
    --color-secondary: #f7931e;
    --color-dark: #0a0a0a;
    --color-dark-alt: #1a1a1a;
    --color-light: #ffffff;
    --color-gray: #808080;
    --color-gray-light: #e0e0e0;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--color-dark);
    color: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-logo a:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition-fast);
    filter: brightness(1.2) saturate(1.15) drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-light);
    transition: var(--transition-fast);
}

.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    z-index: 999;
    transition: var(--transition-smooth);
    border-radius: 8px 0 0 8px;
}

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

.mobile-menu-link {
    display: block;
    color: var(--color-light);
    text-decoration: none;
    padding: var(--spacing-sm);
    margin: var(--spacing-xs) 0;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-weight: 600;
}

.mobile-menu-link:hover {
    background: var(--color-dark-alt);
    color: var(--color-primary);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(247, 147, 30, 0.1) 0%, transparent 50%);
    animation: gradientShift 10s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: var(--spacing-md);
}

.hero-logo {
    margin-bottom: var(--spacing-md);
    animation: titleFadeIn 1s ease 0.1s backwards;
    position: relative;
}

.hero-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.4) 0%, rgba(247, 147, 30, 0.2) 30%, transparent 70%);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero-logo img {
    width: clamp(200px, 30vw, 350px);
    height: auto;
    filter: brightness(1.3) saturate(1.2)
            drop-shadow(0 0 20px rgba(255, 107, 53, 0.8))
            drop-shadow(0 0 40px rgba(255, 107, 53, 0.6))
            drop-shadow(0 8px 24px rgba(255, 107, 53, 0.4));
    animation: logoFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleFadeIn 1s ease backwards;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word:nth-child(2) {
    animation-delay: 0.4s;
}

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

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-lg);
    animation: titleFadeIn 1s ease 0.6s backwards;
}

.hero-cta {
    animation: titleFadeIn 1s ease 0.8s backwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-light);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button * {
    position: relative;
    z-index: 2;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.6);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-gray);
    font-size: 0.85rem;
    animation: bounce 2s ease infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================
   Section Styles
   ============================================ */
section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(135deg, var(--color-light), var(--color-gray));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    margin: 0 auto;
    border-radius: 2px;
}

/* Animation classes */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about-text {
    animation-delay: 0.2s;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-md);
}

.about-description:last-child {
    margin-bottom: 0;
}

.about-images {
    animation-delay: 0.4s;
}

.image-rotator {
    position: relative;
    width: 100%;
    padding-top: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.rotating-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

.rotating-image.active {
    opacity: 1;
}

.rotating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rotating-image.placeholder {
    background: linear-gradient(135deg, var(--color-dark-alt), #2a2a2a);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-image.placeholder::after {
    content: 'Add image here';
    color: var(--color-gray);
    font-size: 1.2rem;
}

/* ============================================
   Media Section
   ============================================ */
.media {
    background: var(--color-dark);
}

.media-content {
    animation-delay: 0.2s;
}

.carousel-container {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.carousel {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
    flex: 0 0 100%;
    position: relative;
    background: var(--color-dark-alt);
}

.carousel-item img,
.carousel-item video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
    background: var(--color-dark-alt);
}

.carousel-item.placeholder {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-dark-alt), #2a2a2a);
}

.carousel-item.placeholder::after {
    content: 'Add media files to /media folder';
    color: var(--color-gray);
    font-size: 1.2rem;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--color-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: var(--spacing-sm);
}

.carousel-btn.next {
    right: var(--spacing-sm);
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-gray);
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

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

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: linear-gradient(180deg, var(--color-dark) 0%, var(--color-dark-alt) 100%);
}

.contact-content-simple {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
    animation-delay: 0.2s;
}

.contact-description-large {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    line-height: 1.8;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-sm);
}

.contact-email-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--color-light);
    text-decoration: none;
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    border-radius: 50px;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 30px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
}

.contact-email-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
    opacity: 0;
    transition: var(--transition-smooth);
}

.contact-email-button:hover::before {
    opacity: 1;
}

.contact-email-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.6);
}

.contact-email-button svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.contact-email-button span {
    position: relative;
    z-index: 1;
}

.contact-social-text {
    font-size: 1.1rem;
    color: var(--color-gray);
    margin-top: var(--spacing-sm);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-dark);
    padding: var(--spacing-md) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--color-light);
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.footer-text {
    color: var(--color-gray);
    font-size: 0.9rem;
}

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }

    .nav {
        padding: var(--spacing-sm);
    }

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .hero-logo img {
        width: clamp(150px, 40vw, 250px);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .about-images {
        order: -1;
    }

    .image-rotator {
        max-width: 400px;
        margin: 0 auto;
    }

    .contact-content-simple {
        padding: var(--spacing-sm);
    }

    .contact-email-button {
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 100%;
        min-height: 60px;
    }

    .contact-email-button svg {
        width: 24px;
        height: 24px;
    }

    .contact-description-large {
        font-size: 1.15rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .carousel-btn svg {
        width: 20px;
        height: 20px;
    }

    section {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 40px;
    }

    .cta-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .contact-description-large {
        font-size: 1.1rem;
    }

    .contact-email-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        flex-wrap: wrap;
    }

    .contact-email-button span {
        font-size: 0.95rem;
    }

    .contact-social-text {
        font-size: 1rem;
    }

    .carousel-btn.prev {
        left: 0.5rem;
    }

    .carousel-btn.next {
        right: 0.5rem;
    }
}

/* ============================================
   Accessibility
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}
