/* Custom styles for Alterations 4-U */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Geometric background shapes */
.geo-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 85, 38, 0.08) 0%, transparent 70%);
    top: 10%;
    left: -5%;
    border-radius: 50%;
}

.shape-circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.1) 0%, transparent 70%);
    bottom: 15%;
    right: 5%;
    border-radius: 50%;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(212, 85, 38, 0.06);
    top: 25%;
    right: 15%;
    transform: rotate(15deg);
    border-radius: 20px;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(250, 204, 21, 0.08);
    bottom: 25%;
    left: 10%;
    transform: rotate(-20deg);
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(212, 85, 38, 0.15) 2px, transparent 2px);
    background-size: 15px 15px;
    top: 40%;
    left: 5%;
}

/* Hero dark zone for text readability */
.hero-dark-zone {
    background: linear-gradient(135deg, #2d1309 0%, #431f12 50%, #2d1309 100%);
}

/* Service card hover effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #d45526;
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* Gallery hover */
.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 19, 9, 0.3) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Navbar scroll behavior */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(45, 19, 9, 0.08);
}

/* Mobile menu */
.menu-line {
    display: block;
}

#mobile-menu-btn.active .menu-line:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

#mobile-menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#mobile-menu-btn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 1.5rem;
}

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .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; }
}

/* Custom selection color */
::selection {
    background: rgba(212, 85, 38, 0.2);
    color: #2d1309;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d45526;
    outline-offset: 2px;
    border-radius: 4px;
}
