/* =========================================
   CSS Variables & Design Tokens
   ========================================= */
:root {
    /* Color Palette */
    --color-primary: #0ea5e9;
    /* Bright Sky Blue */
    --color-primary-dark: #0284c7;
    --color-primary-light: #e0f2fe;

    --color-secondary: #facc15;
    /* Sun Yellow */
    --color-secondary-dark: #eab308;

    --color-accent: #f97316;
    /* Warm Orange */

    --color-dark: #0f172a;
    /* Deep Slate */
    --color-dark-muted: #334155;

    --color-light: #f8fafc;
    --color-white: #ffffff;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    --gradient-sunset: linear-gradient(135deg, var(--color-secondary), var(--color-accent));

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-handwritten: 'Caveat', cursive;

    /* Spacing & Utilities */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-dark-muted);
    background-color: var(--color-light);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

/* Typography Utilities */
.text-primary {
    color: var(--color-primary);
}

.text-secondary {
    color: var(--color-secondary-dark);
}

.text-dark {
    color: var(--color-dark);
}

.text-white {
    color: var(--color-white);
}

.text-center {
    text-align: center;
}

.font-outfit {
    font-family: var(--font-heading);
}

.font-semibold {
    font-weight: 600;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.w-full {
    width: 100%;
    display: block;
}

/* =========================================
   Components
   ========================================= */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
}

.btn-outline:hover {
    background: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-gradient {
    background: var(--gradient-sunset);
    color: var(--color-dark);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(250, 204, 21, 0.3);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 20px 0;
}

.blur-backdrop.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 12px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
}

.logo-icon {
    font-size: 1.8rem;
    animation: rotate-slow 10s linear infinite;
}

.desktop-nav .nav-links {
    display: flex;
    gap: 32px;
}

.desktop-nav a {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-dark);
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-fast);
}

.desktop-nav a:hover::after {
    width: 100%;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background-color: var(--color-primary-light);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://loremflickr.com/1920/1080/cloud,sky/all');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(255, 255, 255, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 500px;
    color: var(--color-dark-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.badge .check {
    color: var(--color-primary);
    background: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Hero Image & Cards */
.hero-image-wrapper {
    position: relative;
    perspective: 1000px;
}

.main-hero-card {
    padding: 16px;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.main-hero-card:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.rounded-image {
    border-radius: var(--border-radius-sm);
    width: 100%;
}

.floating-badge {
    position: absolute;
    background: var(--gradient-sunset);
    color: var(--color-dark);
    font-weight: 800;
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-heading);
    box-shadow: 0 10px 20px rgba(250, 204, 21, 0.4);
}

.top-right {
    top: -20px;
    right: -20px;
    animation: float 4s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

.bottom-left {
    bottom: -30px;
    left: -30px;
    animation: float 5s ease-in-out infinite reverse;
}

.stars {
    color: var(--color-secondary-dark);
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.handwritten {
    font-family: var(--font-handwritten);
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--color-dark);
}

.handwritten .author {
    font-size: 1.1rem;
    font-family: var(--font-body);
    color: var(--color-dark-muted);
    font-weight: 500;
}

/* =========================================
   Services Section
   ========================================= */
.services {
    position: relative;
    background: var(--color-white);
    overflow: hidden;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    padding: 40px 30px;
    background: rgba(248, 250, 252, 0.8);
}

.hover-lift {
    transition: var(--transition-smooth);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    background: white;
}

.service-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--color-primary-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-wrapper {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-text {
    margin-bottom: 24px;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.service-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 800;
}

/* Background Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary-light);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: rgba(250, 204, 21, 0.2);
    bottom: -50px;
    left: -50px;
}

/* =========================================
   Marquee Gallery
   ========================================= */
.gallery-marquee {
    background: var(--color-dark);
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.marquee-content {
    display: flex;
    width: calc(400px * 8 + 20px * 8);
    /* Image width * count + gap */
    animation: scroll-marquee 30s linear infinite;
    gap: 20px;
}

.marquee-content img {
    width: 400px;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-smooth);
    opacity: 0.7;
}

.marquee-content img:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* =========================================
   About Section
   ========================================= */
.about {
    background-color: var(--color-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.image-composite {
    position: relative;
    padding-right: 40px;
    padding-bottom: 40px;
}

.experience-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 6px solid var(--color-light);
}

.experience-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.about-desc {
    font-size: 1.125rem;
    margin-bottom: 30px;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: white;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 40px;
}

.location-icon {
    font-size: 2rem;
}

.location-details h4 {
    margin-bottom: 8px;
}

.hover-scale {
    transition: var(--transition-fast);
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    color: white;
    margin-bottom: 16px;
}

.footer-tagline {
    color: #94a3b8;
    max-width: 300px;
}

.footer h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 24px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #94a3b8;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
    font-size: 0.875rem;
}

/* =========================================
   Animations & Keyframes
   ========================================= */
@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-400px * 4 - 20px * 4));
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes rotate-slow {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Fade In Animations Set Up for JS Intersection Observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.is-visible {
    opacity: 1;
    transform: translate(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Effects */
.shadow-glow {
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.4);
}

.animate-pulse-soft {
    animation: pulse-soft 2s infinite;
}

@keyframes pulse-soft {
    0% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(14, 165, 233, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
    }
}

/* =========================================
   Media Queries (Responsive)
   ========================================= */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .hero-actions,
    .hero-badges {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
        /* Simple mobile hide for this static version */
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .main-hero-card {
        transform: none;
    }
}