/* Tiger Yacht - Premium Stylesheet */

:root {
    --primary-color: #000000;
    --secondary-color: #111111;
    --accnet-color: #D8ED71;
    /* Lime/Gold from reference */
    --text-color: #ffffff;
    --text-muted: #cccccc;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: var(--primary-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--accnet-color);
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 0;
    /* Sharp edges for luxury feel */
    border: 2px solid var(--accnet-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
}

.btn:hover {
    background-color: transparent;
    color: var(--accnet-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-full {
    display: block;
    width: 100%;
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.bg-dark {
    background-color: var(--secondary-color);
}

.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accnet-color);
}

/* Header - Modern Left-Right Design with Branding */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 10px 0;
    background-color: #000000;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled {
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
    border-bottom: 1px solid rgba(216, 237, 113, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand Container - Logo + Name */
.brand-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    width: 70px;
    transition: width 0.3s ease;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.header.scrolled .brand-logo {
    width: 55px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accnet-color);
    letter-spacing: 2px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(216, 237, 113, 0.3);
}

.brand-tagline {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.header.scrolled .brand-name {
    font-size: 1.2rem;
}

.header.scrolled .brand-tagline {
    font-size: 0.6rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 5px;
}

/* Wave Hover Effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--accnet-color);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px var(--accnet-color);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--accnet-color);
    text-shadow: 0 0 10px rgba(216, 237, 113, 0.5);
}

/* Make social icons in nav bigger */
.nav-link i {
    font-size: 1.3rem;
    vertical-align: middle;
}

.btn-nav {
    border: 1px solid var(--accnet-color);
    padding: 8px 25px;
    background: transparent;
    color: var(--accnet-color);
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-nav:hover {
    background: var(--accnet-color);
    color: black;
    box-shadow: 0 0 15px var(--accnet-color);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}


.bar {
    width: 30px;
    height: 2px;
    background-color: var(--accnet-color);
    transition: var(--transition-speed);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero.video-hero {
    background: #000;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    /* Default center for desktop */
    object-position: center center;
}

/* On mobile, focus on the bottom-left where the user wants focus */
@media (max-width: 768px) {
    .hero-video {
        object-position: 20% 80%;
        /* Shift view to left-bottom */
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Dark overlay for text readability */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.slide.active {
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-muted);
}

/* Yacht Grid */
.yacht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.yacht-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: var(--transition-speed);
}

.yacht-card:hover {
    transform: translateY(-5px);
    border-color: var(--accnet-color);
}

.yacht-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.yacht-info {
    padding: 25px;
}

.yacht-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 1.1rem;
    color: var(--accnet-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.specs li i {
    color: var(--accnet-color);
    margin-right: 5px;
}

/* Services / Intro */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.features-list {
    margin-top: 20px;
}

.features-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.features-list li i {
    margin-right: 15px;
}

/* Footer */
.footer {
    background-color: #050505;
    border-top: 1px solid #222;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--accnet-color);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a:hover {
    color: var(--accnet-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #222;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
/* Why Choose Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.benefit-card {
    background: #111;
    padding: 30px;
    border: 1px solid #222;
    transition: var(--transition-speed);
}

.benefit-card:hover {
    border-color: var(--accnet-color);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--accnet-color);
    margin-bottom: 20px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Curated Experiences */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.experience-card {
    position: relative;
    height: 300px;
    overflow: hidden;
    border: 1px solid #333;
}

.experience-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.experience-card:hover img {
    transform: scale(1.1);
}

.experience-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    z-index: 2;
}

.experience-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--accnet-color);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 30px;
    border-left: 3px solid var(--accnet-color);
    position: relative;
}

.testimonial-text {
    font-style: italic;
    color: #ddd;
    margin-bottom: 20px;
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 1rem;
    color: var(--accnet-color);
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    margin-top: 40px;
}

.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accnet-color);
}

.faq-question i {
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--accnet-color);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    padding-bottom: 20px;
}

/* Gallery Page Styles */
.gallery-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.gallery-btn {
    background: transparent;
    border: 1px solid #333;
    color: var(--text-muted);
    padding: 10px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
}

.gallery-btn:hover,
.gallery-btn.active {
    background: var(--accnet-color);
    color: #000;
    border-color: var(--accnet-color);
}

.masonry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    /* Slight rounding for premium feel */
    height: 300px;
    /* Fixed height for consistent grid */
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--accnet-color);
    font-size: 2rem;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Yacht Details Page */
.yacht-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

#yacht-gallery-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    cursor: default;
    /* Ensure no click pointer */
}

