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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    min-height: 100vh;
}

/* === Fixed Geometric Background Shapes === */
.geo-shape {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: #e4614a;
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: #e2c855;
    bottom: 10%;
    left: -100px;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #e4614a;
    top: 50%;
    right: 5%;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #e2c855;
    top: 30%;
    left: 3%;
    opacity: 0.03;
}

.geo-ring-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid #e4614a;
    bottom: -50px;
    right: 20%;
    opacity: 0.03;
}

/* === Hero Decorations === */
.hero-deco {
    position: absolute;
    pointer-events: none;
}

.hero-circle-a {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -100px;
    right: -100px;
}

.hero-circle-b {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 40px solid rgba(255, 255, 255, 0.08);
    bottom: 10%;
    left: -50px;
}

.hero-square-a {
    width: 120px;
    height: 120px;
    background: rgba(226, 200, 85, 0.25);
    top: 20%;
    left: 8%;
    transform: rotate(30deg);
    border-radius: 20px;
}

.hero-dots {
    bottom: 15%;
    right: 10%;
    opacity: 0.3;
}

.hero-dots svg {
    fill: white;
}

.hero-line {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    bottom: 25%;
    left: 5%;
}

/* === Experience Section Decorations === */
.exp-deco {
    position: absolute;
    pointer-events: none;
}

.exp-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -100px;
    left: -100px;
}

.exp-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    border: 30px solid rgba(255, 255, 255, 0.06);
    bottom: -50px;
    right: 5%;
}

.exp-rect-1 {
    width: 150px;
    height: 150px;
    background: rgba(226, 200, 85, 0.15);
    top: 20%;
    right: 15%;
    transform: rotate(25deg);
    border-radius: 24px;
}

/* === Scroll Indicator === */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* === Navbar === */
#navbar {
    background: rgba(253, 248, 240, 0.85);
    backdrop-blur-lg;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* === Service Cards === */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e4614a, #e2c855);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::after {
    transform: scaleX(1);
}

/* === Experience Cards === */
.exp-card {
    transition: transform 0.3s ease, background 0.3s ease;
}

.exp-card:hover {
    transform: translateY(-4px);
}

/* === Scroll Animation (progressive enhancement) === */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(24px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal.hidden-reveal {
        opacity: 1;
        transform: translateY(0);
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-indicator {
        animation: none;
    }
    .animate-scroll {
        animation: none;
        display: flex;
    }
    .hero-deco, .exp-deco, .geo-shape {
        animation: none;
    }
}

/* === Infinite Scroll Gallery === */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll:hover {
    animation-play-state: paused;
}

/* === Mobile Menu === */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-link {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* === Utility === */
@media (max-width: 768px) {
    .hero-circle-a {
        width: 300px;
        height: 300px;
    }
    .hero-circle-b {
        width: 200px;
        height: 200px;
    }
    .hero-square-a {
        width: 80px;
        height: 80px;
    }
}
