/* ============================================
   MiYachts - Luxury Yacht Rentals
   Complete CSS File - Fixed & Clean
============================================ */
/* ===== DROPDOWN FIXES ===== */

/* Desktop hover dropdown */
@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 8px;
        padding: 10px 0;
        margin-top: 10px;
    }
}

/* Mobile click dropdown (Bootstrap handles this) */
@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 20px;
    }
}

/* Fix navbar spacing */
.navbar {
    padding: 0.8rem 1rem;
}

.navbar-brand {
    margin-right: 2rem;
}

.navbar-nav .nav-item {
    margin: 0 8px;
}

.navbar-nav .nav-link {
    padding: 10px 15px !important;
    font-weight: 500;
}

/* Better dropdown styling */
.dropdown-item {
    padding: 10px 20px;
    color: #333;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #005f8c;
}



/* ===== BASE STYLES ===== */
:root {
    --royal-blue: #005f8c;
    --sea-green: #00a8b5;
    --sky-blue: #87ceeb;
    --navy: #002366;
    --gold: #D4AF37;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #333;
    --shadow: rgba(0, 35, 102, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--royal-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--sea-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 2px 15px var(--shadow);
    padding: 0.8rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 12px rgba(0, 35, 102, 0.15);
}

.navbar-brand img {
    height: 60px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--navy) !important;
    padding: 0.5rem 1rem !important;
    position: relative;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--sea-green);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    width: 100%;
}

/* ===== YACHT CARDS ===== */
.yacht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.yacht-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
}

.yacht-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.yacht-image {
    height: 220px;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.yacht-info-bar {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: var(--light-gray);
    border-bottom: 1px solid #eee;
}

.yacht-info-bar div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: var(--navy);
}

.card-content {
    padding: 20px;
}

.yacht-model {
    font-size: 1.5rem;
    color: var(--navy);
    margin-bottom: 15px;
}

.card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.read-more {
    color: var(--royal-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.read-more:hover {
    color: var(--sea-green);
}

.cta-button {
    background: linear-gradient(135deg, var(--sea-green), var(--royal-blue));
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.cta-button:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--sea-green));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 95, 140, 0.3);
}

/* ===== DINNER CRUISE CARDS ===== */
.dinner-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dinner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.dinner-card:hover .img-wrapper img {
    transform: scale(1.05);
}

.package-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cruise-title {
    font-size: 1.3rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.cruise-time {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.cruise-price {
    color: var(--sea-green);
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 10px;
}

/* ===== BIRTHDAY CARDS ===== */
.package-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.package-card:hover .card-image-wrapper img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--sea-green), var(--royal-blue));
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ===== TALK SECTION ===== */
.talk-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 0;
    text-align: center;
}

.talk-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.talk-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 30px;
    font-weight: 700;
}

.talk-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.talk-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.talk-btn.whatsapp {
    background: #25D366;
    color: white;
}

.talk-btn.call {
    background: var(--royal-blue);
    color: white;
}

.talk-btn.callback {
    background: #6c757d;
    color: white;
}

.talk-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ===== FOOTER ===== */
.yacht-footer {
    background: linear-gradient(135deg, #0a1a2e, #0a2c52);
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-logo img {
    max-width: 180px;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.3rem;
    color: var(--sea-green);
    margin-bottom: 25px;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-link, .service-link-bold {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    transition: var(--transition);
    display: block;
}

.footer-link:hover, .service-link-bold:hover {
    color: white;
    transform: translateX(5px);
}

.service-link-bold {
    font-weight: 600;
}

.footer-contact {
    margin-top: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
}

.contact-icon {
    color: var(--sea-green);
    font-size: 1.1rem;
    width: 20px;
}

.footer-socials {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.footer-social-icon:hover {
    background: var(--sea-green);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.py-1 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2 { padding-top: 1rem; padding-bottom: 1rem; }
.py-3 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-4 { padding-top: 2rem; padding-bottom: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .yacht-grid {
        grid-template-columns: 1fr;
    }
    
    .talk-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .talk-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .navbar-nav .nav-link {
        text-align: center;
        padding: 10px 0 !important;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-socials {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .yacht-card, .dinner-card, .package-card {
        margin-bottom: 20px;
    }
    
    .talk-title {
        font-size: 2rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* ===== FORM STYLES ===== */
.callback-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.callback-form input,
.callback-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.callback-form input:focus,
.callback-form textarea:focus {
    outline: none;
    border-color: var(--sea-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--sea-green), var(--royal-blue));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--sea-green));
    transform: translateY(-2px);
}

/* ===== SPECIAL OFFERS ===== */
.special-offer {
    background: linear-gradient(135deg, #fff8e1, #ffecb3);
    border-left: 5px solid var(--gold);
    padding: 20px;
    border-radius: 5px;
    margin: 20px 0;
}

.offer-badge {
    background: var(--gold);
    color: var(--navy);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), url('../images/hero-yacht.jpg') center/cover no-repeat;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Clear floats */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* ===== TOP CONTACT BAR ===== */
.top-contact-bar {
    background: linear-gradient(135deg, var(--royal-blue), var(--navy));
    color: white;
    padding: 10px 0;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 8px 20px;
}

.top-contact-bar > div {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.top-contact-bar a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.top-contact-bar a:hover {
    color: var(--sea-green);
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* ===== TALK SECTION ===== */
.talk-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 60px 0;
    text-align: center;
}

.talk-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.talk-title {
    font-size: 2.5rem;
    color: var(--navy);
    margin-bottom: 30px;
    font-weight: 700;
}

.talk-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.talk-btn {
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.talk-btn.whatsapp {
    background: #25D366;
    color: white;
}

.talk-btn.call {
    background: var(--royal-blue);
    color: white;
}

.talk-btn.callback {
    background: #6c757d;
    color: white;
}

.talk-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.callback-form-wrapper {
    max-width: 500px;
    margin: 20px auto 0;
}

.callback-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.callback-form input,
.callback-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.callback-form input:focus,
.callback-form textarea:focus {
    outline: none;
    border-color: var(--sea-green);
    box-shadow: 0 0 0 3px rgba(0, 168, 181, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--sea-green), var(--royal-blue));
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--royal-blue), var(--sea-green));
    transform: translateY(-2px);
}

.callback-message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    display: none;
}

.callback-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.callback-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ===== NAVBAR SCROLLED STATE ===== */
.navbar.scrolled {
    padding: 0.4rem 0;
    box-shadow: 0 4px 12px rgba(0, 35, 102, 0.15);
}

.navbar.scrolled .navbar-brand img {
    height: 50px;
}

/* ===== BIRTHDAY CARDS ===== */
.text-ocean {
    color: var(--sea-green);
}

/* ===== RESPONSIVE FIXES ===== */
@media (max-width: 768px) {
    .top-contact-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .talk-title {
        font-size: 2rem;
    }
    
    .talk-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .talk-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}
.explore-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--sea-green), var(--royal-blue));
    color: white;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 95, 140, 0.2);
}

.explore-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 95, 140, 0.3);
    color: white;
}
.luxury-pagination {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.page-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--sea-green);
    background: white;
    color: var(--navy);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.page-button.active {
    background: var(--sea-green);
    color: white;
}

.page-button:hover:not(.active) {
    background: rgba(0, 168, 181, 0.1);
}