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

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

body {
    margin: 0;
    overflow-x: hidden;
}

::selection {
    background: #F9C3CC;
    color: #3A0F16;
}

/* ========== NAVBAR ========== */
.nav-logo-text {
    transition: color 0.4s ease;
}

.nav-link {
    position: relative;
}

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

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

#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(123, 45, 59, 0.08);
}

#navbar.scrolled .nav-logo-text {
    color: #3A0F16;
}

#navbar.scrolled .nav-link {
    color: #3A0F16;
}

#navbar.scrolled .nav-link:hover {
    color: #7B2D3B;
}

/* ========== MOBILE MENU ========== */
.mobile-nav-link {
    position: relative;
    padding-left: 0;
    transition: padding-left 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
    color: #7B2D3B;
    padding-left: 8px;
}

#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* ========== HERO GEOMETRIC SHAPES ========== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-1 {
    top: 10%;
    left: 8%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #FFDDE4;
    animation-delay: 0s;
}

.geo-circle-2 {
    top: 60%;
    right: 10%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #FFC4D4;
    animation-delay: 2s;
}

.geo-circle-3 {
    bottom: 15%;
    left: 20%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation-delay: 4s;
}

.geo-square-1 {
    top: 20%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: rgba(255, 221, 228, 0.4);
    transform: rotate(45deg);
    animation-delay: 1s;
}

.geo-square-2 {
    bottom: 25%;
    right: 30%;
    width: 60px;
    height: 60px;
    background: rgba(255, 196, 212, 0.3);
    transform: rotate(30deg);
    animation-delay: 3s;
}

.geo-triangle-1 {
    top: 40%;
    left: 5%;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(255, 221, 228, 0.25);
    animation-delay: 2.5s;
}

.geo-ring-1 {
    top: 70%;
    left: 40%;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 8px solid rgba(255, 255, 255, 0.15);
    animation-delay: 1.5s;
}

.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 30px 30px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(5deg);
    }
    66% {
        transform: translateY(10px) rotate(-3deg);
    }
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal-up,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* JS adds these classes */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.reveal-visible {
    opacity: 1;
    transform: none !important;
}

/* ========== MENU SECTION GEOS ========== */
.menu-geo {
    animation: float 12s ease-in-out infinite !important;
}

/* ========== BUTTON FOCUS ========== */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #F9C3CC;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ========== IMAGE HOVER ========== */
img {
    max-width: 100%;
    height: auto;
}

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

::-webkit-scrollbar-track {
    background: #FFF8F0;
}

::-webkit-scrollbar-thumb {
    background: #F9C3CC;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D44062;
}
