/* ===== GLOBAL BACKGROUND ===== */
body{
margin:0;
font-family:Arial, sans-serif;
color:white;

background:
linear-gradient(
rgba(5,15,40,0.55),
rgba(5,15,40,0.55)
),
url("../uploads/world-map.jpg") center center / cover no-repeat fixed;
}

/* ===== NAVBAR ===== */
.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:rgba(10,40,80,0.85);
backdrop-filter:blur(6px);
position:sticky;
top:0;
z-index:100;
border-bottom:1px solid rgba(255,255,255,0.15);
}

.navbar a{
display:inline-block;
padding:10px 18px;
margin-left:8px;
background:linear-gradient(135deg,#1a73e8,#00b4ff);
color:white !important;
text-decoration:none;
font-weight:600;
border-radius:8px;
box-shadow:0 5px 14px rgba(0,0,0,0.25);
transition:0.25s;
}

.navbar a:hover{
color:white !important;
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(0,0,0,0.35);
background:linear-gradient(135deg,#3f8cff,#20c4ff);
}

.admin-btn{
background:#1a73e8;
color:white !important;
padding:6px 12px;
border-radius:6px;
font-size:13px;
}

/* ===== LOGO ===== */
.logo img{
height:55px;
background:white;
padding:5px 10px;
border-radius:8px;
}

/* ===== HERO ===== */
.hero{
min-height:85vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background:
linear-gradient(
rgba(5,15,40,0.55),
rgba(5,15,40,0.55)
),
url("../uploads/world-map.jpg") center center / cover no-repeat;
}

.hero-content{
max-width:800px;
margin:auto;
}

.hero h1{
font-size:50px;
margin-bottom:20px;
}

.hero p{
font-size:20px;
margin-bottom:30px;
}

/* ===== BUTTON ===== */
.btn{
display:inline-block;
padding:12px 22px;
margin:5px;
background:linear-gradient(135deg, #1a73e8, #00b4ff);
color:white;
text-decoration:none;
border-radius:8px;
transition:0.3s;
box-shadow:0 6px 18px rgba(0,0,0,0.3);
border:none;
cursor:pointer;
}

.btn:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

.btn.secondary{
background:transparent;
border:2px solid white;
}

.btn.secondary:hover{
background:white;
color:#0a2540;
}

/* ===== SECTION ===== */
.section{
padding:80px 20px;
max-width:1200px;
margin:30px auto;
text-align:center;
}

/* ===== GRID ===== */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
max-width:1100px;
margin:auto;
}

/* ===== FLEET GRID ===== */
.fleet-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:25px;
margin-top:30px;
}

/* ===== VESSEL CARD ===== */
.vessel-card{
background:rgba(10,30,60,0.85);
border-radius:12px;
overflow:hidden;
transition:0.3s;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
}

.vessel-card:hover{
transform:translateY(-5px);
box-shadow:0 15px 35px rgba(0,0,0,0.4);
}

.vessel-img{
width:100%;
height:220px;
object-fit:cover;
}

.vessel-info{
padding:15px;
text-align:left;
}

/* ===== STATUS ===== */
.status-badge{
display:inline-block;
padding:5px 10px;
border-radius:6px;
font-size:12px;
font-weight:bold;
margin-top:8px;
}

.status-available{
background:#28a745;
}

.status-under-offer{
background:#ff9800;
}

.status-sold{
background:#e53935;
}

/* ===== CARD ===== */
.card{
background:rgba(15,47,79,0.85);
padding:25px;
border-radius:10px;
transition:0.3s;
}

.card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* ===== CTA ===== */
.premium-cta{
text-align:center;
padding:80px 20px;
background:linear-gradient(rgba(10,40,80,0.6), rgba(10,30,60,0.7));
border-radius:10px;
}

/* ===== FOOTER ===== */
.footer{
background:#061a2d;
padding:20px;
text-align:center;
font-size:14px;
margin-top:30px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float{
position:fixed;
bottom:25px;
right:25px;
width:78px;
height:78px;
z-index:9999;
display:flex;
align-items:center;
justify-content:center;
background:transparent !important;
box-shadow:none !important;
border-radius:0 !important;
text-decoration:none;
transition:all 0.3s ease;
}

.whatsapp-float img{
width:78px;
height:78px;
object-fit:contain;
display:block;
opacity:1 !important;
filter:none !important;
border-radius:0 !important;
}

.whatsapp-float:hover{
transform:scale(1.08);
}

/* ===== FORM ===== */
form{
max-width:600px;
margin:40px auto;
background:rgba(0,0,0,0.55);
padding:25px;
border-radius:10px;
}

form input,
form textarea{
width:100%;
padding:10px;
margin-bottom:10px;
border-radius:6px;
border:none;
}

/* ===== PREMIUM MEGA MENU ===== */
.main-nav{
display:flex;
align-items:center;
}

.nav-dropdown{
position:relative;
display:inline-block;
}

.nav-dropdown > a{
display:inline-block;
background:linear-gradient(135deg, #1a73e8, #00b4ff);
color:white !important;
padding:10px 18px;
border-radius:8px;
box-shadow:0 5px 14px rgba(0,0,0,0.25);
transition:0.25s;
}

.nav-dropdown > a:hover{
color:white !important;
transform:translateY(-2px);
box-shadow:0 8px 20px rgba(0,0,0,0.35);
}

.mega-menu{
position:absolute;
top:100%;
right:-220px;
left:auto;
transform:none;
width:1250px;
max-width:calc(100vw - 80px);
max-height:70vh;
overflow-y:auto;
background:rgba(255,255,255,0.97);
backdrop-filter:blur(10px);
border-radius:18px;
padding:26px;
display:none !important;
grid-template-columns:repeat(5,1fr);
gap:24px;
box-shadow:0 18px 45px rgba(0,0,0,0.35);
z-index:9999;
border:1px solid rgba(255,255,255,0.4);
}

.nav-dropdown:hover .mega-menu{
display:grid !important;
}

.mega-column{
text-align:left;
}

.mega-column h4{
margin:0 0 12px 0;
color:#0a284f;
font-size:16px;
border-bottom:2px solid #1a73e8;
padding-bottom:8px;
}

.mega-column a{
display:flex;
align-items:center;
gap:9px;
margin:0;
padding:8px 9px;
color:#12345a !important;
font-size:14px;
border-radius:8px;
font-weight:500;
transition:0.25s;
background:transparent !important;
box-shadow:none !important;
}

.mega-column a::before{
content:"";
width:30px;
height:22px;
display:inline-block;
flex-shrink:0;
border-radius:5px;
background:
linear-gradient(rgba(10,40,80,0.15), rgba(10,40,80,0.15)),
url("../uploads/world-map.jpg") center center / cover no-repeat;
box-shadow:0 2px 6px rgba(0,0,0,0.18);
}

.mega-column a:hover{
background:#e9f3ff !important;
color:#1a73e8 !important;
transform:translateX(3px);
}

/* ===== FILTER BAR ===== */
.filter-box{
max-width:1150px;
margin:25px auto 20px auto;
background:rgba(10,40,80,0.78);
backdrop-filter:blur(8px);
padding:22px;
border-radius:14px;
box-shadow:0 12px 30px rgba(0,0,0,0.3);
border:1px solid rgba(255,255,255,0.18);
}

.filter-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
gap:14px;
align-items:end;
}

.filter-grid label{
display:block;
text-align:left;
font-size:13px;
font-weight:bold;
margin-bottom:6px;
color:#ffffff;
}

.filter-grid input,
.filter-grid select{
width:100%;
height:50px;
padding:0 14px;
margin:0;
border-radius:10px;
border:1px solid rgba(255,255,255,0.35);
background:rgba(255,255,255,0.95);
color:#0a2540;
font-size:16px;
box-sizing:border-box;
vertical-align:middle;
}

.filter-grid select{
appearance:none;
-webkit-appearance:none;
-moz-appearance:none;
padding-right:40px;
background:
rgba(255,255,255,0.95)
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath fill='%23555' d='M5 7l5 5 5-5z'/%3E%3C/svg%3E")
no-repeat right 14px center;
}

.filter-grid input:focus,
.filter-grid select:focus{
outline:none;
border-color:#66b2ff;
box-shadow:0 0 0 3px rgba(102,178,255,0.25);
}

.filter-actions{
display:flex;
gap:8px;
align-items:end;
justify-content:center;
height:50px;
}

.filter-btn,
.filter-reset{
width:100%;
height:50px;
line-height:26px;
text-align:center;
padding:12px 12px;
font-size:14px;
margin:0;
box-sizing:border-box;
}

.filter-reset{
background:transparent;
border:2px solid white;
}

.filter-reset:hover{
background:white;
color:#0a2540;
}

.filter-count{
max-width:1150px;
margin:10px auto 20px auto;
text-align:left;
font-size:15px;
font-weight:bold;
color:white;
background:rgba(10,30,60,0.55);
padding:10px 14px;
border-radius:8px;
}

/* ================= MOBILE IMPROVEMENTS ================= */
@media(max-width:768px){

.navbar{
flex-direction:column;
gap:10px;
text-align:center;
}

.navbar nav{
margin-top:10px;
}

.navbar a{
display:inline-block;
margin:6px;
padding:9px 14px;
}

.logo img{
height:45px;
}

.hero h1{
font-size:28px;
}

.hero p{
font-size:16px;
}

.btn{
display:block;
width:90%;
margin:10px auto;
text-align:center;
}

.fleet-grid{
grid-template-columns:1fr;
}

.vessel-card{
width:95%;
margin:auto;
}

.row{
flex-direction:column;
}

.row input{
width:100%;
margin-bottom:10px;
}

textarea{
width:100%;
}

input, textarea{
font-size:16px;
}

.vessel-img{
height:auto;
}

.whatsapp-float{
bottom:15px;
right:15px;
width:64px;
height:64px;
}

.whatsapp-float img{
width:64px;
height:64px;
object-fit:contain;
display:block;
}

.main-nav{
display:block;
width:100%;
}

.nav-dropdown{
display:block;
width:100%;
}

.mega-menu{
position:static;
transform:none;
width:90%;
margin:8px auto;
grid-template-columns:1fr;
padding:15px;
}

.mega-column a{
justify-content:flex-start;
}

.mega-column a::before{
width:34px;
height:24px;
}

.filter-box{
width:90%;
padding:16px;
}

.filter-grid{
grid-template-columns:1fr;
}

.filter-actions{
flex-direction:column;
height:auto;
}

.filter-count{
width:90%;
text-align:center;
}
}

/* ===== FEATURED VESSELS ===== */
.featured-section{
margin-top:20px;
}

.featured-intro{
max-width:900px;
margin:0 auto 30px auto;
font-size:18px;
color:rgba(255,255,255,0.92);
}

.featured-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:28px;
margin-top:30px;
}

.featured-card{
background:rgba(10,30,60,0.88);
border-radius:16px;
overflow:hidden;
box-shadow:0 14px 35px rgba(0,0,0,0.35);
transition:0.3s;
border:1px solid rgba(255,255,255,0.10);
}

.featured-card:hover{
transform:translateY(-6px);
box-shadow:0 20px 45px rgba(0,0,0,0.45);
}

.featured-image-wrap{
position:relative;
}

.featured-img{
width:100%;
height:240px;
object-fit:cover;
display:block;
}

.featured-badge{
position:absolute;
top:14px;
right:14px;
background:linear-gradient(135deg,#1a73e8,#00b4ff);
color:white;
padding:8px 14px;
border-radius:20px;
font-size:12px;
font-weight:bold;
letter-spacing:0.4px;
box-shadow:0 6px 16px rgba(0,0,0,0.3);
}

.featured-info{
padding:20px;
text-align:left;
}

.featured-info h3{
margin:0 0 14px 0;
font-size:24px;
}

.featured-info p{
margin:8px 0;
font-size:15px;
color:rgba(255,255,255,0.92);
}

.featured-btn{
margin-top:16px;
display:inline-block;
}

@media(max-width:768px){

.featured-grid{
grid-template-columns:1fr;
}

.featured-card{
width:95%;
margin:auto;
}

.featured-img{
height:220px;
}

.featured-info h3{
font-size:22px;
}

.featured-intro{
font-size:16px;
padding:0 10px;
}
}

.vessel-inquiry-box{
background:rgba(255,255,255,0.12);
border:1px solid rgba(255,255,255,0.18);
padding:15px;
border-radius:10px;
margin:15px 0;
text-align:left;
}

.vessel-inquiry-box h3{
margin-top:0;
}

.vessel-inquiry-box p{
margin:6px 0;
}

/* ==============================
   ADMIN DASHBOARD TABLE
============================== */

.table-container{
max-width:1350px;
margin:40px auto;
padding:25px;
background:rgba(15,35,70,0.75);
backdrop-filter:blur(10px);
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,0.25);
overflow-x:auto;
}

.admin-table{
width:100%;
border-collapse:collapse;
}

.admin-table th{
color:#fff;
font-size:18px;
padding:15px 10px;
border-bottom:2px solid rgba(255,255,255,0.2);
}

.admin-table td{
color:#fff;
padding:12px 10px;
border-bottom:1px solid rgba(255,255,255,0.1);
}