/* Color Palette - Marine Blues */
:root {
    --ocean-deep: #0a4d68;
    --ocean-medium: #088395;
    --ocean-light: #05bfdb;
    --ocean-sky: #00ffca;
    --sand-light: #f0f8ff;
    --white: #ffffff;
    --gray-light: #e8f4f8;
    --gray-medium: #b0c4de;
    --shadow: rgba(10, 77, 104, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    background: var(--sand-light);
}

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

/* Navigation */
.navbar {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-medium) 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 50px;
    width: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.navbar-brand:hover .logo {
    transform: rotate(360deg) scale(1.1);
}

.brand-text {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ocean-sky);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.btn-client-portal {
    background: var(--ocean-light);
    border-radius: 25px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
}

.btn-client-portal:hover {
    background: var(--ocean-sky);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-medium) 50%, var(--ocean-light) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/nautical-map.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    animation: drift 60s infinite linear;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -30px); }
    100% { transform: translate(0, 0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(0, 255, 202, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 100px;
}

.animate-fade-in {
    animation: fadeInUp 1s ease-out;
}

.animate-fade-in-delay {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.animate-fade-in-delay-2 {
    animation: fadeInUp 1s ease-out 0.6s both;
}

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

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

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 255, 202, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(0, 255, 202, 0);
    }
}

.wave-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.wave-animation svg {
    width: 100%;
    height: 100%;
}

.wave-path {
    fill: var(--sand-light);
    animation: wave 8s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% {
        d: path("M0,0 C150,100 350,0 600,50 C850,100 1050,0 1200,50 L1200,120 L0,120 Z");
    }
    50% {
        d: path("M0,50 C150,0 350,100 600,50 C850,0 1050,100 1200,50 L1200,120 L0,120 Z");
    }
}

/* Buttons */
.btn-primary {
    background: var(--ocean-light);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--ocean-sky);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--shadow);
}

.btn-outline-light {
    border: 2px solid var(--white);
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--ocean-deep);
    transform: translateY(-3px);
}

/* Features Section */
.features-section {
    background: var(--sand-light);
    padding: 80px 0;
}

.section-title {
    color: var(--ocean-deep);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--ocean-medium);
    font-size: 1.2rem;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow);
    border-color: var(--ocean-light);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-sky));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-card h3 {
    color: var(--ocean-deep);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-medium) 100%);
    padding: 80px 0;
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/water-texture.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.service-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.service-card i {
    font-size: 3rem;
    color: var(--ocean-light);
    margin-bottom: 1rem;
    display: block;
    transition: all 0.3s ease;
}

.service-card:hover i {
    color: var(--ocean-sky);
    transform: scale(1.2) rotateY(180deg);
}

.service-card h4 {
    color: var(--ocean-deep);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

/* About Section */
.about-section {
    background: var(--white);
    padding: 80px 0;
}

.stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 1.5rem;
    background: var(--gray-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: var(--ocean-light);
}

.stat-number {
    color: var(--ocean-deep);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item:hover .stat-number {
    color: var(--white);
}

.stat-label {
    color: var(--ocean-medium);
    font-weight: 500;
    margin: 0;
}

.stat-item:hover .stat-label {
    color: var(--white);
}

.about-image-container {
    background: linear-gradient(135deg, var(--ocean-light), var(--ocean-sky));
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 40px var(--shadow);
}

.about-logo {
    max-width: 300px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--ocean-medium) 0%, var(--ocean-deep) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 202, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Footer */
.footer {
    background: var(--ocean-deep);
    color: var(--white);
}

.footer-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2);
}

.footer h5 {
    color: var(--ocean-sky);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer a {
    color: var(--gray-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer a:hover {
    color: var(--ocean-sky);
    padding-left: 5px;
}

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
}

/* Utility Classes */
.text-ocean {
    color: var(--ocean-deep);
}

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

.bg-ocean-gradient {
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-light) 100%);
}
