/* Custom styles supplementing Tailwind */

/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* Selection color */
::selection {
    background: #d44f28;
    color: #fff;
}

/* Geometric decorative shapes */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

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

/* Hero split layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-img-side {
        order: -1;
        min-height: 50vh;
    }
    .hero-text-side {
        padding: 6rem 1.5rem 4rem;
    }
}

/* Scroll reveal animation - progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Service card hover */
.service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(212, 79, 40, 0.15);
}

/* CTA Buttons */
.btn-primary {
    background: #d44f28;
    color: #fff;
    transition: background 0.25s ease, transform 0.2s ease;
}
.btn-primary:hover {
    background: #c23a18;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent;
    color: #d44f28;
    border: 2px solid #d44f28;
    transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}
.btn-secondary:hover {
    background: #d44f28;
    color: #fff;
    transform: translateY(-2px);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger icon */
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf8e8;
}
::-webkit-scrollbar-thumb {
    background: #d44f28;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #c23a18;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #d44f28;
    outline-offset: 2px;
}

/* Map container */
iframe {
    filter: saturate(0.8) contrast(1.1);
    transition: filter 0.3s ease;
}
iframe:hover {
    filter: saturate(1) contrast(1);
}
