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

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

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

::selection {
    background: #D4A017;
    color: #0A1628;
}

/* ========== GEOMETRIC SHAPES (Hero) ========== */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.08) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.geo-circle--2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(15, 33, 64, 0.05) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
}

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

.geo-rect--1 {
    width: 120px;
    height: 120px;
    background: rgba(212, 160, 23, 0.06);
    border: 2px solid rgba(212, 160, 23, 0.15);
    top: 20%;
    left: 5%;
    transform: rotate(45deg);
    border-radius: 8px;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
}

.geo-triangle--1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(212, 160, 23, 0.05);
    bottom: 15%;
    right: 8%;
    transform: rotate(-15deg);
}

.geo-dots {
    position: absolute;
    pointer-events: none;
    width: 100px;
    height: 100px;
    top: 30%;
    right: 15%;
    background-image: radial-gradient(circle, rgba(212, 160, 23, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    opacity: 0.6;
}

/* ========== BUTTONS ========== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A1628;
    color: #FBF7F0;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0A1628;
}

.btn-primary:hover {
    background: #D4A017;
    color: #0A1628;
    border-color: #D4A017;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 160, 23, 0.3);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0A1628;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0A1628;
}

.btn-secondary:hover {
    background: #0A1628;
    color: #FBF7F0;
    transform: translateY(-2px);
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0A1628;
    color: #FBF7F0;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0A1628;
}

.btn-cta:hover {
    background: #0A1628;
    color: #D4A017;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 22, 40, 0.3);
}

.btn-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #0A1628;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #0A1628;
}

.btn-cta-outline:hover {
    background: #0A1628;
    color: #FBF7F0;
    transform: translateY(-2px);
}

/* ========== SCROLL INDICATOR ========== */
.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, #D4A017, transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.5; transform: scaleY(0.7); }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    opacity: 1;
}

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

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

.gallery-item img {
    transition: transform 0.7s ease;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-line {
        animation: none;
        opacity: 1;
    }
    .gallery-item img {
        transition: none;
    }
}

/* ========== NAVBAR ========== */
#navbar.scrolled {
    background: rgba(251, 247, 240, 0.95);
    backdrop-blur-md;
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

/* Mobile menu */
#mobile-menu {
    background: rgba(251, 247, 240, 0.98);
    backdrop-blur-lg;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* ========== REVIEW CARDS ========== */
.review-card {
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 6rem;
    color: rgba(212, 160, 23, 0.1);
    line-height: 1;
    pointer-events: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .geo-circle--1 {
        width: 300px;
        height: 300px;
    }
    .geo-circle--2 {
        width: 200px;
        height: 200px;
    }
    .geo-rect--1 {
        width: 60px;
        height: 60px;
    }
    .geo-triangle--1 {
        border-left: 30px solid transparent;
        border-right: 30px solid transparent;
        border-bottom: 50px solid rgba(212, 160, 23, 0.05);
    }
    .geo-dots {
        width: 50px;
        height: 50px;
    }
}
