/* ========================================
   SWAYA - Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-dark: #0a0a0f;
    --secondary-dark: #12121a;
    --accent-gold: #d4af37;
    --text-white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.5);
    --gradient-dark: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    --shadow-soft: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.2);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: linear-gradient(180deg, rgba(10, 10, 15, 0.8) 0%, transparent 100%);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 5%;
}

.nav-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.3em;
    color: var(--text-white);
}

.nav-status {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--text-white);
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.nav-status:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

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

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 15, 0.3) 0%,
        rgba(10, 10, 15, 0.5) 40%,
        rgba(10, 10, 15, 0.8) 100%
    );
    z-index: -1;
}

/* Hero Content */
.hero-content {
    text-align: center;
    z-index: 1;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-quote {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 300;
    line-height: 1.3;
    color: var(--text-white);
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    max-width: 800px;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.indicator {
    width: 40px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.indicator.active {
    background: var(--accent-gold);
    width: 60px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* About Section */
.about {
    background: var(--secondary-dark);
    padding: 10rem 5%;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-content {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

.about > .about-content > p {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 5rem;
    font-size: 1.15rem;
    line-height: 1.9;
    font-weight: 300;
}

.about-features {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-8px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.feature p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    padding: 6rem 5%;
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(212, 175, 55, 0.3) 50%,
        transparent 100%
    );
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: 0.4em;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.footer-quote {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    letter-spacing: 0.02em;
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Large Screens (1400px+) */
@media (min-width: 1400px) {
    .hero-quote {
        font-size: 4rem;
    }

    .about-features {
        gap: 3rem;
    }

    .feature {
        max-width: 380px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1199px) {
    .hero-quote {
        font-size: 3.2rem;
    }
}

/* Tablet Landscape (992px - 1199px) */
@media (max-width: 991px) {
    .hero-quote {
        font-size: 2.8rem;
    }

    .about {
        padding: 8rem 5%;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 767px) {
    .navbar {
        padding: 1rem 4%;
    }

    .nav-logo {
        font-size: 1.2rem;
    }

    .nav-status {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
        letter-spacing: 0.35em;
    }

    .hero-quote {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .about {
        padding: 6rem 5%;
    }

    .about h2 {
        font-size: 2rem;
    }

    .about > .about-content > p {
        font-size: 1rem;
        margin-bottom: 4rem;
    }

    .about-features {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .feature {
        width: 100%;
        max-width: 400px;
        padding: 2.5rem 1.5rem;
        overflow: hidden;
    }

    .footer {
        padding: 4rem 5%;
    }

    .footer-logo {
        font-size: 1.6rem;
    }

    .footer-quote {
        font-size: 1rem;
    }

    .carousel-indicators {
        bottom: 4%;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 575px) {
    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .indicator {
        width: 30px;
        height: 2px;
    }

    .indicator.active {
        width: 45px;
    }
}

/* Mobile Portrait (up to 480px) */
@media (max-width: 480px) {
    .nav-logo {
        font-size: 1rem;
        letter-spacing: 0.2em;
    }

    .nav-status {
        font-size: 0.7rem;
        padding: 0.45rem 1rem;
        letter-spacing: 0.1em;
    }

    .hero-tagline {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }

    .hero-quote {
        font-size: 1.6rem;
    }

    .about {
        padding: 5rem 5%;
    }

    .about h2 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
        word-wrap: break-word;
    }

    .about > .about-content > p {
        font-size: 0.95rem;
        margin-bottom: 3rem;
        line-height: 1.8;
    }

    .about-features {
        gap: 1.25rem;
    }

    .feature {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        padding: 2rem 1.25rem;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
    }

    .feature h3 {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .feature p {
        font-size: 0.8rem;
        line-height: 1.6;
    }

    .footer {
        padding: 3.5rem 6%;
    }

    .footer-logo {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .footer-quote {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .footer-copyright {
        font-size: 0.75rem;
    }

    .carousel-indicators {
        bottom: 3%;
        gap: 0.75rem;
    }

    .indicator {
        width: 25px;
    }

    .indicator.active {
        width: 40px;
    }
}

/* Extra Small Devices (up to 360px) */
@media (max-width: 360px) {
    .nav-logo {
        font-size: 0.9rem;
    }

    .nav-status {
        font-size: 0.65rem;
        padding: 0.4rem 0.85rem;
    }

    .hero-quote {
        font-size: 1.4rem;
    }

    .about h2 {
        font-size: 1.5rem;
    }

    .footer-logo {
        font-size: 1.2rem;
    }
}

/* Fix for content overflow below 400px */
@media (max-width: 400px) {
    .about {
        padding: 4rem 4%;
    }

    .about-content {
        overflow: hidden;
    }

    .about h2 {
        font-size: 1.6rem;
        word-wrap: break-word;
    }

    .about > .about-content > p {
        font-size: 0.85rem;
        line-height: 1.7;
        padding: 0 0.5rem;
    }

    .about-features {
        gap: 1rem;
    }

    .feature {
        width: 100%;
        min-width: unset;
        max-width: 100%;
        padding: 1.5rem 1rem;
        overflow: hidden;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }

    .feature h3 {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
        line-height: 1.4;
        word-wrap: break-word;
    }

    .feature p {
        font-size: 0.8rem;
        line-height: 1.6;
        padding: 0 0.25rem;
        word-wrap: break-word;
    }
}

/* Prefers Reduced Motion */
@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;
    }

    .carousel-slide {
        transition: none;
    }
}