/* Custom Styles for Atlantis Commercial Diving */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection Color */
::selection {
    background-color: rgba(255, 107, 46, 0.2);
    color: inherit;
}

/* Navbar Transition */
.nav-text {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-scrolled .nav-text {
    color: #1a1a1a;
}

.navbar-scrolled .nav-link {
    color: #4a4a4a;
}

.navbar-scrolled .nav-link:hover {
    color: #ff6b2e;
}

/* Mobile Menu */
.mobile-nav-link {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Animation */
.hero-content {
    opacity: 1;
    transform: translateY(0);
}

/* Service Cards */
.service-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

/* Program Cards */
.program-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.program-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Testimonial Cards */
.testimonial-card {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

/* Stat Items */
.stat-item {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Form Inputs */
input,
select,
textarea {
    font-family: 'Lato', system-ui, sans-serif;
}

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

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

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

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

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

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: translateY(0);
    }
    
    .service-card,
    .program-card,
    .testimonial-card {
        transition: none;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.1;
    }
}
