/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

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

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(217, 74, 38, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: -5%;
    animation: float-slow 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: 60%;
    right: -3%;
    animation: float-slow 6s ease-in-out infinite reverse;
}

.shape-square-1 {
    width: 80px;
    height: 80px;
    background: rgba(217, 74, 38, 0.06);
    border-radius: 16px;
    top: 25%;
    right: 8%;
    transform: rotate(15deg);
    animation: spin-slow 12s linear infinite;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid rgba(250, 204, 21, 0.1);
    top: 70%;
    left: 5%;
    animation: float-slow 7s ease-in-out infinite;
}

.shape-circle-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(217, 74, 38, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 10%;
    left: 30%;
    animation: float-slow 9s ease-in-out infinite reverse;
}

.shape-dot-group {
    top: 40%;
    right: 15%;
    display: flex;
    gap: 12px;
    animation: float-slow 5s ease-in-out infinite;
}

.shape-dot-group::before,
.shape-dot-group::after {
    content: '';
    width: 10px;
    height: 10px;
    background: rgba(217, 74, 38, 0.15);
    border-radius: 50%;
}

.shape-dot-group::before {
    width: 6px;
    height: 6px;
    background: rgba(250, 204, 21, 0.3);
    margin-top: -8px;
}

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

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

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

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

/* Reduced motion: keep everything visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .geo-shape {
        animation: none;
    }
    html { scroll-behavior: auto; }
}

/* ========== MOBILE MENU ========== */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== FORM STYLES ========== */
#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s;
    background: #fff;
}

#contactForm input:focus,
#contactForm textarea:focus {
    outline: none;
    border-color: #d94a26;
}

#contactForm textarea {
    resize: vertical;
    min-height: 120px;
}

#formSuccess {
    display: none;
    text-align: center;
    padding: 2rem;
}

#formSuccess.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SUCCESS MESSAGE ========== */
.success-message {
    display: none;
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    text-align: center;
}

.success-message.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}
