/* ============================================
   THE ORNAMENT STATION — Custom Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* ============================================
   GEOMETRIC SHAPES (Hero Section)
   ============================================ */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

/* Circles */
.circle-1 {
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 180px;
    height: 180px;
    background: rgba(255, 184, 184, 0.12);
    border-radius: 50%;
    top: 25%;
    right: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    bottom: 20%;
    left: 10%;
    animation: float 10s ease-in-out infinite;
}

/* Triangle */
.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(255, 184, 184, 0.08);
    top: 60%;
    right: 15%;
    animation: spin 20s linear infinite;
}

/* Square */
.square-1 {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.08);
    top: 15%;
    right: 25%;
    transform: rotate(45deg);
    animation: float 7s ease-in-out infinite;
}

/* Ring */
.ring-1 {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(255, 184, 184, 0.1);
    border-radius: 50%;
    border-top-color: transparent;
    border-bottom-color: transparent;
    bottom: 30%;
    left: 5%;
    animation: spin 15s linear infinite reverse;
}

/* Dot Grid */
.dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    top: 70%;
    right: 30%;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* ============================================
   REVEAL ANIMATIONS (Below the fold only)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
    .reveal:nth-child(5) { transition-delay: 0.4s; }
    .reveal:nth-child(6) { transition-delay: 0.5s; }
}

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

#navbar.scrolled {
    background: rgba(255, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(120, 31, 46, 0.08);
}

/* ============================================
   MOBILE MENU
   ============================================ */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

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

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

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

/* ============================================
   BUTTON HOVER EFFECTS
   ============================================ */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   RESPONSIVE TWEAKS
   ============================================ */
@media (max-width: 640px) {
    .circle-1 {
        width: 150px;
        height: 150px;
    }
    .circle-2 {
        width: 100px;
        height: 100px;
    }
    .circle-3 {
        width: 70px;
        height: 70px;
    }
    .square-1 {
        width: 50px;
        height: 50px;
    }
    .ring-1 {
        width: 120px;
        height: 120px;
    }
    .triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 69px;
    }
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8F5;
}
::-webkit-scrollbar-thumb {
    background: #d4a0a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #781f2e;
}

/* ============================================
   SELECTION
   ============================================ */
::selection {
    background: #f9cfd7;
    color: #781f2e;
}
