/* ===== Custom Styles for Renewed Beauty ===== */

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

/* Custom selection color */
::selection {
    background-color: rgba(120, 31, 45, 0.15);
    color: #781f2d;
}

/* ===== Navbar Styles ===== */
#navbar {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#navbar.scrolled {
    background: rgba(254, 252, 251, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(120, 31, 45, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #781f2d;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Mobile menu */
.mobile-nav-link {
    position: relative;
}

/* ===== Hero Animations ===== */
.hero-subtitle {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.hero-headline {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

.hero-desc {
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
}

.hero-ctas {
    animation: fadeIn 0.8s ease 0.8s forwards;
    opacity: 0;
}

.hero-info {
    animation: fadeIn 0.8s ease 1s forwards;
    opacity: 0;
}

.hero-image-main {
    animation: scaleIn 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
    transform: scale(0.95);
}

.hero-accent-card {
    animation: floatUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

/* ===== Service Card Styles ===== */
.service-card {
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card:hover img {
    transform: scale(1.1);
}

/* ===== Gallery Styles ===== */
.gallery-item {
    cursor: pointer;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* ===== Reveal Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    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;
}

/* ===== Decorative Elements ===== */
.burgundy-gradient {
    background: linear-gradient(135deg, #781f2d 0%, #b8324d 100%);
}

.blush-gradient {
    background: linear-gradient(135deg, #fce7eb 0%, #f9d0d9 100%);
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #f3a8b5;
    border-radius: 4px;
}

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

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

/* ===== Mobile Menu Animations ===== */
.menu-line {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu-btn.active .menu-line:nth-child(1) {
    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;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 3.5rem;
    }
    
    .hero-image-main img {
        height: 400px;
    }
    
    .hero-accent-card {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-headline {
        font-size: 2.75rem;
    }
}
