/* ── Base & Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { -webkit-font-smoothing: antialiased; }

/* ── Hero Gradient ── */
.hero-gradient {
    background: linear-gradient(135deg, #73341F 0%, #C0603A 35%, #DFB84A 70%, #E8C86E 100%);
}

/* ── Geometric Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    top: 5%;
    left: -5%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    animation: float-slow 8s ease-in-out infinite;
}

.geo-circle-2 {
    top: 60%;
    right: -3%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(224, 184, 74, 0.3);
    animation: float-slow 6s ease-in-out infinite reverse;
}

.geo-circle-3 {
    bottom: 10%;
    left: 10%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: float-slow 10s ease-in-out infinite;
}

.geo-square-1 {
    top: 15%;
    right: 10%;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.geo-square-2 {
    bottom: 20%;
    right: 25%;
    width: 60px;
    height: 60px;
    background: rgba(224, 184, 74, 0.25);
    transform: rotate(20deg);
    animation: float-slow 7s ease-in-out infinite;
}

.geo-triangle-1 {
    bottom: 5%;
    left: -2%;
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(255, 255, 255, 0.07);
    animation: float-slow 9s ease-in-out infinite;
}

.geo-dots {
    top: 20%;
    left: 5%;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    animation: float-slow 11s ease-in-out infinite reverse;
}

.geo-line-1 {
    top: 30%;
    right: 5%;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: rotate(-15deg);
    animation: float-slow 8s ease-in-out infinite;
}

.geo-line-2 {
    bottom: 30%;
    left: 15%;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(224,184,74,0.4), transparent);
    transform: rotate(10deg);
    animation: float-slow 7s ease-in-out infinite reverse;
}

/* ── Animations ── */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rot, 0deg)); }
}

@keyframes spin-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

@keyframes scroll-dot {
    0% { top: 0; opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* ── Scroll Indicator ── */
.scroll-dot {
    animation: scroll-dot 1.5s ease-in-out infinite;
}

/* ── Scroll Reveal ── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s 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);
    }
}

/* ── Navbar ── */
.navbar-scrolled {
    background: rgba(250, 247, 242, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(42, 34, 32, 0.08);
}

.navbar-scrolled .nav-line {
    background: #2A2220;
}

/* ── Mobile Menu ── */
.mobile-link {
    display: block;
}

/* ── Service Cards ── */
.service-card {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
    .service-card {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }
    .service-card.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Focus Styles ── */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ── Selection ── */
::selection {
    background: rgba(192, 96, 58, 0.2);
    color: #2A2220;
}
