/* Custom Styles for Hutchinson Communications */

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

/* Hero Animations */
.hero-title {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.hero-desc {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.3s;
}

.hero-cta {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

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

/* Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: flex;
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #9A4B2C;
}

/* Navigation Active State */
.nav-link {
    position: relative;
}

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

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

/* Mobile Menu Animation */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
}

#mobile-menu.open {
    transform: translateX(0);
}

#mobile-menu.closed {
    transform: translateX(100%);
}

/* Form Focus Styles */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.2);
}

/* Button Hover Animation */
button[type="submit"]:hover {
    box-shadow: 0 10px 30px rgba(184, 92, 56, 0.3);
}

/* Image Hover Zoom */
img {
    transition: transform 0.7s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.5rem;
    }
}

@media (min-width: 768px) {
    .font-serif {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .font-serif {
        font-size: 4.5rem;
    }
}
