/* Tailwind CSS Configuration and Custom Styles */

/* Custom Color Variables */
:root {
    --ocean-blue: #1e40af;
    --ocean-dark: #1e3a8a;
    --ocean-light: #3b82f6;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Custom Utility Classes */
.ocean-blue {
    color: var(--ocean-blue);
}

.bg-ocean-blue {
    background-color: var(--ocean-blue);
}

.ocean-dark {
    color: var(--ocean-dark);
}

.bg-ocean-dark {
    background-color: var(--ocean-dark);
}

.ocean-light {
    color: var(--ocean-light);
}

.bg-ocean-light {
    background-color: var(--ocean-light);
}

/* Navigation Styles */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--ocean-blue);
}

.nav-link.active {
    color: var(--ocean-blue);
    font-weight: 600;
}

/* Mobile Menu Animation */
.mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-10px);
    opacity: 0;
}

.mobile-menu.show {
    transform: translateY(0);
    opacity: 1;
}

/* Hero Section Styles */
.hero-gradient {
    background: linear-gradient(135deg, var(--ocean-dark) 0%, var(--ocean-blue) 100%);
}

.hero-title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Card Hover Effects */
.service-card {
    transition: all 0.3s ease;
    border: 2px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--ocean-blue);
}

/* Image Placeholder Styles */
.image-placeholder {
    background-color: #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    border-radius: 8px;
}

.image-placeholder i {
    margin-bottom: 8px;
}

/* Button Styles */
.btn-primary {
    background-color: #fbbf24;
    color: var(--ocean-dark);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #f59e0b;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: white;
    color: var(--ocean-blue);
}

/* Statistics Section */
.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--ocean-blue);
    margin-bottom: 8px;
}

/* Border Accent */
.border-accent {
    border-left: 4px solid var(--ocean-blue);
    padding-left: 24px;
}

/* Responsive Typography */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
}

@media (min-width: 1025px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .stats-number {
        font-size: 3.5rem;
    }
}

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

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navigation Scroll Effect */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.footer-link {
    color: #9ca3af;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* Contact Bar Responsive */
.contact-bar {
    background-color: var(--ocean-dark);
    color: white;
    padding: 8px 0;
}

@media (max-width: 640px) {
    .contact-bar {
        font-size: 0.75rem;
    }
}

/* Service Grid Responsive */
.service-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--ocean-blue);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ocean-dark);
}