/* ===================================
   Modern Wow-Factor Design
   Sweet Home Productions
   =================================== */

:root {
    --primary-teal: #14B8A6;
    --deep-teal: #0D9488;
    --umber: #8B4513;
    --deep-umber: #6B3410;
    --violet: #7C3AED;
    --deep-violet: #5B21B6;
    --gold: #F59E0B;
    --white: #FFFFFF;
    --black: #000000;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: #1a1a2e;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Loading Screen
   =================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    width: 150px;
    height: auto;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--violet));
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    to { width: 100%; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(0.95); }
}

/* ===================================
   Navigation - Glassmorphism
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(22, 33, 62, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(22, 33, 62, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.brand-text {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s var(--transition-smooth);
}

.brand-text:active {
    color: var(--primary-teal);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--transition-smooth);
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-teal);
    transition: width 0.3s var(--transition-smooth);
}

.nav-link:active::before {
    width: 80%;
}

.nav-link.btn-primary {
    background: linear-gradient(135deg, var(--primary-teal), var(--deep-teal));
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: var(--white);
}

.nav-link.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 0 5px 20px rgba(20, 184, 166, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s var(--transition-smooth);
}

/* ===================================
   Glassmorphism Cards
   =================================== */
.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s var(--transition-smooth);
}

.glass-card:active {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(20, 184, 166, 0.2);
    border-color: rgba(20, 184, 166, 0.3);
}

/* ===================================
   Hero Section - Cinematic
   =================================== */
