/* ===== Custom Styles for Hair By Morgan Moriconi ===== */

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

/* ===== Geometric Hero Shapes ===== */
.geo-shape {
    position: absolute;
    opacity: 0.12;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.6) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float 10s ease-in-out infinite reverse;
}

.geo-circle-3 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(251, 191, 36, 0.3);
    top: 30%;
    left: 10%;
    animation: spin 20s linear infinite;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(251, 191, 36, 0.15);
    top: 20%;
    right: 15%;
    animation: float 6s ease-in-out infinite;
    transform-origin: center;
}

.geo-diamond {
    width: 100px;
    height: 100px;
    background: rgba(251, 191, 36, 0.1);
    bottom: 25%;
    right: 25%;
    transform: rotate(45deg);
    animation: spin 15s linear infinite;
}

.geo-ring {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid rgba(251, 191, 36, 0.2);
    top: 60%;
    left: 20%;
    animation: float 7s ease-in-out infinite reverse;
}

/* Dot pattern */
.dot-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(251, 191, 36, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

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

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

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

/* ===== Scroll Reveal (progressive enhancement) ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .scroll-reveal:not(.revealed) {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

#navbar.scrolled .logo-text {
    color: #751630;
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    transition: transform 0.3s ease-in-out;
}

#mobileMenu.open {
    transform: translateX(0);
}

#mobileMenu.close {
    transform: translateX(100%);
}

/* ===== Button Hover Effects ===== */
a:hover {
    transition: all 0.2s ease;
}

/* ===== Image Hover ===== */
.group:hover .group-hover\\:scale-110 {
    transition: transform 0.5s ease;
}

/* ===== Custom Selection ===== */
::selection {
    background: #e04570;
    color: white;
}

/* ===== Focus Styles ===== */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* ===== Smooth card transitions ===== */
.group {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* ===== Print Styles ===== */
@media print {
    nav, #contact, footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
