/* Brilions Yacht Rental - Main Stylesheet */
/* Modern, responsive CSS for yacht charter website */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    /* FIXED: Reduced padding for smaller slider */
    padding-top: 140px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; }

a {
    color: #1e3a8a;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #1e40af;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container & Grid System */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

[class*="col-"] {
    padding: 0 15px;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: #1e3a8a;
    color: white;
}

.btn-primary:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

.btn-outline {
    background: transparent;
    color: #1e3a8a;
    border: 2px solid #1e3a8a;
}

.btn-outline:hover {
    background: #1e3a8a;
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-block {
    width: 100%;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.header-top {
    background: #1e3a8a;
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 30px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-info a:hover {
    color: #e5e7eb;
}

.language-switch {
    display: flex;
    gap: 15px;
}

.language-switch a {
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.language-switch a.active,
.language-switch a:hover {
    background: rgba(255,255,255,0.2);
}

.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 200px;
    width: auto;
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav a:hover,
.main-nav a.active {
    color: #1e3a8a;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a8a;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown-menu {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.dropdown-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 10px 20px;
    color: #333;
    border-bottom: none;
}

.dropdown a:hover {
    background: #f8fafc;
    color: #1e3a8a;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 20px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* FIXED: Mobile Language Flags - Added to mobile menu */
.mobile-language-flags {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 20px 0;
    margin: 20px 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-language-flags a {
    display: block;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.mobile-language-flags a:hover,
.mobile-language-flags a.active {
    background: #1e3a8a;
    transform: scale(1.1);
}

.mobile-language-flags .flag-icon {
    width: 32px;
    height: 24px;
    border-radius: 4px;
    display: block;
    filter: contrast(1.3) saturate(1.4) brightness(1.1);
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    margin-bottom: 10px;
}

.mobile-nav a {
    display: block;
    padding: 15px 0;
    color: #333;
    font-weight: 500;
    border-bottom: 1px solid #f1f1f1;
}

.mobile-nav .submenu {
    padding-left: 20px;
    display: none;
}

.mobile-nav .has-submenu.active .submenu {
    display: block;
}

.mobile-contact {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
}

.mobile-contact-btn:first-child {
    background: #1e3a8a;
    color: white;
}

.mobile-contact-btn.whatsapp {
    background: #25d366;
    color: white;
}

/* Hero Slider - FIXED: Slightly bigger as requested */
.hero-slider {
    position: relative;
    /* FIXED: Increased from 40vh to 45vh - just a bit bigger */
    height: 45vh;
    min-height: 350px;
    max-height: 450px;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    /* FIXED: Adjusted font size for slightly bigger slider */
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 18px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 28px;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.slider-nav-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slider-nav-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Slider Progress */
.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 3;
}

.slider-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    transition: width linear;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Section - FIXED: Position below slider */
.search-section {
    padding: 40px 0;
    background: #f8fafc;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.search-form {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 200px;
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #1e3a8a;
}

/* Section Styles */
.section {
    padding: 80px 0;
    position: relative;
    z-index: 10;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #1e3a8a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #1e3a8a;
    border-radius: 2px;
}

/* City Grid - FIXED FOR CONSISTENT SIZING */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* FIXED: Force all city cards to have same dimensions regardless of count */
.city-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    /* CRITICAL FIX: Fixed height for all cards */
    height: 250px;
    width: 100%;
}

.city-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.city-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 30px 30px;
}

.city-card h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.city-card .options {
    opacity: 0.9;
    font-size: 0.9rem;
}

/* FIXED: Custom Page Cards - Villa & Otomobil düzeltmesi */
.custom-page-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    /* FIXED: Sabit yükseklik - kartların tam görünmesi için */
    height: 400px !important;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.custom-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Yacht Types Grid - FIXED */
.yacht-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.yacht-type-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    /* FIXED: Sabit yükseklik */
    height: 350px;
    display: flex;
    flex-direction: column;
}

.yacht-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.yacht-type-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.yacht-type-content {
    padding: 25px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.yacht-type-content h3 {
    color: #1e3a8a;
    margin-bottom: 10px;
}

.yacht-type-content p {
    color: #666;
    margin: 0;
}

/* Yacht Grid - SADECE BOYUT DÜZELTİLDİ */
.yacht-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: flex-start;
}

.yacht-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 380px;
    flex-shrink: 0;
}

.yacht-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.yacht-card-image {
    position: relative;
    overflow: hidden;
}

.yacht-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yacht-card:hover img {
    transform: scale(1.05);
}

.yacht-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yacht-card:hover .yacht-card-overlay {
    opacity: 1;
}

.yacht-card-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.badge {
    background: #1e3a8a;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.featured {
    background: #f59e0b;
}

.badge.new {
    background: #10b981;
}

.badge.discount {
    background: #ef4444;
}

.yacht-card-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yacht-card:hover .yacht-card-actions {
    opacity: 1;
}

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.action-btn:hover {
    background: white;
    transform: scale(1.1);
}

.action-btn.favorite.active {
    color: #ef4444;
}

.yacht-card-content {
    padding: 30px;
}

.yacht-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.yacht-title {
    flex: 1;
    margin: 0;
}

.yacht-title a {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 1.3rem;
}

.yacht-title a:hover {
    color: #1e40af;
}

.yacht-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: #fbbf24;
}

.rating-text {
    font-size: 0.9rem;
    color: #666;
}

.yacht-price {
    margin-bottom: 20px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3a8a;
}

.price-period {
    color: #666;
    margin-left: 5px;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2rem;
    margin-left: 10px;
}

.yacht-details {
    margin-bottom: 20px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.detail-item i {
    color: #1e3a8a;
    width: 16px;
}

.yacht-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.yacht-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.feature-tag {
    background: #f1f5f9;
    color: #1e3a8a;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.yacht-card-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.yacht-card-buttons .btn {
    flex: 1;
    min-width: 120px;
}

.availability-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-status.available {
    color: #10b981;
}

.availability-status.busy {
    color: #ef4444;
}

.availability-status.limited {
    color: #f59e0b;
}

.next-available {
    font-size: 0.8rem;
    color: #666;
    margin-top: 5px;
}

/* Villa Grid - FIXED */
.villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    margin-top: 100px;
}

.villa-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    /* FIXED: Sabit yükseklik */
    height: 450px;
    display: flex;
    flex-direction: column;
}

.villa-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.villa-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    flex-shrink: 0;
}

.villa-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.villa-card:hover .villa-image-container img {
    transform: scale(1.05);
}

.villa-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* Testimonials */
.testimonials-slider {
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 0 20px;
}

.testimonial-content {
    background: rgba(255,255,255,0.1);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.testimonial-content .stars {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.testimonial-author span {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 100px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-item i {
    color: #60a5fa;
    margin-top: 2px;
    width: 18px;
}

.contact-item a {
    color: white;
    opacity: 0.9;
}

.contact-item a:hover {
    opacity: 1;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.newsletter-form {
    margin-top: 20px;
}

.newsletter-input {
    position: relative;
    margin-bottom: 15px;
}

.newsletter-input input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    backdrop-filter: blur(10px);
}

.newsletter-input input::placeholder {
    color: rgba(255,255,255,0.7);
}

.newsletter-input input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.4);
}

.newsletter-input button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-input button:hover {
    background: rgba(255,255,255,0.3);
}

.newsletter-checkbox {
    font-size: 0.9rem;
}

.newsletter-checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

.newsletter-checkbox a {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: white;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #1e40af;
    transform: translateY(-2px);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* YACHT DETAIL PAGE STYLES - MOBILE OPTIMIZED */
.yacht-detail-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 10px;
}

.yacht-main-content {
    background: white;
}

.yacht-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.yacht-title-section {
    margin-bottom: 20px;
}

.yacht-title-section h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.duration-badge {
    display: inline-block;
    background: #2691b5;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 15px;
}

/* Price Display Styles */
.yacht-price {
    font-size: 2rem;
    font-weight: 700;
    color: #2691b5;
    margin: 15px 0;
}

/* SIMPLIFIED PDF and Video Button Container */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
    flex-wrap: wrap;
    align-items: center;
}

/* PDF Button Styles */
.pdf-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
    border: none;
    cursor: pointer;
}

