/* Custom Styles for Hair by Brenda Anderson */

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

/* Base Styles */
body {
    font-family: 'Space Grotesk', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Syne', sans-serif;
}

/* Geometric Background Shapes */
.geo-shape {
    position: fixed;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.circle-1 {
    width: 400px;
    height: 400px;
    background: #FF6B4A;
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.square-1 {
    width: 200px;
    height: 200px;
    background: #FF6B4A;
    bottom: 20%;
    left: -50px;
    transform: rotate(45deg);
    animation: float 15s ease-in-out infinite reverse;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #FF6B4A;
    top: 50%;
    right: 10%;
    animation: float 18s ease-in-out infinite;
}

.circle-2 {
    width: 300px;
    height: 300px;
    background: #FF6B4A;
    border-radius: 50%;
    bottom: 10%;
    left: 30%;
    animation: float 22s ease-in-out infinite reverse;
}

.square-2 {
    width: 150px;
    height: 150px;
    background: #FF6B4A;
    top: 30%;
    left: 5%;
    transform: rotate(30deg);
    animation: float 16s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(5deg);
    }
    66% {
        transform: translateY(20px) rotate(-3deg);
    }
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B4A, #FF8566);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Gallery Items */
.gallery-item {
    position: relative;
    overflow: hidden;
}

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

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

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.mobile-link:hover {
    background: rgba(255, 107, 74, 0.1);
    color: #FF6B4A;
}

/* Menu Animation */
.menu-line {
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1E1E1E;
}

::-webkit-scrollbar-thumb {
    background: #FF6B4A;
    border-radius: 5px;
}

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

/* Selection Color */
::selection {
    background: #FF6B4A;
    color: #121212;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
    
    .geo-shape.circle-1,
    .geo-shape.circle-2 {
        display: block;
        opacity: 0.02;
    }
}
