/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar a{
text-decoration: none;

}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.nav-links a {
    text-decoration: none;
    color: #2c3e50;
    margin: 0 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-buttons button {
    padding: 0.5rem 1rem;
    margin-left: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sign-in {
    background-color: transparent;
    color: #3498db;
    border: 1px solid #3498db !important;
}

.book-now {
    background-color: #3498db;
    color: white;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/bgimage.avif') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    flex-direction: column;
}



.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.5rem;
}

/* Destinations Section */
.destinations {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.destinations h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.destination-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.card p {
    padding: 0 1rem;
    color: #666;
}

.explore-btn {
    margin: 1rem;
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.explore-btn:hover {
    background-color: #2980b9;
}

/* Features Section */
.features {
    padding: 5rem 5%;
    background-color: white;
}

.features h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
}

.feature i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.feature h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter {
    padding: 5rem 5%;
    background-color: #f9f9f9;
    text-align: center;
}

.newsletter h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
}

#newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

#newsletter-form input {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    flex: 1;
}

#newsletter-form button {
    padding: 0.5rem 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#newsletter-form button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ecf0f1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    font-size: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Search Section */
.search-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    width: 90%;
    max-width: 1000px;
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-group {
    flex: 1;
    min-width: 200px;
    position: relative;
}

.search-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-group select,
.search-group input {
    width: 100%;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.search-btn {
    padding: 0.8rem 2rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.search-btn:hover {
    background-color: #2980b9;
}

/* Deals Section */
.deals {
    padding: 5rem 5%;
    background-color: white;
}

.deals h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.deals-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.deal-card {
    position: relative;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
}

.deal-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: #e74c3c;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
}

.deal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.deal-content {
    padding: 1.5rem;
}

.deal-content h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.deal-duration {
    color: #666;
    margin-bottom: 0.5rem;
}

.deal-price {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.deal-original {
    color: #999;
    text-decoration: line-through;
    margin-bottom: 1rem;
}

.book-deal {
    width: 100%;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.book-deal:hover {
    background-color: #2980b9;
}

/* Ships Section */
.ships {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.ships h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.ships-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.ship-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.ship-card:hover {
    transform: translateY(-5px);
}

.ship-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.ship-content {
    padding: 1.5rem;
}

.ship-content h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.ship-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.ship-features li {
    margin-bottom: 0.5rem;
    color: #666;
}

.ship-features i {
    color: #3498db;
    margin-right: 0.5rem;
    width: 20px;
}

.view-ship {
    width: 100%;
    padding: 0.8rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-ship:hover {
    background-color: #2980b9;
}

/* Update Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }

    .nav-links {
        margin: 1rem 0;
    }

    .nav-buttons {
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    #newsletter-form {
        flex-direction: column;
    }

    .search-form {
        flex-direction: column;
    }

    .search-group {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }

    .deals-container,
    .ships-container {
        grid-template-columns: 1fr;
    }
}

/* Page Hero */
.page-hero {
    height: 50vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('/images/bg1.jpg') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    margin-top: 60px;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Destinations Page */
.destinations-grid {
    padding: 5rem 5%;
    display: grid;
    gap: 3rem;
}

.destination-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.destination-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.destination-content {
    padding: 2rem;
}

.destination-content h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.destination-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.destination-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail i {
    color: #3498db;
}

.destination-highlights {
    margin-bottom: 1.5rem;
}

.destination-highlights h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.destination-highlights ul {
    list-style: none;
}

.destination-highlights li {
    margin-bottom: 0.5rem;
    color: #666;
}

.explore-destination {
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.explore-destination:hover {
    background-color: #2980b9;
}

/* Destination Map */
.destination-map {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.destination-map h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.map-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.world-map {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.marker {
    position: absolute;
    transform: translate(-50%, -50%);
    color: #e74c3c;
    text-align: center;
}

.marker i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.marker span {
    background: white;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    font-size: 0.875rem;
}

/* Ships Page */
.ships-showcase {
    padding: 5rem 5%;
    display: grid;
    gap: 3rem;
}

.ship-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.ship-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ship-info {
    padding: 2rem;
}

.ship-info h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.ship-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.spec i {
    color: #3498db;
}

.ship-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.ship-amenities {
    margin-bottom: 1.5rem;
}

.ship-amenities h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.ship-amenities ul {
    list-style: none;
}

.ship-amenities li {
    margin-bottom: 0.5rem;
    color: #666;
}

.ship-amenities i {
    color: #3498db;
    margin-right: 0.5rem;
    width: 20px;
}

.view-ship-details {
    width: 100%;
    padding: 1rem;
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-ship-details:hover {
    background-color: #2980b9;
}

/* Ship Comparison */
.ship-comparison {
    padding: 5rem 5%;
    background-color: #f9f9f9;
}

.ship-comparison h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.comparison-table {
    max-width: 800px;
    margin: 0 auto;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

th {
    background-color: #3498db;
    color: white;
}

tr:last-child td {
    border-bottom: none;
}

/* Booking Page */
.booking-container {
    padding: 5rem 5%;
    max-width: 800px;
    margin: 0 auto;
}

.booking-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.booking-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: #ddd;
    z-index: 1;
}

.progress-step {
    position: relative;
    z-index: 2;
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.progress-step.active {
    background: #3498db;
    color: white;
}

.progress-step i {
    margin-bottom: 0.25rem;
}

.progress-step span {
    font-size: 0.75rem;
    position: absolute;
    bottom: -1.5rem;
    white-space: nowrap;
}

.booking-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
}

.prev-step,
.next-step,
.confirm-booking {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.prev-step {
    background-color: #95a5a6;
    color: white;
}

.next-step,
.confirm-booking {
    background-color: #3498db;
    color: white;
}

.prev-step:hover {
    background-color: #7f8c8d;
}

.next-step:hover,
.confirm-booking:hover {
    background-color: #2980b9;
}

.booking-summary {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 5px;
    margin-bottom: 2rem;
}

.summary-item {
    margin-bottom: 1rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-item h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .destination-item,
    .ship-featured {
        grid-template-columns: 1fr;
    }

    .destination-item img,
    .ship-featured img {
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .booking-progress {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .booking-progress::before {
        display: none;
    }

    .progress-step {
        width: 40px;
        height: 40px;
    }

    .progress-step span {
        position: static;
        margin-top: 0.5rem;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger Animation */
.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.3s ease;
        padding-top: 50px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        width: 80%;
        text-align: center;
    }
    
    .nav-links a {
        display: block;
        padding: 15px;
        font-size: 18px;
        border-radius: 5px;
        transition: background 0.3s;
    }
    
    .nav-links a:hover {
        background: #f0f0f0;
    }
}


    .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 5px;
    }

    .hamburger span {
      width: 25px;
      height: 3px;
      background: #333;
      margin: 3px 0;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }
    
    @media (max-width: 768px) {
      .hamburger {
        display: flex;
      }

      .nav-links {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1rem;
      }

      .nav-links.active {
        left: 0;
      }


      nav {
        padding: 1rem 2rem;
      }}
    
      .logo-a{
        text-decoration: none;
        color: white;
      }

                      .p-container{

    padding: 100px 50px;
}