/* تصغير المسافات عشان الموبايل */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
}

header {
    display: flex;
    justify-content: space-between; /* يرمي اللوجو أقصى الشمال والباقي أقصى اليمين */
    align-items: flex-start; /* يخليهم يبدأوا من فوق خالص */
    padding: 1px 0; /* مساحة صغيرة جداً عشان نلغي البياض */
    position: relative;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.logo-side .logo {
    width: 100px; /* حجم اللوجو */
    margin-bottom: 5px;
}

.info-side {
    display: flex;
    flex-direction: column; /* يخلي الكلام وتحته المنيو */

}

.mako-title {
    font-size: 40px; /* صغرنا الحجم شوية عشان المكان */
    font-weight: 900;
    color: #032c79;
    line-height: 1;
    margin-top: 15px;
}

.sub-title {
    font-size: 20px;
    letter-spacing: 3px;
    margin: 6px;
    text-transform: uppercase;
    
}

.menu-icon {
      position: absolute !important; /* جبر المتصفح يخليها حرة */
    right: 10px !important;       /* جرب رقم صغير عشان تطرفها يمين خالص */
    top: 20px !important;         /* جرب رقم صغير عشان تطلعها لفوق خالص */
    font-size: 40px;
    color: #002b5c;
    z-index: 999;                 /* عشان تضمن إنها فوق أي حاجة تانية */
}

/* ستايل القائمة الجانبية (مخفية في الأول) */
.side-nav {
    height: 100%;
    width: 0; /* عرضها صفر عشان متظهرش */
    position: fixed;
    z-index: 1000;
    top: 0; right: 0;
    background-color: #002b5c; /* لون غامق فخم */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
    text-align: center;
}

.side-nav a {
    padding: 15px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
}

.side-nav .closebtn {
    position: absolute;
    top: 10px; left: 25px;
    font-size: 36px;
}


.hero {
    width: 100%;
    height: 100vh; /* بياخد طول الشاشة بالظبط */
    background-image: url('hero.jpg'); /* حط اسم صورتك هنا */
    background-size: cover; /* الكلمة السحرية عشان تفرش */
    background-position: center; /* عشان الصورة تكون في النص */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-text h2 {
    color: white;
    font-size: 50px;
    text-align: center;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* ضل عشان الكلام يبان */
}

@media (min-width: 1024px) {
    header {
        /* في اللاب توب: المنيو هيروح يمين، واللوجو والكلام هيلزقوا في بعض شمال */
        flex-direction: row; 
    }

    /* هنخلي اللوجو والكلام في حاوية واحدة على الشمال */
    .logo-side {
        display: flex !important;
        align-items: center !important;
        gap: 20px; /* مسافة بين اللوجو وكلمة MAKO */
    }

    /* في اللاب توب المنيو هيفضل لوحده على اليمين */
    .info-side {
        flex-direction: row-reverse; /* يقلب الترتيب عشان المنيو يبعد */
    }
}







/* تصفير أساسي */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* سكشن الرحلات بالكامل */
.trips-section {
    width: 100%;
    padding: 40px 0;
    background-color: #f7f7f7; /* لون خلفية فاتح عشان يفصل عن الـ hero */
}

/* رأس السكشن (العنوان والزرار) */
.trips-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 20px; /* مسافة داخلية من الجناب ومن تحت */
}

.header-text h2 {
    font-size: 27px;
    color: black;
    line-height: 1.1;
    font-weight: 700;
}

/* الزرار الـ view all */
.view-all-btn {
    background-color: #80e2ff; /* نفس درجة اللون التركواز */
    color: black;
    border: none;
    padding: 5px 20px;
    font-size: 15px;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}








/* حاوية السلايدر الأساسية */
.carousel-wrapper {
    overflow-x: auto; /* بتفعل السكرول اليدوي بالعرض */
    -webkit-overflow-scrolling: touch; /* سكرول ناعم للموبايل */
}

/* الكروت مترصوصة جوه الحاوية */
.trips-carousel {
    display: flex; /* بيرص الكروت جنب بعضها */
    gap: 15px; /* مسافة بين الكروت */
    padding: 0 20px; /* مسافة من البداية والنهاية */
}

/* ستايل الكارت الواحد */
.trip-card {
    flex: 0 0 80%; /* أهم سطر: الكارت بياخد 80% من عرض الشاشة عشان الزبون يشوف طرف الكارت اللي بعده */
    aspect-ratio: 3/4; /* نسبة طول الكارت */
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* ستايل طبقة الضل فوق الكارت (عشان الكلام يبان) */
.card-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%); /* ضل متدرج بيبدأ من النص */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* يخلي الكلام ينزل تحت خالص */
    align-items: center;
    padding: 20px;
    color: white;
    text-align: center;
}