/* Responsive */
/* Page Header Background */
.page-header-bg {
    background-image: url('../images/hero-1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Filter Bar - Premium Glassmorphism */
.filter-bar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid #D8ED71;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    margin-top: -50px;
    /* Overlap with hero */
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 220px;
}

.filter-group label {
    color: #D8ED71;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.filter-group select {
    background: transparent;
    color: white;
    border: none;
    border-bottom: 2px solid #555;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    transition: all 0.3s;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23D8ED71%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0 top 50%;
    background-size: 12px auto;
}

.filter-group select:focus,
.filter-group select:hover {
    border-bottom-color: #D8ED71;
}

.filter-group select option {
    background: #000;
    color: #fff;
    padding: 10px;
}

#reset-filters {
    margin-top: 24px;
    border-color: #D8ED71;
    color: #000000;
    padding: 10px 25px;
}

#reset-filters:hover {
    background: #D8ED71;
    color: #000;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    /* Show hamburger menu on mobile */
    .menu-toggle {
        display: flex;
        position: static;
        margin-left: auto;
        z-index: 1001;
    }

    /* Adjust navbar for mobile */
    .navbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    /* Hide brand tagline on mobile for space */
    .brand-tagline {
        display: none;
    }

    /* Adjust brand logo size */
    .brand-logo {
        width: 60px !important;
    }

    .brand-name {
        font-size: 1.1rem !important;
    }

    /* Hide menu by default on mobile */
    .nav-menu {
        display: none;
    }

    /* When navbar is active (menu open) */
    .navbar.active {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100vh;
        width: 100vw;
        background-color: #000;
        overflow-y: hidden;
        padding: 0;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 999;
        gap: 30px;
    }

    /* Hide branding when menu is open */
    .navbar.active .brand-container {
        display: none !important;
    }

    /* Position close button (X) in top right */
    .navbar.active .menu-toggle {
        position: absolute !important;
        top: 30px !important;
        right: 30px !important;
        z-index: 9999;
    }

    /* Show menu items when active */
    .navbar.active .nav-menu {
        display: flex;
        flex-direction: column;
        position: static;
        width: auto;
        background: transparent;
        padding: 0;
        margin: 0;
        gap: 30px;
        justify-content: center;
        align-items: center;
    }

    /* Larger text for mobile menu */
    .navbar.active .nav-link {
        font-size: 1.5rem;
        padding: 0;
    }

    /* Hide Book Now button in mobile menu */
    .navbar.active .btn-nav {
        display: none !important;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 15px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
        padding: 0 10px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    /* Yacht Details Mobile Fixes */
    .yacht-details-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr !important;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }

    .booking-card {
        position: static !important;
    }
}

/* --- WOW FACTORS --- */

/* 1. Luxury Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner img {
    max-width: 60px;
    /* Constrain main logo size */
    width: auto;
    height: auto;
    animation: pulse 2s infinite ease-in-out;
}

.spinner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #D8ED71;
    border-bottom-color: #D8ED71;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 2. Gold Shine Hover Effect */
.yacht-card {
    position: relative;
    overflow: hidden;
}

.yacht-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(216, 237, 113, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: left 0.5s;
    z-index: 2;
    pointer-events: none;
}

.yacht-card:hover::before {
    left: 125%;
    transition: left 0.7s ease-in-out;
}

/* 3. Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

/* 4. Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    /* Vertically center icon */
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    display: flex;
    /* Ensure center alignment */
    justify-content: center;
    align-items: center;
    text-decoration: none;
    /* Remove underline */
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #1fe067;
    box-shadow: 0px 0px 20px rgba(37, 211, 102, 0.6);
    color: white;
    /* Keep icon white */
}

/* Pulse Animation for WhatsApp */
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25d366;
    opacity: 0.5;
    z-index: -1;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}