/* ============================================
   SUNSET 3D WEBSITE - STYLES
   ============================================ */

/* CSS Variables */
:root {
    --color-bg: #0a0a0f;
    --color-bg-light: #12121a;
    --color-primary: #ff6b35;
    --color-secondary: #f7931e;
    --color-accent: #ff4081;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --gradient-sunset: linear-gradient(180deg, #1a0a2e 0%, #2d1b4e 30%, #ff6b35 70%, #f7931e 100%);
    --gradient-sun: radial-gradient(circle, #fff5e6 0%, #ffcc80 30%, #ff6b35 70%, #ff4081 100%);
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-glow: 0 0 60px rgba(255, 107, 53, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    min-height: 100vh;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--transition-smooth);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 10px var(--color-primary));
    animation: pulse 2s ease-in-out infinite;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s var(--transition-smooth);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: width 0.3s var(--transition-smooth);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.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-text);
    transition: all 0.3s var(--transition-smooth);
}

/* ============================================
   MAIN CONTAINER & PAGES
   ============================================ */
.main-container {
    position: relative;
    min-height: 100vh;
}

.page {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s var(--transition-smooth);
    padding-top: 80px;
}

.page.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: relative;
}

/* ============================================
   HOME PAGE - 3D SUNSET SCENE
   ============================================ */
.hero-3d {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 3D Scene Container */
.scene-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    transform-style: preserve-3d;
    background: var(--gradient-sunset);
}

/* Sun */
.sun-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%) translateZ(100px);
    width: 200px;
    height: 200px;
}

.sun {
    position: relative;
    width: 100%;
    height: 100%;
    animation: sunFloat 6s ease-in-out infinite;
}

.sun-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: var(--gradient-sun);
    border-radius: 50%;
    box-shadow: 
        0 0 60px rgba(255, 107, 53, 0.8),
        0 0 120px rgba(255, 107, 53, 0.4),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
    animation: sunPulse 4s ease-in-out infinite;
}

.sun-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 4s ease-in-out infinite;
}

/* Clouds */
.clouds-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 60%;
    transform: translateZ(50px);
}

.cloud {
    position: absolute;
    background: linear-gradient(180deg, rgba(255, 200, 150, 0.4) 0%, rgba(255, 150, 100, 0.2) 100%);
    border-radius: 100px;
    filter: blur(20px);
    animation: cloudFloat 20s ease-in-out infinite;
}

.cloud-1 {
    width: 300px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-2 {
    width: 400px;
    height: 100px;
    top: 15%;
    right: 15%;
    animation-delay: -5s;
}

.cloud-3 {
    width: 250px;
    height: 60px;
    top: 35%;
    left: 60%;
    animation-delay: -10s;
}

.cloud-4 {
    width: 350px;
    height: 90px;
    top: 25%;
    right: 40%;
    animation-delay: -15s;
}

/* Mountains */
.mountains {
    position: absolute;
    bottom: 25%;
    left: 0;
    width: 100%;
    height: 40%;
    transform: translateZ(0);
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 0;
    height: 0;
    border-style: solid;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
}

.mountain-1 {
    left: -10%;
    border-left: 400px solid transparent;
    border-right: 400px solid transparent;
    border-bottom: 350px solid #1a0a2e;
    transform: translateZ(-50px);
}

.mountain-2 {
    left: 20%;
    border-left: 500px solid transparent;
    border-right: 500px solid transparent;
    border-bottom: 450px solid #2d1b4e;
    transform: translateZ(-30px);
}

.mountain-3 {
    right: -10%;
    border-left: 350px solid transparent;
    border-right: 350px solid transparent;
    border-bottom: 300px solid #1a0a2e;
    transform: translateZ(-70px);
}

/* Ocean */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25%;
    background: linear-gradient(180deg, rgba(255, 107, 53, 0.3) 0%, #0a0a0f 100%);
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(255, 255, 255, 0.05) 50px,
        rgba(255, 255, 255, 0.05) 100px
    );
    animation: waveMove 10s linear infinite;
}

.wave-2 {
    animation-delay: -3s;
    opacity: 0.5;
}

.wave-3 {
    animation-delay: -6s;
    opacity: 0.3;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 900px;
    transform: translateZ(200px);
}

.hero-title {
    font-family: var(--font-display);
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 400;
    line-height: 1.1;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s var(--transition-smooth) forwards;
}

.title-line.highlight {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fff5e6, #ffcc80, #ff6b35);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 1s var(--transition-smooth) 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s var(--transition-smooth) 0.6s forwards;
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.feature-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.about-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--color-primary);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-secondary);
    top: 40%;
    right: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--color-accent);
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 350px;
    height: 350px;
    background: #6b4ee6;
    top: 10%;
    right: 30%;
    animation-delay: -7s;
}

.about-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

.about-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #ffcc80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-description {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Team/Vision Section */
.team-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--color-text);
}

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

.vision-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s var(--transition-smooth);
}

.vision-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition-smooth);
}

.vision-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.card-number {
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.2);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-family: var(--font-display);
}

.vision-card h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.vision-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer p {
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

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

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

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

@keyframes sunPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
}

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

@keyframes cloudFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(30px); }
}

@keyframes waveMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 10px); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.95);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-content {
        padding: 1rem;
    }

    .features-section {
        grid-template-columns: 1fr;
        padding: 4rem 1.5rem;
    }

    .vision-cards {
        grid-template-columns: 1fr;
    }

    .stats-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .sun-container {
        width: 150px;
        height: 150px;
    }

    .sun-core {
        width: 80px;
        height: 80px;
    }

    .sun-glow {
        width: 200px;
        height: 200px;
    }
}

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