/* ===========================================
   GEOMARINE SYSTEM - MODERN CSS FRAMEWORK
   =========================================== */

:root {
    --primary-blue: #0B3B6D;
    --ocean-blue: #1E5F99;
    --light-blue: #4A8FC7;
    --accent-blue: #2D7DD2;
    --dark-navy: #041E42;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --border-color: #E9ECEF;
    --success-green: #28A745;
    --warning-orange: #FFC107;
    --danger-red: #DC3545;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* ===========================================
   HEADER STYLES
   =========================================== */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    height: 60px;
    width: auto;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--primary-blue) !important;
    margin: 0 15px;
    padding: 8px 0 !important;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--accent-blue) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-blue);
    transition: width 0.3s ease;
}

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

.btn-forecast {
    background: linear-gradient(135deg, #FF4757, #FF3742);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
}

.btn-forecast:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
}

/* ===========================================
   PAGE HEADER STYLES
   =========================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ocean-blue) 100%);
    padding: 120px 0 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><path d="M0,6V0h1000v100L0,6z"/></svg>');
    background-size: cover;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    max-width: 600px;
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--ocean-blue) 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(255,255,255,0.1)"><path d="M0,6V0h1000v100L0,6z"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: 'Merriweather', serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    font-size: 1.1rem;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45, 125, 210, 0.4);
    color: white;
}

.btn-secondary-custom {
    background: transparent;
    color: var(--accent-blue);
    padding: 12px 30px;
    border: 2px solid var(--accent-blue);
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary-custom:hover {
    background: var(--accent-blue);
    color: white;
    transform: translateY(-2px);
}

/* ===========================================
   SECTION STYLES
   =========================================== */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Merriweather', serif;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 600px;
    margin: 0 auto;
}

.content-section {
    padding: 100px 0;
}

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

.bg-white-section {
    background: var(--white);
}

.bg-primary-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--ocean-blue));
    color: white;
}

/* ===========================================
   CARDS
   =========================================== */
.service-card, .feature-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.service-card::before, .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
}

.service-card:hover, .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.service-icon, .feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: white;
    font-size: 2rem;
}

.service-card h3, .feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.service-card p, .feature-card p {
    color: var(--medium-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ===========================================
   LISTS
   =========================================== */
.service-list, .feature-list {
    list-style: none;
    padding: 0;
}

.service-list li, .feature-list li {
    padding: 8px 0;
    color: var(--medium-gray);
    position: relative;
    padding-left: 25px;
}

.service-list li::before, .feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
    font-weight: bold;
}

/* ===========================================
   SPECIAL SECTIONS
   =========================================== */
.monitoring-section {
    padding: 120px 0;
    background: var(--primary-blue);
    color: white;
    position: relative;
}

.monitoring-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
}

.monitoring-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.monitoring-card p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-monitoring {
    background: var(--white);
    color: var(--primary-blue);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 10px;
}

.btn-monitoring:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
    color: var(--primary-blue);
}

/* ===========================================
   FOOTER
   =========================================== */
.main-footer {
    background: var(--dark-navy);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--ocean-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-blue);
    transform: translateY(-3px);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.contact-info i {
    width: 20px;
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.7);
}

/* ===========================================
   SCROLL TO TOP
   =========================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
    color: white;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */
@media (max-width: 768px) {
    .hero-title, .page-header h1 {
        font-size: 2.2rem;
    }
    
    .hero-subtitle, .page-header p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .navbar-nav {
        text-align: center;
        padding-top: 20px;
    }
    
    .navbar-nav .nav-link {
        margin: 10px 0;
    }
    
    .service-card, .feature-card {
        margin-bottom: 30px;
    }
}

/* ===========================================
   MOBILE MENU
   =========================================== */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23000' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}
