/* Global Styles */
body {
    margin: 0;
    font-family: sans-serif;
}

.navbar {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.hero {
    text-align: center;
    padding: 100px 20px;
}

.btn {
    padding: 10px 20px;
    background: black;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

/* NAVBAR */
.navbar {
    padding: 15px 25px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #000;
    font-size: 1rem;
    transition: 0.2s ease;
}

/* Auth buttons */
.login-btn {
    padding: 6px 14px;
    border: 1px solid black;
    border-radius: 4px;
}

.signup-btn {
    padding: 8px 16px;
    background: black;
    color: white !important;
    border-radius: 4px;
}

.nav-links a:hover {
    opacity: 0.7;
}

/* MOBILE RESPONSIVE */
.nav-toggle {
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

@media(max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 15px 0;
        margin-top: 10px;
        border-top: 1px solid #ddd;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .login-btn, .signup-btn {
        width: 90%;
        text-align: center;
    }
}

/* SERVICES PAGE HEADER */
.services-header {
    text-align: center;
    padding: 60px 20px 30px;
    color: white;
}

.services-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.services-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* SERVICES GRID */
.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    color: white;
}

.service-card .text {
    max-width: 70%;
}

.card-icon {
    font-size: 50px;
    margin-left: 20px;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.6;
}



/* team page */
.team-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.team-card {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 10px;
    text-align: center;
}

.team-img {
    width: 100%;
    height: 180px;
    background: #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
}

/*contat page*/
.contact-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

.contact-form button {
    padding: 14px;
    background: black;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* CONTACT PAGE VIDEO BACKGROUND */
.contact-bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2; 
     filter: blur(6px);   
    transform: scale(1.1); 
}

/* DARK OVERLAY */
.contact-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55); /* dark layer */
    z-index: -1; /* above video, below content */
}

/* CONTACT CONTENT */
.contact-section {
    padding: 140px 20px;
    max-width: 600px;
    margin: auto;
    text-align: center;
    color: white;
}

.contact-section h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.contact-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

/* FORM STYLING */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 14px;
    border-radius: 6px;
    border: none;
    font-size: 1rem;
    outline: none;
}

.contact-form textarea {
    height: 160px;
    resize: none;
}

.contact-form button {
    padding: 14px;
    background: #ffffff;
    color: #000;
    border: none;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-form button:hover {
    background: #ddd;
}


/* HERO IMAGE SECTION */
.hero-section {
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: 20px; /* slight spacing below navbar */
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 1200px;  /* keep large screens clean */
    height: auto;
    display: block;
}



/* SECTION 2 */
.section-2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
}

/* LEFT TEXT SIDE */
.section2-left {
    flex: 1;
    color: #000000; 
}

.section2-left h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-decoration: underline;
    font-weight: 700;
}

.section2-left h3 {
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 400;
}

.section2-left p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* RIGHT IMAGE SIDE */
.section2-right img {
    width: 100%;
    max-width: 550px;
    border-radius: 30px; /* matches the screenshot’s rounded corners */
    display: block;
}

/* MOBILE RESPONSIVE */
@media(max-width: 900px) {
    .section-2 {
        flex-direction: column;
        text-align: left;
    }

    .section2-right img {
        max-width: 100%;
    }
}

/* SECTION 3 */
.section-3 {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    padding: 80px 20px;
    max-width: 1300px;
    margin: auto;
}

