/* ====================================
   PREMIUM MARITIME DESIGN SYSTEM
   ==================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Premium Maritime Palette */
    --navy-dark: #0a1628;
    --navy-mid: #1a2d4a;
    --ocean-blue: #0077b6;
    --ocean-light: #00a8e8;
    --steel-grey: #64748b;
    --slate-light: #e2e8f0;
    --white: #ffffff;
    --success-green: #22c55e;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--navy-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ====================================
   TYPOGRAPHY
   ==================================== */
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 700;
}

.section-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--ocean-blue);
    margin-bottom: 12px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--navy-dark);
}

.section-subtitle {
    font-size: 18px;
    color: var(--steel-grey);
    max-width: 600px;
    margin: 0 auto 50px;
}

.text-center {
    text-align: center;
}

/* ====================================
   BUTTONS
   ==================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

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

.btn-primary:hover {
    background: var(--navy-mid);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--navy-dark);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--navy-mid);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-dark);
}

.btn-success {
    background: var(--success-green);
    color: var(--white);
}

.btn-success:hover {
    filter: brightness(1.1);
}

.btn-block {
    width: 100%;
}

/* ====================================
   HEADER
   ==================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 0;
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 400;
    color: var(--ocean-light);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 36px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--slate-light);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--ocean-light);
}

/* ====================================
   SECTION 1: HERO
   ==================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url("../img/hero.b72e156d7530.avif") center/cover;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.92) 0%, rgba(26, 45, 74, 0.85) 100%);
}

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

.hero-text {
    max-width: 700px;
}

.hero-headline {
    font-size: 60px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtext {
    font-size: 20px;
    color: var(--slate-light);
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        top: 8px;
        opacity: 1;
    }

    50% {
        top: 24px;
        opacity: 0.3;
    }
}

/* ====================================
   SECTION 2: TRUST STRIP
   ==================================== */
.trust-strip {
    background: var(--navy-dark);
    padding: 60px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.trust-item {
    color: var(--white);
}

.trust-icon {
    font-size: 36px;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.trust-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--ocean-light);
    margin-bottom: 8px;
}

.trust-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--steel-grey);
}

/* ====================================
   SECTION 3: ABOUT
   ==================================== */
.about-section {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    font-size: 18px;
    color: var(--steel-grey);
    margin-bottom: 24px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--navy-dark);
}

.about-image .image-placeholder {
    background: linear-gradient(135deg, var(--navy-mid), var(--ocean-blue));
    height: 450px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
}

/* ====================================
   SECTION 4: PRODUCTS
   ==================================== */
.products-section {
    padding: 120px 0;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--white);
    padding: 40px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-icon {
    font-size: 48px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.product-card:hover .product-icon {
    transform: scale(1.2);
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy-dark);
}

.product-card p {
    font-size: 14px;
    color: var(--steel-grey);
}

/* ====================================
   SECTION 5: PROCESS TIMELINE
   ==================================== */
.process-section {
    padding: 120px 0;
    background: var(--white);
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 25px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--slate-light);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 50px;
    height: 50px;
    background: var(--ocean-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 18px;
    box-shadow: 0 0 0 8px rgba(0, 119, 182, 0.15);
    transition: var(--transition);
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 12px rgba(0, 119, 182, 0.2);
}

.timeline-content h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--navy-dark);
}

.timeline-content p {
    font-size: 13px;
    color: var(--steel-grey);
    max-width: 150px;
    margin: 0 auto;
}

/* ====================================
   SECTION 6: WHY CHOOSE US
   ==================================== */
.why-section {
    padding: 120px 0;
    background: #f8fafc;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.why-card:hover {
    border-top-color: var(--ocean-blue);
    transform: translateY(-4px);
}

.why-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.why-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--navy-dark);
}

.why-card p {
    font-size: 15px;
    color: var(--steel-grey);
}

/* ====================================
   SECTION 7: CTA
   ==================================== */
.cta-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1494675823548-6b6ad33a4a79?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.9);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    font-size: 38px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 18px;
    color: var(--slate-light);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--slate-light);
    border-radius: 8px;
    font-size: 15px;
    font-family: var(--font-main);
    margin-bottom: 16px;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ocean-blue);
}

/* Form Messages */
.form-messages {
    margin-bottom: 1.5rem;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.alert-success {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid #27ae60;
}

.alert-error {
    background-color: rgba(192, 57, 43, 0.1);
    color: #c0392b;
    border: 1px solid #c0392b;
}

/* ====================================
   FOOTER (Keep existing premium footer)
   ==================================== */
.footer-premium {
    background-color: var(--navy-dark);
    color: #e0e6ed;
    padding: 80px 0 0;
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--ocean-blue);
}

.brand-col .logo-text {
    color: var(--white);
}

.footer-about {
    line-height: 1.8;
    color: #a0aec0;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
}

.social-link:hover {
    background: var(--ocean-blue);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 16px;
    color: #a0aec0;
}

.footer-bottom-bar {
    background-color: #06121d;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #718096;
    font-size: 13px;
}

.bottom-links {
    display: flex;
    gap: 25px;
}

.bottom-links a {
    color: #718096;
    text-decoration: none;
    transition: var(--transition);
}

.bottom-links a:hover {
    color: var(--white);
}

/* ====================================
   ANIMATIONS
   ==================================== */
.animate-fade-up {
    animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: var(--transition-slow);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ====================================
   RESPONSIVE
   ==================================== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .timeline {
        flex-wrap: wrap;
        gap: 40px;
    }

    .timeline-line {
        display: none;
    }

    .timeline-item {
        flex: 0 0 calc(33.33% - 27px);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-menu,
    .header-cta {
        display: none;
    }

    .hero-headline {
        font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .cta-content {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .timeline-item {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 32px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .bottom-bar-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .timeline-item {
        flex: 0 0 100%;
    }
}