.pdf-button:hover {
    background: #c82333;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

.pdf-button i {
    font-size: 14px;
}

/* Video Button Styles */
.video-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #28a745;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
    border: none;
    cursor: pointer;
}

.video-button:hover {
    background: #218838;
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4);
}

.video-button i {
    font-size: 14px;
}

/* Vertical Gallery System */
.yacht-gallery {
    position: relative;
    margin-bottom: 25px;
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 15px;
}

.main-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 400px;
    cursor: grab;
    user-select: none;
    background: #f8f9fa;
}

.main-image-container.dragging {
    cursor: grabbing;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}

.main-image:hover {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: rgba(0,0,0,0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav.prev {
    left: 15px;
}

.gallery-nav.next {
    right: 15px;
}

/* Fullscreen Button */
.fullscreen-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 10;
}

.fullscreen-btn:hover {
    background: rgba(0,0,0,0.9);
    transform: scale(1.1);
}

/* Vertical Thumbnail Gallery */
.thumbnail-gallery {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: #2691b5 #f1f1f1;
    max-height: 400px;
}

.thumbnail-gallery::-webkit-scrollbar {
    width: 4px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: #2691b5;
    border-radius: 2px;
}

.thumbnail-item {
    flex-shrink: 0;
    width: 100%;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    background: #f8f9fa;
}

.thumbnail-item:hover {
    transform: translateX(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.thumbnail-item.active {
    border-color: #2691b5;
    box-shadow: 0 0 0 1px rgba(38, 145, 181, 0.3);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

/* Enhanced Lightbox with Drag Support - MOBILE OPTIMIZED */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 80px;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 80vh;
    cursor: grab;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content.dragging {
    cursor: grabbing;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 1001;
    opacity: 0.8;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.4);
    transform: scale(1.1);
    opacity: 1;
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0,0,0,0.6);
    padding: 8px 20px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    z-index: 1001;
    font-weight: 600;
}

/* Gallery Info Overlay */
.gallery-info {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 15px;
    border-radius: 0 0 15px 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.main-image-container:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    margin: 0 0 5px 0;
    font-size: 16px;
}

.gallery-info p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

/* Tabs */
.yacht-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 25px;
    align-items: center;
}

.tab-button {
    background: none;
    border: none;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    color: #2691b5;
    border-bottom-color: #2691b5;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.details-table {
    background: #f0f8ff;
    border-radius: 10px;
    overflow: hidden;
    margin: 15px 0;
}

.details-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid #d1e7dd;
}