.card-overlay h3 {
    font-size: 25px;
    margin-bottom: 5px;
}

.card-overlay p {
    font-size: 17px;
    margin-bottom: 60px;
    line-height: 1.4;
}


.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* الطبقة تغطي الكارت بالكامل */
    
    /* السطر الجديد: لون أسود شفاف يغطي كل حاجة */
    background-color: rgba(0, 0, 0, 0.3); /* 0.5 يعني شفافية 50% */
    
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* يخلي الكلام ينزل تحت */
    padding: 20px;
    color: white; /* الكلام هيفضل أبيض وهيبان جداً دلوقتي */
    border-radius: 10px; /* لو الكارت نفسه واخد دوران، ضيف ده عشان الضل يلف معاها */
}



/* الزرار الـ click here */
.card-btn {
    border: 2px solid white;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}









.carousel-wrapper {
    scroll-snap-type: x mandatory; /* بيفعل الـ snap */
}

.trip-card {
    scroll-snap-align: center; /* بيوقف الكارت في نص الشاشة بالضبط */
}







.video-section {
    width: 100%;
    padding: 0;           /* شيلنا أي مسافات عشان الفيديو يفرش براحته */
    background: #000;      /* خلفية سوداء بتبان أشيك مع الفيديو لوحده */
    overflow: hidden;
}

.video-container {
    width: 100%;
    line-height: 0;       /* عشان نضمن مفيش أي فراغ أبيض تحت الفيديو */
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
    /* لو عايز الفيديو يملأ الشاشة طولاً وعرضاً على الموبايل ضيف السطر ده: */
    /* min-height: 300px; */ 
    object-fit: cover;
}








.boat-details {
    padding: 60px 20px;
    background-color: #80e2ff; /* رمادي فاتح جداً عشان يفصل عن السكاشن اللي قبله */
}

.boat-container {
    display: flex;
    flex-wrap: wrap; /* عشان ينزلوا تحت بعض في الموبايل */
    align-items: center;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.boat-image {
    flex: 1 1 400px; /* يفرش لحد 400 بكسل وبعدين ينزل سطر جديد */
}

.boat-image img {
    width: 100%;
    
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* ضل يخلي الصورة "بارزة" */
}

.boat-info {
    flex: 1 1 400px;
}

.boat-info h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 1px;
    
}

.specs-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.specs-list li {
    margin-bottom: 12px;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.specs-list li span {
    color: #000000; /* لون العلامة الصح نفس لون ثيم الموقع */
    font-weight: bold;
    margin-right: 10px;
}

.boat-tagline {
    font-style: italic;
    color: #666;
    border-left: 3px solid #80e2ff;
    padding-left: 15px;
    margin-top: 25px;
}












/* الحل الجذري للمساحة البيضاء الجانبية */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden; /* يمنع السكرول الجانبي تماماً */
    box-sizing: border-box;
    font-family: sans-serif;
}

*, *:before, *:after {
    box-sizing: border-box;
}

.booking-section {
    width: 100%;
    padding: 20px 15px;
    background: #fff;
}

.content-container {
    width: 100%;
    max-width: 400px; /* يخلي المحتوى ملموم زي الصورة */
    margin: 0 auto;
}

.title {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 15px;
}

.text {
    font-size: 17px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 20px;
}

/* تنسيق الأيقونات السوداء */
.contact-info {
    margin-bottom: 25px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 17px;
}

.info-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
}