/* LEFT SIDE */
.section3-left {
    background: #2c2c2c;
    padding: 80px 50px;
    border-radius: 20px;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.section3-left h2 {
    font-size: 2.5rem;
    color: white;
}

/* RIGHT SIDE */
.section3-right {
    flex: 2;
    background: linear-gradient(135deg, #5aa9df, #3e85ad);
    padding: 50px 60px;
    border-radius: 20px;
    color: white;
}

.section3-right ul {
    list-style: none;
    padding: 0;
}

.section3-right li {
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.section3-right strong {
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .section-3 {
        flex-direction: column;
    }

    .section3-left, .section3-right {
        width: 100%;
    }
}


/* ===========================
   ENHANCED SERVICES SECTION
=========================== */

.services-header {
    padding: 120px 20px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    position: relative;
    overflow: hidden;
}

.services-header h1 {
    font-size: 3rem;
    animation: fadeDown 1s ease forwards;
}

.services-header p {
    animation: fadeUp 1.2s ease forwards;
}

.services-header::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: linear-gradient(135deg, var(--yellow), var(--orange));
}

@keyframes moveBg {
    from { transform: translate(0, 0); }
    to { transform: translate(100px, 100px); }
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.services-grid {
    padding: 100px 8%;
    background: white;
}

.service-card {
    background: linear-gradient(135deg, var(--yellow), var(--orange));
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s ease;
    transform: translateY(40px);
    opacity: 0;
}

.service-card.show {
    transform: translateY(0);
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.service-card:hover .card-icon {
    transform: rotate(10deg) scale(1.2);
}


/* ===========================
   FULL PAGE VIDEO BACKGROUND
=========================== */

.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
     filter: blur(6px);   /* 👈 blur amount */
    transform: scale(1.1); 
}

/* Dark overlay */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* adjust darkness here */
    z-index: -1;
}

/* Make text visible on dark bg */
.section2-left,
.section3-left h2,
.section3-right,
.hero {
    color: white;
}

/* Optional: make section backgrounds transparent */
.section-2,
.section-3 {
    background: transparent;
}


/* ===========================
   CATALOG PAGE
=========================== */

.catalog-header {
    text-align: center;
    padding: 50px 20px 40px;
    color: white;
}

.catalog-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.catalog-header p {
    opacity: 0.8;
}

.filter-section {
    text-align: center;
    margin-bottom: 40px;
}

.filter-section select {
    padding: 12px 20px;
    font-size: 1rem;
    border-radius: 6px;
    border: none;
    outline: none;
    cursor: pointer;
}

/* GRID */
.catalog-grid {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
.tanker-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: 0.3s ease;
}

.tanker-card img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.tanker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}
/* ===========================
   VESSEL LIST STYLE
=========================== */

.vessel-list {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Row */
.vessel-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 30px;
    background: rgba(52, 52, 52, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 14px;
    transition: 0.3s ease;
    color: white;
}

/* Hover effect */
.vessel-row:hover {
    transform: translateY(-4px);
    background: rgba(255, 204, 0, 0.533);
}

/* Image */
.vessel-row img {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Middle info */
.vessel-info {
    flex: 1;
}

.vessel-info h3 {
    margin: 0;
    font-size: 1.4rem;
}

.vessel-info p {
    margin: 5px 0 0;
    opacity: 0.8;
}

/* Right DWT */
.vessel-dwt {
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
    .vessel-row {
        flex-direction: column;
        text-align: center;
    }

    .vessel-dwt {
        margin-top: 10px;
    }
}

/* ===========================
   TILE FORMAT VESSEL GRID
=========================== */

.vessel-grid {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* Tile */
.vessel-tile {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    color: white;
    transition: 0.3s ease;
}

/* Hover animation */
.vessel-tile:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Image */
.vessel-tile img {
    width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

/* Title */
.vessel-tile h3 {
    margin: 10px 0 5px;
    font-size: 1.3rem;
}

/* Cargo */
.vessel-tile .cargo {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Footer */
.tile-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}

/* DWT */
.dwt {
    font-weight: bold;
    font-size: 0.95rem;
}


/* ===========================
   MODAL STYLE
=========================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);

    justify-content: center;
    align-items: flex-start;   /* 👈 align to top instead of center */

    padding: 60px 20px;        /* 👈 top + side spacing */
    overflow-y: auto;          /* 👈 enable scrolling */

    z-index: 999;
}


.modal-content {
    background: #111;
    color: white;
    width: 100%;
    max-width: 900px;
    border-radius: 16px;
    padding: 30px;
    animation: modalFade 0.3s ease;

    margin: auto;              /* keeps it centered horizontally */
}


@keyframes modalFade {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.close-btn {
    float: right;
    font-size: 24px;
    cursor: pointer;
}

/* Vessel rows inside modal */
.modal-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.05);
    padding: 15px 20px;
    border-radius: 10px;
}

.modal-row p {
    margin: 4px 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.modal-dwt {
    font-weight: bold;
}


.modal-filters {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.modal-filters select {
    padding: 8px 12px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

/* STATUS BADGE */
.status {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status.available {
    background: #1e7e34;
}

.status.fixed {
    background: #a71d2a;
}

/* ENQUIRY BUTTON */
.enquiry-btn {
    margin-top: 8px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #ffa600;
    color: black;
}

/* MAP */
.map-preview {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: #222;
    padding: 10px;
}

/* ANIMATION */
.animate {
    animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* Owners Page*/
/* ADD BUTTON */
.add-vessel-btn {
    margin-top: 20px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: #ffa600;
    color: black;
    font-size: 1rem;
    transition: 0.3s ease;
}

.add-vessel-btn:hover {
    background: #1f342f;
}

/* GRID */
.owner-vessel-grid {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px 100px;
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARD */
.owner-vessel-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 14px;
    color: white;
    animation: fadeIn 0.4s ease;
}

/* FORM */
.vessel-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.vessel-form input,
.vessel-form select {
    padding: 10px;
    border-radius: 6px;
    border: none;
}

.submit-btn {
    padding: 10px;
    border-radius: 6px;
    border: none;
    background: #2E4B45;
    color: white;
    cursor: pointer;
}

/* REUSE STATUS BADGE */
.status {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
}

.status.available {
    background: #1e7e34;
}

.status.fixed {
    background: #a71d2a;
}

.large-modal {
    max-width: 900px;
}

.form-section {
    margin-top: 25px;
}

.form-section h3 {
    margin-bottom: 10px;
    font-size: 1rem;
    opacity: 0.8;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.vessel-form input,
.vessel-form select {
    padding: 10px;
    border-radius: 6px;
    border: none;
}

.vessel-img {
    width: 100%;
    max-height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.owner-vessel-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: 14px;
    color: white;
    animation: fadeIn 0.4s ease;
}



/* About us page*/
/* BACKGROUND VIDEO HERO */
.about-hero {
    position: relative;
    height: 70vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.about-bg-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    top: 0;
    left: 0;
    backdrop-filter: brightness(20%);
    filter: blur(3px);
}

.about-hero-content {
    position: relative;
    color: #fff;
    z-index: 2;
}

.about-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* TRANSLUCENT BOX FOR HERO CONTENT */
.about-hero-box {
    background: rgba(0, 0, 0, 0.4); /* translucent dark grey */
    padding: 30px 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px); /* subtle glass effect */
    display: inline-block;
    max-width: 70%;
}

/* SECTION BLOCKS */
.about-block{
    width: 80%;
    margin: auto;
    padding: 60px 0;
}

/* VISION + MISSION */
.vm-section {
    padding: 60px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
}

.vm-box {
    width: 45%;
    min-width: 300px;
    background: #ffffff;
    padding: 25px;
    border-left: 20px solid #ffc933;
    border-radius: 8px;
}

/* ABOUT PAGE — UNIQUE SERVICE SECTION */
.about-services-block {
    width: 80%;
    margin: auto;
    padding: 60px 30px;
    background: #f9b073;
    border-radius: 20px;
}

/* GRID */
.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* CARDS */
.about-service-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 10px solid #ffc933;
    transition: 0.3s ease;
}

.about-service-card:hover {
    transform: translateY(-6px);
}


/* COLORS */
:root {
  --yellow: #FFC107;
  --orange: #FF6F00;
  --black: #0f0f0f;
  --white: #ffffff;
}

/* RESET */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
}

/* HERO */
.hero-new {
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  text-align: center;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content h3 {
  margin-bottom: 15px;
}

.hero-content p {
  max-width: 600px;
  margin: auto;
  margin-bottom: 20px;
}

/* BUTTONS */
.btn-primary {
  background: var(--black);
  color: var(--white);
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 30px;
}

.btn-secondary {
  background: var(--white);
  color: var(--black);
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
}

/* SECTION 2 */
.section-2-new {
  display: flex;
  padding: 80px 10%;
  align-items: center;
  gap: 40px;
}

.section-2-new img {
  width: 400%;
  max-width: 400px;
  margin-right: 300px;
}

/* SERVICES */
.services-new {
  background: var(--black);
  color: var(--white);
  padding: 80px 10%;
  text-align: center;
}

.services-grid {
    display: flex;              /* change from grid → flex */
    flex-direction: column;     /* one card per row */
    gap: 25px;
    max-width: 1000px;
    margin: auto;
}

.card {
  background: var(--orange);
  padding: 30px;
  border-radius: 15px;
  font-weight: bold;
}

/* CTA */
.cta-new {
  padding: 80px 10%;
  text-align: center;
  background: var(--yellow);
}



/* Wrap logo + name */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

/* Logo icon */
.logo-img {
  height: 50px;
  width: auto;
}

/* Text image */
.logo-text {
  height: 30px;
  width: auto;
}

/* Optional hover effect */
.logo-wrap:hover {
  opacity: 0.85;
}