/* Custom Styles for Lloyd's Transmission Service */

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

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

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

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

/* Animation classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effects for links */
a:hover {
    transition: all 0.3s ease;
}

/* Mobile menu transitions */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.3);
}

/* Button hover glow effect */
button:hover,
a:hover {
    filter: brightness(1.1);
}

/* Image loading placeholder */
img {
    background: linear-gradient(90deg, #2d1522 25%, #4a2038 50%, #2d1522 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

img.loaded {
    animation: none;
    background: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}
