/* Custom Styles for Fresh to Death Esthetics */

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

/* Hero Gradient */
.hero-gradient {
    background: linear-gradient(135deg, #1B4332 0%, #2a562f 35%, #143326 70%, #0a1c13 100%);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-description {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-buttons {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

/* Hero Circles */
.hero-circle {
    animation: scaleIn 1.2s ease-out both;
}

.circle-1 { animation-delay: 0.5s; }
.circle-2 { animation-delay: 0.7s; }
.circle-3 { animation-delay: 0.9s; }

/* Scroll Line */
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Navbar */
.navbar-scrolled {
    background: rgba(254, 253, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(27, 67, 50, 0.1);
}

.navbar-scrolled .nav-logo {
    color: #1B4332 !important;
}

.navbar-scrolled .nav-link {
    color: #1B4332 !important;
}

/* Service Cards */
.service-card {
    transition: all 0.4s ease;
}

.service-card:hover {
    background: #fefdf8;
    transform: translateY(-2px);
}

.service-card:hover .service-icon {
    color: #1B4332;
}

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

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Menu Animation */
.menu-line.active:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

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

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

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

.gallery-item img {
    transition: transform 0.7s ease;
}

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

/* Form */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%2397c59a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    padding-right: 1.5rem;
}

/* 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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: #c5dfc8;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #97c59a;
}

/* Selection */
::selection {
    background: #1B4332;
    color: #fefdf8;
}
