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

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

body {
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== GEOMETRIC DECORATIVE SHAPES ========== */
.geo-shapes {
    z-index: 0;
}

.geo-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.04;
    pointer-events: none;
}

.geo-circle--1 {
    width: 400px;
    height: 400px;
    background: #FF6B6B;
    top: 10%;
    right: -100px;
}

.geo-circle--2 {
    width: 200px;
    height: 200px;
    background: #FF6B6B;
    bottom: 20%;
    left: -50px;
}

.geo-circle--3 {
    width: 120px;
    height: 120px;
    background: #2D3436;
    top: 50%;
    right: 15%;
    opacity: 0.06;
}

.geo-circle--4 {
    width: 80px;
    height: 80px;
    background: #FF6B6B;
    top: 30%;
    left: 10%;
    opacity: 0.05;
}

.geo-square {
    position: absolute;
    border-radius: 16px;
    opacity: 0.04;
    pointer-events: none;
}

.geo-square--1 {
    width: 150px;
    height: 150px;
    background: #2D3436;
    top: 60%;
    right: 5%;
    transform: rotate(25deg);
}

.geo-triangle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0.04;
    pointer-events: none;
}

.geo-triangle--1 {
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #FF6B6B;
    top: 40%;
    left: 3%;
}

/* ========== FLOATING ANIMATIONS ========== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-delay {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-15px) rotate(15deg); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float-delay 5s ease-in-out infinite;
    animation-delay: 1s;
}

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

#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 20px rgba(45, 52, 54, 0.08);
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-btn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
    margin-left: 0;
    margin-right: 0;
}

.mobile-link {
    display: block;
    transition: color 0.2s ease;
}

.mobile-link:hover {
    color: #FF6B6B;
}

/* ========== SERVICE CARDS ========== */
.service-card {
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

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

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== FORM SELECT ARROW ========== */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%232D3436' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    appearance: none;
    -webkit-appearance: none;
}

/* ========== SELECTION COLOR ========== */
::selection {
    background: #FF6B6B;
    color: white;
}

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

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

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

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