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

/* ── Geometric Background Shapes ── */
.geo-shape {
    position: absolute;
    opacity: 0.08;
    pointer-events: none;
}
.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid #d4a017;
    border-radius: 50%;
    top: 10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
}
.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: #d4a017;
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}
.shape-diamond {
    width: 120px;
    height: 120px;
    background: #1a2744;
    transform: rotate(45deg);
    top: 25%;
    left: 8%;
    animation: spin 12s linear infinite;
    opacity: 0.05;
}
.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid #d4a017;
    top: 60%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
    opacity: 0.06;
}
.shape-square {
    width: 80px;
    height: 80px;
    border: 3px solid #1a2744;
    bottom: 20%;
    right: 25%;
    transform: rotate(20deg);
    animation: spin 15s linear infinite reverse;
    opacity: 0.06;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ── Navbar ── */
#navbar {
    background: rgba(250, 248, 244, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}
#navbar.scrolled {
    background: rgba(250, 248, 244, 0.97);
    box-shadow: 0 4px 30px rgba(26, 39, 68, 0.08);
}

/* ── Mobile Menu ── */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}
.menu-line {
    transition: all 0.3s ease;
}
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menuBtn.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Service Cards ── */
.service-card {
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4a017, #e6b422);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.service-card:hover::before {
    transform: scaleX(1);
}

/* ── Scroll Animations ── */
.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; }

/* ── Selection ── */
::selection {
    background: #d4a017;
    color: #1a2744;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #faf8f4; }
::-webkit-scrollbar-thumb { background: #1a2744; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #d4a017; }