/* تنسيق الأيقونات الملونة - الواتساب الأخضر */
.social-icons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.social-icons img {
    width: 50px; /* نفس الحجم اللي في صورتك */
    height: 35px;
    object-fit: contain;
}

/* الفورم اللبني */
.field {
    margin-bottom: 15px;
}

.field label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.field input, .field select {
    width: 100% !important;
    box-sizing: border-box !important; /* بيضمن إن الخانة متخرجش بره */
    height: 48px !important; /* توحيد الارتفاع لكل الخانات */
    padding: 0 15px !important; /* شيلنا الـ padding اللي فوق وتحت عشان الكلام ميتخنقش */
    border: 3px solid #99e6ff;
    border-radius: 35px;
    background: #f9f9f9;
    font-size: 16px !important; /* مقاس مثالي للموبايل */
    outline: none;
    display: flex !important;
    align-items: center !important; /* بيوسطن الكلام بالمللي */
}

/* حركة مخصوصة عشان خانة التاريخ في الموبايل */
input[type="date"] {
    position: relative;
    display: flex;
    align-items: center;
}

.mako-row {
    display: flex;
    flex-direction: column; /* السطر ده هو اللي هيخليهم تحت بعض */
    gap: 15px; /* عشان تسيب مسافة شيك بين التاريخ والوقت */
}

/* وتأكد إن الـ field اللي جواه واخد العرض كامل */
.mako-row .mako-field {
    width: 100%;
}
.send-btn {
    width: 50%;
    display:block;
    margin:20px auto;
    background: #99e6ff;
    border: none;
    padding: 10px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
}












@media (min-width: 1024px) {
    
    /* 1. السكاشن كلها نلمها في النص ونبعد عن الحواف */
    section, .trips-section, .boat-details, .booking-section {
        max-width: 1200px !important;
        margin: 0 auto !important;
        padding: 50px 20px !important;
    }

    /* 2. سكشن الصور (EXPLORE): نخلي العنوان يمين والصور شمال */
    .trips-section {
        display: flex !important;
        flex-direction: row-reverse !important; /* العنوان يمين والكاروسيل شمال */
        align-items: center !important;
        gap: 40px !important;
    }

    .trips-header {
        flex: 1 !important;
        text-align: left !important;
    }

    .carousel-wrapper {
        flex: 2 !important; /* مساحة أكبر للصور */
    }

    .trips-carousel {
        display: flex !important;
        gap: 15px !important;
    }

    .trip-card {
        flex: 1 !important;
        min-width: 200px !important; /* عشان يترصوا جنب بعض */
    }


    













/* تنسيق الخريطة - الموبايل أولاً */
.mako-map-wrapper {
    width: 100%;
    margin: 20px 0;
    line-height: 0;
}

.mako-map-wrapper iframe {
    width: 100%;
    height: 300px; /* طول الموبايل */
    border: none;
}

/* تنسيق اللاب توب - المستطيل العرضي */
@media (min-width: 1024px) {
    .mako-map-wrapper {
        max-width: 1100px; /* العرض اللي بيلمها في النص */
        margin: 50px auto;
        padding: 10px;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .mako-map-wrapper iframe {
        height: 400px; /* الطول ده مع عرض 1100 يخليها مستطيل عرضي ممتاز */
        border-radius: 15px;
    }
}

















/* السكشن بالكامل باللون الأزرق */
.shark-final-section {
    background-color: #9EEBF5;
    padding: 50px 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* الصندوق اللي هيحبس الصورة */
.fixed-shark-box {
    /* الموبايل: هنا بنحدد مقاس مستطيل صغير جداً بالبكسل عشان ننهي الجدال */
    width: 150px !important; 
    height: 80px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.fixed-shark-box img {
    /* الصورة هتاخد حجم الصندوق الصغير بس */
    width: 100% !important;
    height: 100% !important;
    object-fit: contain; /* عشان الصورة ما تتمطش وتفضل مستطيلة */
}

/* --- تظبيط اللاب توب --- */
@media (min-width: 1024px) 
{
    .fixed-shark-box {
        width: 350px !important; /* يكبر شوية في اللاب توب */
        height: 150px !important;
    }
}