.details-row:last-child {
    border-bottom: none;
}

.details-cell {
    padding: 12px 18px;
    border-right: 1px solid #d1e7dd;
}

.details-cell:last-child {
    border-right: none;
}

.details-cell strong {
    color: #2c5aa0;
    font-weight: 600;
}

.sidebar-widget {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.weather-widget {
    background: linear-gradient(135deg, #2691b5, #1e7a96);
    color: white;
    text-align: center;
    padding: 20px;
}

.weather-widget h3 {
    margin: 0 0 15px 0;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.weather-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

.weather-temp {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.weather-condition {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.weather-details {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 12px;
    opacity: 0.8;
}

.weather-detail-item {
    text-align: center;
}

.weather-detail-item i {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.contact-widget {
    padding: 20px;
}

.contact-widget h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
}

.contact-item i {
    color: #2691b5;
    margin-right: 10px;
    width: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item a {
    color: #333;
    text-decoration: none;
}

.contact-item-content {
    flex: 1;
    line-height: 1.4;
}

.social-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 45px;
    padding: 10px;
    border: none;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    text-align: center;
    font-weight: 600;
    transition: transform 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.whatsapp-btn {
    background: #25d366;
}

.telegram-btn {
    background: #0088cc;
}

.email-btn {
    background: #ea4335;
}

.instagram-btn {
    background: #e4405f;
}

.facebook-btn {
    background: #1877f2;
}

.twitter-btn {
    background: #1da1f2;
}

.youtube-btn {
    background: #ff0000;
}

.recently-viewed {
    padding: 20px;
}

.recently-viewed h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 18px;
}

.recent-yacht {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
}

.recent-yacht img {
    width: 60px;
    height: 45px;
    object-fit: cover;
    border-radius: 6px;
}

.recent-yacht-info h4 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.recent-yacht-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

/* Yacht Navigation Styles */
.yacht-navigation {
    background: #f8fafc;
    padding: 40px 0;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
}

.yacht-nav-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.yacht-nav-item {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.yacht-nav-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-color: #2691b5;
    text-decoration: none;
    color: inherit;
}

.yacht-nav-item.prev {
    flex-direction: row;
}

.yacht-nav-item.next {
    flex-direction: row-reverse;
    text-align: right;
}

.yacht-nav-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: #f8f9fa;
}

.yacht-nav-content {
    flex: 1;
    padding: 0 15px;
}

.yacht-nav-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 600;
}

.yacht-nav-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1.3;
}

.yacht-nav-details {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.yacht-nav-arrow {
    font-size: 24px;
    color: #2691b5;
    flex-shrink: 0;
}

.yacht-nav-item.prev .yacht-nav-arrow {
    margin-right: 15px;
}

.yacht-nav-item.next .yacht-nav-arrow {
    margin-left: 15px;
}

.yacht-nav-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 40px 20px;
    color: #64748b;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 30px;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .search-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-field {
        min-width: auto;
    }
    
    .yacht-grid {
        justify-content: center;
    }
    
    /* FIXED: Ensure city grid maintains consistent sizing on tablets */
    .city-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    /* FIXED: Custom page cards - tablet */
    .custom-page-card {
        height: 380px !important;
    }
    
    /* FIXED: Yacht types - tablet */
    .yacht-type-card {
        height: 330px;
    }
    
    /* FIXED: Villa cards - tablet */
    .villa-card {
        height: 420px;
    }
    
    .row {
        flex-direction: column;
    }
    
    [class*="col-"] {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .logo img {
        height: 60px;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    /* FIXED: Adjusted slider for tablets */
    .hero-slider {
        height: 38vh;
        min-height: 280px;
        max-height: 350px;
    }
    
    /* YACHT DETAIL RESPONSIVE - TABLET */
    .yacht-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }
    
    .yacht-title-section h1 {
        font-size: 2rem;
    }
    
    .yacht-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .main-image-container {
        height: 350px;
    }
    
    .thumbnail-gallery {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 0;
    }
    
    .thumbnail-item {
        width: 100px;
        height: 75px;
        flex-shrink: 0;
    }
    
    .yacht-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 5px;
    }
    
    .tab-button {
        white-space: nowrap;
        padding: 12px 20px;
        flex-shrink: 0;
        font-size: 14px;
    }
    
    .details-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .details-cell {
        border-right: none;
        border-bottom: 1px solid #d1e7dd;
        padding: 15px;
    }
    
    .action-buttons {
        margin-left: 0;
        margin-top: 15px;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .header-top {
        display: none;
    }
    
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* FIXED: Mobile city cards - 3 columns with smaller cards */
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .city-card {
        height: 180px;
    }
    
    .city-card-content {
        padding: 20px 15px 15px;
    }
    
    .city-card h3 {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .city-card .options {
        font-size: 0.75rem;
    }
    
    /* FIXED: Mobile custom page cards - 1 column */
    .custom-page-card {
        height: 350px !important;
    }
    
    /* FIXED: Mobile yacht types - 1 column */
    .yacht-types-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .yacht-type-card {
        height: 300px;
    }
    
    /* FIXED: Mobile villa cards */
    .villa-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 80px;
    }
    
    .villa-card {
        height: 400px;
    }
    
    .yacht-grid {
        justify-content: center;
    }
    
    .yacht-card {
        width: 100%;
        max-width: 400px;
    }
    
    .yacht-card-buttons {
        flex-direction: column;
    }
    
    .yacht-card-buttons .btn {
        min-width: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .footer-logo img {
        height: 70px;
    }
    
    /* FIXED: Adjusted slider for mobile */
    .hero-slider {
        height: 32vh;
        min-height: 220px;
        max-height: 280px;
    }
    
    /* YACHT DETAIL RESPONSIVE - MOBILE - ENHANCED LIGHTBOX */
    .yacht-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 10px;
    }
    
    .yacht-title-section h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .duration-badge {
        display: block;
        margin: 10px 0;
        margin-left: 0;
        width: fit-content;
    }
    
    .yacht-price {
        font-size: 1.8rem;
        margin: 10px 0;
    }
    
    .yacht-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .main-image-container {
        height: 280px;
    }
    
    .thumbnail-gallery {
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 10px 0;
        gap: 10px;
    }
    
    .thumbnail-item {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }
    
    /* FIXED: ENHANCED MOBILE LIGHTBOX - FULL SCREEN VIEW */
    .lightbox.active {
        padding: 0 10px;
    }
    
    .lightbox-content {
        width: 100%;
        height: 90vh;
        max-width: none;
    }
    
    .lightbox-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
    }
    
    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 24px;
        background: rgba(0,0,0,0.8);
    }
    
    .lightbox-counter {
        bottom: 15px;
        font-size: 14px;
        padding: 6px 15px;
        background: rgba(0,0,0,0.8);
    }
    
    .yacht-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        margin-bottom: 20px;
        padding-bottom: 5px;
    }
    
    .tab-button {
        white-space: nowrap;
        padding: 10px 15px;
        flex-shrink: 0;
        font-size: 13px;
        min-width: 80px;
    }
    
    .details-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .details-cell {
        border-right: none;
        border-bottom: 1px solid #d1e7dd;
        padding: 12px 15px;
    }
    
    .details-cell:last-child {
        border-bottom: none;
    }
    
    .weather-details {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .social-buttons {
        justify-content: center;
        gap: 8px;
    }
    
    .social-btn {
        flex: 0 0 auto;
        min-width: 40px;
        padding: 8px;
    }
    
    .yacht-nav-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .yacht-nav-item {
        padding: 15px;
    }
    
    .yacht-nav-image {
        width: 60px;
        height: 45px;
    }
    
    .yacht-nav-content {
        padding: 0 10px;
    }
    
    .yacht-nav-title {
        font-size: 14px;
    }
    
    .yacht-nav-details {
        font-size: 11px;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
        margin-left: 0;
        margin-top: 15px;
        align-items: stretch;
    }
    
    .pdf-button,
    .video-button {
        justify-content: center;
        text-align: center;
        width: 100%;
        padding: 12px 16px;
    }
    
    .sidebar-widget {
        margin-bottom: 20px;
    }
    
    .weather-widget {
        padding: 15px;
    }
    
    .weather-widget h3 {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .weather-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .weather-temp {
        font-size: 1.8rem;
        margin-bottom: 4px;
    }
    
    .weather-condition {
        font-size: 13px;
        margin-bottom: 8px;
    }
    
    .contact-widget {
        padding: 15px;
    }
    
    .contact-widget h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .contact-item {
        margin-bottom: 12px;
        padding: 8px;
    }
    
    .recently-viewed {
        padding: 15px;
    }
    
    .recently-viewed h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .recent-yacht {
        margin-bottom: 12px;
        padding: 8px;
    }
    
    .recent-yacht img {
        width: 50px;
        height: 38px;
    }
    
    .recent-yacht-info h4 {
        font-size: 13px;
    }
    
    .recent-yacht-info p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .search-form {
        padding: 20px;
    }
    
    .yacht-card-content {
        padding: 20px;
    }
    
    .logo img {
        height: 45px;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    /* FIXED: Smaller mobile - keep 3 columns but even smaller */
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .city-card {
        height: 150px;
    }
    
    .city-card-content {
        padding: 15px 10px 10px;
    }
    
    .city-card h3 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .city-card .options {
        font-size: 0.7rem;
    }
    
    /* FIXED: Small mobile custom page cards */
    .custom-page-card {
        height: 320px !important;
    }
    
    /* FIXED: Small mobile yacht types */
    .yacht-type-card {
        height: 280px;
    }
    
    /* FIXED: Small mobile villa cards */
    .villa-card {
        height: 380px;
    }
    
    /* FIXED: Compact slider for small mobile */
    .hero-slider {
        height: 28vh;
        min-height: 200px;
        max-height: 230px;
    }
    
    /* YACHT DETAIL RESPONSIVE - SMALL MOBILE - ENHANCED LIGHTBOX */
    .yacht-title-section h1 {
        font-size: 1.6rem;
        line-height: 1.2;
    }
    
    .duration-badge {
        font-size: 11px;
        padding: 4px 8px;
    }
    
    .yacht-price {
        font-size: 1.6rem;
    }
    
    .main-image-container {
        height: 250px;
    }
    
    .thumbnail-item {
        width: 70px;
        height: 52px;
    }
    
    /* FIXED: ULTRA ENHANCED SMALL MOBILE LIGHTBOX */
    .lightbox.active {
        padding: 0 5px;
    }
    
    .lightbox-content {
        width: 100%;
        height: 95vh;
        max-width: none;
    }
    
    .lightbox-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 0;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: rgba(0,0,0,0.9);
    }
    
    .lightbox-counter {
        bottom: 10px;
        font-size: 12px;
        padding: 4px 12px;
        background: rgba(0,0,0,0.9);
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 12px;
        min-width: 70px;
    }
    
    .details-cell {
        padding: 10px 12px;
    }
    
    .pdf-button,
    .video-button {
        padding: 10px 14px;
        font-size: 12px;
    }
    
    .weather-widget {
        padding: 12px;
    }
    
    .weather-icon {
        font-size: 2rem;
    }
    
    .weather-temp {
        font-size: 1.6rem;
    }
    
    .contact-widget,
    .recently-viewed {
        padding: 12px;
    }
    
    .yacht-nav-item {
        padding: 12px;
    }
    
    .yacht-nav-image {
        width: 50px;
        height: 38px;
    }
    
    .yacht-nav-title {
        font-size: 13px;
    }
    
    .yacht-nav-details {
        font-size: 10px;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .whatsapp-float,
    .back-to-top,
    .mobile-menu,
    .slider-nav,
    .slider-dots {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        padding-top: 0;
    }
    
    .section {
        padding: 20px 0;
    }
    
    .yacht-card,
    .city-card,
    .yacht-type-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

.btn:focus {
    outline: 2px solid #1e3a8a;
    outline-offset: 2px;
}

/* Selection Color */
::selection {
    background: #1e3a8a;
    color: white;
}

::-moz-selection {
    background: #1e3a8a;
    color: white;
}