/* Custom styles for Georgetown City Fire Department Station 3 */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: #0a1628;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

::-webkit-scrollbar-track {
    background: #0f2140;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4a017, #e6b422);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b8860b, #d4a017);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
}

/* Button styles */
.btn-primary {
    background: linear-gradient(135deg, #d4a017 0%, #e6b422 50%, #f0c94d 100%);
    color: #0a1628;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8860b 0%, #d4a017 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 160, 23, 0.3);
}

.btn-secondary {
    border: 2px solid rgba(212, 160, 23, 0.6);
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-secondary:hover {
    background: rgba(212, 160, 23, 0.15);
    border-color: #e6b422;
    color: #f0c94d;
}

/* Badge styles */
.badge {
    background: rgba(212, 160, 23, 0.15);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: #e6b422;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Service cards */
.service-card {
    background: rgba(15, 33, 64, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(10, 22, 40, 0.12);
}

/* Icon circles */
.icon-circle {
    background: linear-gradient(135deg, rgba(212, 160, 23, 0.15) 0%, rgba(230, 180, 34, 0.08) 100%);
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

/* Navigation */
.nav-scrolled {
    background: rgba(10, 22, 40, 0.97) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

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

.mobile-link {
    display: block;
    padding: 0.75rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    transition: background-color 0.3s ease;
}

.mobile-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Contact form */
.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 160, 23, 0.3);
    color: #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    width: 100%;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #e6b422;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23e6b422' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.contact-form select option {
    background: #0f2140;
    color: #ffffff;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.pulse-dot {
    animation: pulse 2s infinite;
}

/* Scroll reveal */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Gradient backgrounds */
.gold-gradient {
    background: linear-gradient(135deg, #d4a017 0%, #e6b422 50%, #f0c94d 100%);
}

.navy-gradient {
    background: linear-gradient(135deg, #0a1628 0%, #142d54 100%);
}

/* Section dividers */
.section-divider {
    background: linear-gradient(90deg, transparent 0%, #d4a017 50%, transparent 100%);
    height: 2px;
}

/* Map container */
.map-container {
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;
    }
    
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 0.625rem 0.875rem;
    }
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #e6b422;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #ffffff;
}
