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

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== GEOMETRIC BACKGROUND SHAPES ===== */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    top: 10%;
    right: -4%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-circle-2 {
    bottom: 5%;
    left: -6%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 148, 74, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    top: 40%;
    right: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float-slow 6s ease-in-out infinite;
}

.geo-square-1 {
    top: 20%;
    left: 55%;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(192, 96, 58, 0.1);
    border-radius: 16px;
    transform: rotate(45deg);
    animation: spin-slow 20s linear infinite;
}

.geo-triangle-1 {
    bottom: 20%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(212, 148, 74, 0.08);
    animation: float-slow 7s ease-in-out infinite;
}

.geo-dots {
    top: 35%;
    left: 8%;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(circle, rgba(192, 96, 58, 0.15) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    opacity: 0.6;
    animation: float-slow 9s ease-in-out infinite reverse;
}

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

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

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

#navbar.scrolled {
    background: rgba(253, 248, 240, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* ===== SERVICE CARDS ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    transition: border-color 0.4s ease;
    pointer-events: none;
}

.service-card:hover::before {
    border-color: rgba(255, 255, 255, 0.2);
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(192, 96, 58, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 16px;
    pointer-events: none;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== TESTIMONIAL CARDS ===== */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    left: 24px;
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    line-height: 1;
    color: rgba(192, 96, 58, 0.08);
    pointer-events: none;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    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; }

/* ===== MOBILE MENU ===== */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #C0603A;
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* ===== INPUT FOCUS ===== */
input:focus, select:focus, textarea:focus {
    border-color: #C0603A !important;
    box-shadow: 0 0 0 4px rgba(192, 96, 58, 0.1) !important;
}

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

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

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

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

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 300px;
        height: 300px;
    }

    .geo-circle-2 {
        width: 250px;
        height: 250px;
    }

    .geo-square-1 {
        display: none;
    }

    .geo-triangle-1 {
        display: none;
    }

    .geo-dots {
        display: none;
    }
}
