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

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

body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #d4522e;
    color: #fff;
}

/* ===== Geometric Background Decoration ===== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.geo-circle--1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 82, 46, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -150px;
}

.geo-circle--2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(202, 138, 4, 0.06) 0%, transparent 70%);
    bottom: 10%;
    left: -100px;
}

.geo-circle--3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 82, 46, 0.05) 0%, transparent 70%);
    top: 50%;
    right: 5%;
}

.geo-rect {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.geo-rect--1 {
    width: 80px;
    height: 80px;
    background: rgba(212, 82, 46, 0.04);
    border-radius: 20px;
    top: 30%;
    left: 5%;
    transform: rotate(45deg);
}

.geo-rect--2 {
    width: 60px;
    height: 60px;
    background: rgba(202, 138, 4, 0.04);
    border-radius: 14px;
    bottom: 20%;
    right: 8%;
    transform: rotate(20deg);
}

/* ===== Floating Cards Animation ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-delayed {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.floating-card {
    animation-duration: 3.5s;
}

.card--stats {
    animation-name: float;
}

.card--location,
.card--trust {
    animation-name: float-delayed;
    animation-delay: 1s;
}

/* ===== Navbar ===== */
#navbar {
    background: rgba(250, 246, 241, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(74, 69, 64, 0.06);
}

#navbar.scrolled {
    box-shadow: 0 4px 30px rgba(74, 69, 64, 0.08);
}

/* ===== Mobile Menu ===== */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

#mobileMenu.closed {
    opacity: 0;
    pointer-events: none;
}

.mobile-link {
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

#mobileMenu.open .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Hamburger animation */
#menuIcon.active #bar1 {
    transform: translateY(3.5px) rotate(45deg);
}

#menuIcon.active #bar2 {
    opacity: 0;
    transform: scaleX(0);
}

#menuIcon.active #bar3 {
    transform: translateY(-3.5px) rotate(-45deg);
    width: 1.5rem;
}

/* ===== 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, #d4522e, #e06d52);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

/* ===== Gallery ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    display: block;
    padding-top: 100%;
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Input Focus Styles ===== */
input:focus,
select:focus,
textarea:focus {
    border-color: #e06d52 !important;
    box-shadow: 0 0 0 3px rgba(212, 82, 46, 0.1) !important;
}

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

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

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

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