.hero-cinematic {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video-full {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%) scale(1.1);
    z-index: 0;
    object-fit: cover;
    filter: brightness(0.4);
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.layer-1 {
    background: radial-gradient(circle at 30% 50%, rgba(20, 184, 166, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.layer-2 {
    background: radial-gradient(circle at 70% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
    z-index: 2;
}

.hero-content-cinematic {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
    max-width: 1000px;
}

.hero-glass {
    padding: 3rem;
    animation: fadeInUp 1s ease;
}

.hero-logo-large {
    width: 180px;
    height: auto;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title-morph {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-morph .word {
    display: inline-block;
    margin: 0 0.3rem;
    opacity: 0;
    animation: wordReveal 0.6s ease forwards;
}

.hero-title-morph .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title-morph .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title-morph .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title-morph .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title-morph .word:nth-child(5) { animation-delay: 0.5s; }

@keyframes wordReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle-fade {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeIn 1s ease 0.8s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-cta-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-glass {
    padding: 1rem 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    display: inline-block;
}

.btn-glass:active {
    transform: scale(0.95);
    background: rgba(20, 184, 166, 0.3);
    border-color: var(--primary-teal);
}

.btn-glass-outline {
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--gold);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s var(--transition-smooth);
    display: inline-block;
}

.btn-glass-outline:active {
    transform: scale(0.95);
    background: var(--gold);
    color: var(--black);
}

.scroll-indicator-modern {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.scroll-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-teal), transparent);
    margin: 0 auto 10px;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   Stats Section - Modern Cards
   =================================== */
.stats-modern {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f3460 0%, #16213e 100%);
    position: relative;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-teal), var(--violet));
    transform: scaleX(0);
    transition: transform 0.6s var(--transition-smooth);
}

.stat-card.active::before {
    transform: scaleX(1);
}

.stat-icon-modern {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    color: var(--primary-teal);
}

.stat-icon-modern svg {
    width: 100%;
    height: 100%;
}

.stat-number-modern {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.stat-label-modern {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.stat-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 1rem;
}

.stat-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-teal), var(--violet));
    width: 0%;
    transition: width 1.5s var(--transition-smooth);
}

.stat-card.active .stat-bar-fill {
    width: 100%;
}

/* ===================================
   About Section
   =================================== */
.about-modern {
    padding: 8rem 0;
    background: linear-gradient(180deg, #16213e 0%, #0f3460 100%);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(139, 69, 19, 0.1);
    border: 1px solid rgba(139, 69, 19, 0.3);
    border-radius: 50px;
    color: var(--umber);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.section-title-large {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    color: var(--white);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.about-text-column p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight-text {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.2rem;
}

/* ===================================
   Services Section - Modern Grid
   =================================== */
.services-modern {
    padding: 8rem 0;
    background: linear-gradient(180deg, #0f3460 0%, #16213e 100%);
}

.section-header-modern {
    text-align: center;
    margin-bottom: 5rem;
}

.section-subtitle-modern {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    margin-top: 1rem;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.service-card-modern {
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--transition-smooth);
    text-align: center;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.1), rgba(124, 58, 237, 0.05));
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.service-card-modern:active::before {
    opacity: 1;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    color: var(--violet);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large svg {
    width: 100%;
    height: 100%;
}

.service-title-modern {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.service-desc-modern {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.feature-tag {
    padding: 0.5rem 1rem;
    background: rgba(20, 184, 166, 0.1);
    border: 1px solid rgba(20, 184, 166, 0.3);
    border-radius: 20px;
    color: var(--primary-teal);
    font-size: 0.85rem;
}

/* ===================================
   Contact Section - Modern Glass
   =================================== */
.contact-modern {
    padding: 8rem 0;
    background: #16213e;
}

.contact-grid-modern {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info-modern {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-card-modern {
    padding: 2rem;
    text-align: center;
}

.contact-icon-modern {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    color: var(--primary-teal);
}

.contact-icon-modern svg {
    width: 100%;
    height: 100%;
}

.contact-card-modern h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.contact-card-modern p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.contact-card-modern a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

.contact-card-modern a:active {
    color: var(--gold);
}

.coming-soon-tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(139, 69, 19, 0.1);
    border-radius: 10px;
    font-size: 0.85rem;
    color: var(--umber);
}

.contact-form-modern {
    padding: 3rem;
}

.form-group-modern {
    position: relative;
    margin-bottom: 2.5rem;
}

.form-group-modern input,
.form-group-modern textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s var(--transition-smooth);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-bottom-color: var(--primary-teal);
}

.form-group-modern label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--transition-smooth);
    pointer-events: none;
}

.form-group-modern input:focus + label,
.form-group-modern input:valid + label,
.form-group-modern textarea:focus + label,
.form-group-modern textarea:valid + label {
    top: -1rem;
    font-size: 0.85rem;
    color: var(--primary-blue);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-teal), var(--violet));
    transition: width 0.3s var(--transition-smooth);
}

.form-group-modern input:focus ~ .form-line,
.form-group-modern textarea:focus ~ .form-line {
    width: 100%;
}

.btn-submit-modern {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-teal), var(--deep-teal));
    border: none;
    border-radius: 50px;
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.btn-submit-modern svg {
    width: 20px;
    height: 20px;
}

.btn-submit-modern:active {
    transform: scale(0.98);
    box-shadow: 0 10px 40px rgba(20, 184, 166, 0.4);
}

/* ===================================
   Footer - Modern
   =================================== */
.footer-modern {
    background: #0f3460;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 120px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.footer-links-modern h4,
.footer-contact-modern h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links-modern ul {
    list-style: none;
}

.footer-links-modern li {
    margin-bottom: 0.8rem;
}

.footer-links-modern a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

.footer-links-modern a:active {
    color: var(--primary-teal);
}

.footer-contact-modern p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
}

.footer-contact-modern a {
    color: var(--primary-teal);
    text-decoration: none;
    transition: color 0.3s var(--transition-smooth);
}

.footer-contact-modern a:active {
    color: var(--gold);
}

.footer-bottom-modern {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-grid-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(22, 33, 62, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-glass {
        padding: 2rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-modern {
        grid-template-columns: 1fr;
    }

    .about-modern {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title-morph {
        font-size: 1.8rem;
    }

    .stats-grid-modern {
        grid-template-columns: 1fr;
    }

    .btn-glass,
    .btn-glass-outline {
        padding: 0.8rem 2rem;
        font-size: 0.95rem;
    }
}

/* ===================================
   Utility Classes
   =================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--transition-smooth), transform 0.6s var(--transition-smooth);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
