/* AL ARAB SHIPPING - MASTER STYLESHEET 
    TOTAL LINES: 388 
*/

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

body {
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* --- Header & Logo (LOCKED) --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), transparent);
}

.logo {
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff 0%, #ffffff 45%, #c5a059 55%, #c5a059 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineEffect 5s linear infinite;
    flex-shrink: 0;
    white-space: nowrap;
}

@keyframes shineEffect {
    to { background-position: 200% center; }
}

.nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.nav-links-desktop {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links-desktop a {
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    white-space: nowrap;
    transition: 0.3s;
}

.nav-links-desktop a:hover { color: #c5a059; }

.btn-contact {
    border: 1.5px solid #c5a059;
    padding: 10px 18px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-contact:hover {
    background: #c5a059;
    color: #000;
}

/* --- Navigation Mobile --- */
.menu-toggle {
    display: none; 
    flex-direction: column;
    gap: 7px;
    cursor: pointer;
    z-index: 1100;
    margin-left: 20px;
}

.bar {
    width: 30px;
    height: 2px;
    background-color: #c5a059;
    transition: 0.4s;
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

.nav-links-mobile {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100vh;
    width: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 35px;
    transition: 0.6s cubic-bezier(0.77, 0.2, 0.05, 1);
}

.nav-links-mobile.active { right: 0; }

.nav-links-mobile a {
    text-decoration: none;
    color: #fff;
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 4px;
}

/* --- Hero Logic (Global) --- */
.hero, .inner-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    padding-top: 100px; 
}

.inner-hero { height: 75vh; }

.hero { background: url('https://images.unsplash.com/photo-1512632510424-2b872365922b?q=80&w=2070') no-repeat center center/cover; }

.inner-hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1570114002730-07205ba9343f?q=80&w=2070') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%);
}

.hero-content { position: relative; z-index: 10; width: 90%; max-width: 1200px; }

/* --- Dynamic Titles --- */
.dynamic-title {
    font-family: 'Amiri', serif;
    font-size: clamp(2.2rem, 7vw, 5.5rem);
    transition: opacity 0.4s ease;
}

.arabic-title {
    font-family: 'Amiri', serif;
    color: #c5a059;
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 0;
    line-height: 1.2;
}

.main-title {
    font-size: clamp(1.2rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: 12px;
    margin: 15px 0;
    font-weight: 200;
}

.sub-tagline {
    font-size: 14px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #aaa;
    margin-top: 15px;
}

.divider {
    width: 60px;
    height: 1px;
    background: #c5a059;
    margin: 35px auto;
}

/* --- Fleet & Services Grid (CORRECTED SPACING) --- */
.fleet-section, .content-section {
    padding: 120px 10%; 
    background: #000;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px; 
    margin-top: 60px;
}

.vessel-card {
    background: #0a0a0a;
    border: 1px solid rgba(197, 160, 89, 0.1);
    padding: 45px 35px; 
    transition: 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 480px; /* Increased to accommodate content without overlap */
}

.vessel-card:hover {
    border-color: #c5a059;
    transform: translateY(-10px);
    background: #111;
}

.vessel-card h3 {
    color: #c5a059;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 1.3rem;
    margin-bottom: 25px;
}

.vessel-card .body-text {
    font-size: 15px;
    line-height: 1.8;
    color: #bbb;
    flex-grow: 1; 
}



/* --- Technical Spec Alignment Fix (FIXED) --- */
.spec-list {
    list-style: none;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #222;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Better for multi-line values */
    margin-bottom: 12px;
    gap: 20px;
}

.spec-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #666;
    font-weight: 700;
    flex-shrink: 0;
    width: 100px; /* FIXED WIDTH prevents text staggering */
}

.spec-value {
    color: #fff;
    font-weight: 700;
    text-align: right;
    font-size: 11px;
    text-transform: uppercase;
    flex-grow: 1;
}

/* --- About Content Sections --- */
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    margin-bottom: 40px;
    line-height: 1.2;
}

.gold-text { color: #c5a059; }

.body-text {
    font-size: 17px;
    line-height: 1.8;
    color: #ccc;
    font-weight: 200;
}

.founder-section { padding: 100px 10%; background: #000; }

.founder-card { border-left: 2px solid #c5a059; padding-left: 40px; }

.quote-text {
    font-style: italic;
    font-family: 'Amiri', serif;
    font-size: 24px;
    color: #eee;
    margin-top: 20px;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Footer (LOCKED) --- */
.footer {
    padding: 80px 0; 
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.2);
}

.social-links { display: flex; justify-content: center; gap: 30px; margin-bottom: 25px; }

.social-links a i {
    color: #c5a059 !important;
    font-size: 20px;
    transition: 0.3s;
}

.social-links a:hover i { color: #fff !important; transform: translateY(-5px); }

.copyright { font-size: 10px; letter-spacing: 2px; color: #ffffff; text-transform: uppercase; }

/* --- WhatsApp (LOCKED) --- */
.whatsapp-float {
    position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px;
    background-color: #25d366; color: #FFF; border-radius: 50px;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; z-index: 2000; transition: 0.3s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* --- Tablet & Mobile Fixes --- */
@media screen and (max-width: 1250px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: flex; } 
    .navbar { height: 80px; }
    .hero, .inner-hero { padding-top: 80px; }
    .fleet-section, .content-section { padding: 80px 5%; }
}

@media screen and (max-width: 600px) {
    .main-title { letter-spacing: 6px; }
    .vessel-card { padding: 30px 20px; min-height: auto; }
    .spec-label { width: 85px; }
    .spec-value { font-size: 10px; }
}

/* Final Settle Styling for JS Transition */
.final-settle {
    font-family: 'Montserrat', sans-serif;
    color: #c5a059;
    letter-spacing: clamp(5px, 2vw, 15px);
    font-weight: 200;
}

#global-map-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
    background: #080808; /* Ensure this is slightly lighter than pure black */
    border: 1px solid rgba(197, 160, 89, 0.1);
}

/* Ensure the dots are clearly visible even if the map is dark */
.marker-office {
    background: #c5a059;
    border: 2px solid #fff;
    box-shadow: 0 0 20px #c5a059, 0 0 40px rgba(197, 160, 89, 0.4);
}

.marker-port {
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}