/* Custom Styles for The Liv'n Room */

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

/* Geometric Shapes Animation */
.geometric-shape {
    position: absolute;
    animation: float 20s ease-in-out infinite;
}

.shape-circle-1 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #ffebef 0%, #ffd5de 100%);
    border-radius: 50%;
    top: 10%;
    right: -5%;
    opacity: 0.15;
    animation-delay: 0s;
}

.shape-circle-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f5a5b8 0%, #ed6b91 100%);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    opacity: 0.2;
    animation-delay: -5s;
}

.shape-rect-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #fce7eb 0%, #fad0d9 100%);
    top: 50%;
    left: 10%;
    opacity: 0.1;
    transform: rotate(45deg);
    animation-delay: -10s;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid rgba(255, 215, 184, 0.1);
    top: 30%;
    right: 15%;
    animation-delay: -7s;
}

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

/* Navbar Styles */
#navbar {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(110, 19, 46, 0.1);
}

.nav-logo-text {
    transition: color 0.3s ease;
}

#navbar:not(.scrolled) .nav-logo-text {
    color: #FFF8F0;
}

#navbar.scrolled .nav-logo-text {
    color: #6e132e;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff748a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar:not(.scrolled) .nav-link {
    color: #FFF8F0;
}

#navbar:not(.scrolled) .nav-link:hover {
    color: #ff748a;
}

/* 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 {
    position: relative;
    padding-left: 0;
}

.mobile-link::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 100%;
    background: #fce7eb;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.mobile-link:hover::before {
    width: 4px;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

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

::-webkit-scrollbar-track {
    background: #FFF8F0;
}

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

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

/* Selection Color */
::selection {
    background: #ffebef;
    color: #6e132e;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .geometric-shape,
    .reveal {
        animation: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    img {
        transition: none;
    }
}

/* Print Styles */
@media print {
    .geometric-shape,
    #navbar,
    .animate-bounce {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
