/* ========================================
   IRENE'S CLOSET — Custom Styles
   ======================================== */

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

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    overflow-x: hidden;
}

/* ========================================
   GEOMETRIC BACKGROUND SHAPES
   ======================================== */
.geo-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.6;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.geo-circle-2 {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.1) 0%, transparent 70%);
    bottom: 10%;
    left: -80px;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(46, 196, 182, 0.2) 0%, transparent 70%);
    top: 40%;
    right: 30%;
    animation: float-slow 15s ease-in-out infinite;
}

.geo-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(46, 196, 182, 0.08);
    border-radius: 24px;
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    animation: float-slow 18s ease-in-out infinite;
}

.geo-rect-2 {
    width: 80px;
    height: 80px;
    background: rgba(46, 196, 182, 0.1);
    border-radius: 16px;
    bottom: 15%;
    right: 10%;
    transform: rotate(20deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(46, 196, 182, 0.08);
    top: 60%;
    right: 5%;
    animation: float-slow 16s ease-in-out infinite;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(46, 196, 182, 0.3) 1px, transparent 1px);
    background-size: 12px 12px;
    top: 15%;
    left: 15%;
    animation: float-slow 20s ease-in-out infinite reverse;
}

/* About section shapes - different positions */
.about-section.geo-circle-1 {
    top: auto;
    bottom: -50px;
    left: -50px;
    right: auto;
    width: 400px;
    height: 400px;
}

.about-section.geo-rect-1 {
    top: 10%;
    right: 10%;
    left: auto;
    width: 100px;
    height: 100px;
    transform: rotate(30deg);
}

/* Experience section shapes */
.experience-section.geo-circle-2 {
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(13, 27, 42, 0.1) 0%, transparent 70%);
}

.experience-section.geo-triangle {
    bottom: 10%;
    left: 5%;
    border-bottom-color: rgba(13, 27, 42, 0.08);
}

/* CTA section shapes */
.cta-section.geo-circle-1 {
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 400px;
    height: 400px;
}

.cta-section.geo-dots {
    top: auto;
    bottom: 10%;
    right: 10%;
    left: auto;
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(2deg); }
    50% { transform: translateY(-10px) rotate(-1deg); }
    75% { transform: translateY(-25px) rotate(1deg); }
}

/* ========================================
   NAVBAR
   ======================================== */
#navbar {
    background: transparent;
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2ec4b6;
    transition: width 0.3s ease;
}

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

/* ========================================
   MOBILE MENU
   ======================================== */
.mobile-link {
    position: relative;
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   ======================================== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* Hidden state for reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Always visible for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal.hidden-reveal {
        opacity: 1;
        transform: none;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .geo-circle-1,
    .geo-circle-2,
    .geo-circle-3 {
        opacity: 0.4;
    }
    
    .geo-rect-1 {
        width: 60px;
        height: 60px;
    }
    
    .geo-triangle {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 69px;
    }
}

/* ========================================
   UTILITY ANIMATIONS
   ======================================== */
@keyframes pulse-slow {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.pulse-soft {
    animation: pulse-slow 4s ease-in-out infinite;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0d1b2a;
}

::-webkit-scrollbar-thumb {
    background: #2ec4b6;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #99f6dc;
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: rgba(46, 196, 182, 0.3);
    color: #0d1b2a;
}
