/* Phoenix Yachting Lebanon - Apple-Inspired Sea/Yacht Theme */
:root {
    /* Apple-Inspired Sea/Yacht Colors */
    --primary-color: #007AFF;        /* Apple Blue - like ocean waves */
    --secondary-color: #0056CC;      /* Deeper blue - like deep sea */
    --accent-color: #34C759;         /* Apple Green - like sea foam */
    
    /* Sophisticated Blues */
    --navy-blue: #1C1C1E;           /* Almost black - like midnight ocean */
    --ocean-blue: #00A8E8;          /* Bright ocean blue */
    --sea-blue: #0077BE;            /* Professional sea blue */
    --mist-blue: #F0F8FF;           /* Alice blue - like sea mist */
    
    /* Luxury Accents */
    --gold-color: #FFD700;          /* Gold - like yacht hardware */
    --platinum: #E5E5EA;            /* Apple gray - like yacht metal */
    --azure: #87CEEB;               /* Sky blue - like horizon */
    
    /* Apple-Inspired Neutrals */
    --cream: #FAFAFA;               /* Almost white - like yacht hull */
    --white: #FFFFFF;
    --light-gray: #F2F2F7;          /* Apple light gray */
    --medium-gray: #C7C7CC;         /* Apple medium gray */
    --dark-gray: #1C1C1E;           /* Apple dark gray */
    
    /* Text and UI */
    --text-color: #1C1C1E;          /* Apple dark text */
    --secondary-text: #8E8E93;      /* Apple secondary text */
    --border-color: #E5E5EA;        /* Apple border color */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Apple Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-large: 600 2rem/1.2 var(--font-family);
    --font-medium: 500 1.25rem/1.4 var(--font-family);
    --font-regular: 400 1rem/1.6 var(--font-family);
    --font-small: 400 0.875rem/1.5 var(--font-family);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font: var(--font-regular);
    color: var(--text-color);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font: var(--font-large);
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.logo::before {
    content: "⚓";
    margin-right: 0.5rem;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-menu a:hover,
.nav-menu a.active {
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.nav-menu a.active {
    font-weight: 600;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="wave" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(255,255,255,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(255,255,255,0.05);stop-opacity:1" /></linearGradient></defs><path fill="url(%23wave)" d="M0,200 Q300,100 600,200 T1200,200 L1200,600 L0,600 Z"/></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
    z-index: 2;
}

/* Hero Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-content h1 {
    font: 700 3.5rem/1.1 var(--font-family);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font: var(--font-medium);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile responsiveness for hero video */
@media (max-width: 768px) {
    .hero {
        padding: 6rem 0;
        min-height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-video {
        /* On mobile, ensure video doesn't cause performance issues */
        opacity: 0.8;
    }
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
    letter-spacing: -0.01em;
    box-shadow: var(--shadow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background-color: var(--mist-blue);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--ocean-blue) 100%);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.card-body {
    padding: 2rem;
    background-color: var(--white);
}

.card-title {
    font: var(--font-medium);
    margin-bottom: 1rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font: var(--font-regular);
    transition: var(--transition);
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font: var(--font-regular);
    background-color: var(--white);
    cursor: pointer;
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    margin-right: 0.5rem;
    accent-color: var(--primary-color);
}

.form-check-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.form-check-group .form-check {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.yacht-gallery {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.yacht-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.yacht-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.yacht-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.yacht-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.yacht-card:hover .yacht-image img {
    transform: scale(1.05);
}

.yacht-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.yacht-title {
    font: var(--font-medium);
    margin-bottom: 0;
    color: var(--text-color);
    letter-spacing: -0.01em;
    font-size: 1.4rem;
    font-weight: 600;
}

.yacht-description {
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 0;
}

.yacht-specs {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0;
}

.yacht-spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--border-color);
}

.yacht-spec-item:last-child {
    border-bottom: none;
}

.yacht-spec-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.yacht-spec-value {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    margin-top: 0.25rem;
}

.yacht-features-container {
    margin: 0;
}

.features-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yacht-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.yacht-features li {
    padding: 0.25rem 0;
    color: var(--secondary-text);
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.yacht-features li::before {
    content: "✓";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 0.8rem;
}

.yacht-features li.more-features {
    grid-column: 1 / -1;
    font-style: italic;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.yacht-features li.more-features::before {
    content: "⋯";
    font-size: 1rem;
}

.yacht-price {
    font: var(--font-medium);
    color: var(--primary-color);
    margin: 1rem 0;
    font-weight: 600;
}

.yacht-card-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    flex-direction: column;
}

.view-details-btn, .select-yacht-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
}

.select-yacht-btn {
    background: var(--primary-color);
    color: var(--white);
}

.view-details-btn {
    background: transparent;
    color: var(--primary-color);
}

.select-yacht-btn:hover {
    transform: translateY(-2px);
    background: var(--secondary-color);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.view-details-btn:hover {
    transform: translateY(-2px);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

/* Fully Booked Yacht Styles */
.yacht-card.fully-booked {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(50%);
    position: relative;
}

.yacht-card.fully-booked:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.yacht-card.fully-booked .yacht-image-gallery::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.fully-booked-banner {
    background: linear-gradient(135deg, #e53e3e, #c53030);
    color: white;
    padding: 1rem;
    margin: 0.5rem -2rem 1rem -2rem;
    text-align: center;
    position: relative;
}

.fully-booked-text {
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.25rem;
}

.fully-booked-message {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
    font-weight: 400;
}

.btn-disabled {
    background: #e2e8f0;
    color: #718096;
    border: 2px solid #e2e8f0;
    cursor: not-allowed;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background: #e2e8f0;
    color: #718096;
}

.yacht-card.fully-booked .yacht-title,
.yacht-card.fully-booked .yacht-description,
.yacht-card.fully-booked .yacht-spec-value,
.yacht-card.fully-booked .yacht-features li {
    color: #a0aec0;
}

.yacht-card.fully-booked .yacht-price {
    color: #cbd5e0;
}


/* Yacht Image Carousel */
.yacht-image-gallery {
    position: relative;
    overflow: hidden;
}

.yacht-carousel {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.carousel-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.yacht-card:hover .carousel-image {
    transform: scale(1.05);
}

/* Video Styles for Yacht Cards */
.yacht-card video,
.yacht-selection-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 0;
}

.yacht-card:hover video,
.yacht-selection-card:hover video {
    transform: scale(1.05);
}

.carousel-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.yacht-card:hover .carousel-media {
    transform: scale(1.05);
}

/* Video upload preview styles for admin */
.video-preview-area {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    text-align: center;
    min-height: 100px;
    display: none;
}

.video-preview-area.has-video {
    display: block;
    border-color: var(--primary-color);
    background: #f0f8ff;
}

.video-preview-area video {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Yacht Details Modal */
.yacht-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.yacht-details-modal.show {
    display: flex;
}

.yacht-details-modal-content {
    background: var(--white);
    border-radius: 16px;
    max-width: 800px;
    max-height: 90vh;
    width: 90%;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.yacht-details-modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--light-gray);
}

.yacht-details-modal-header h2 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
}

.yacht-details-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--secondary-text);
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.yacht-details-close:hover {
    background: var(--border-color);
    color: var(--text-color);
}

.yacht-details-modal-body {
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .yacht-details-modal-body {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.yacht-details-loading {
    text-align: center;
    padding: 3rem;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s ease-in-out infinite;
    margin-right: 0.5rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.yacht-details-media-gallery {
    margin-bottom: 2rem;
}

.yacht-details-main-media {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--light-gray);
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yacht-details-main-media img,
.yacht-details-main-media video {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.yacht-details-media-thumbnails {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.media-thumbnail {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    flex-shrink: 0;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.media-thumbnail.active {
    border-color: var(--primary-color);
}

.media-thumbnail:hover {
    border-color: var(--accent-color);
}

.media-thumbnail .play-icon {
    font-size: 1.2rem;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yacht-details-info {
    display: grid;
    gap: 2rem;
}

.yacht-details-basic h3,
.yacht-details-features h3,
.yacht-details-pricing h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.yacht-details-basic p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.yacht-details-features ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.yacht-details-features li {
    padding: 0.5rem;
    background: var(--light-gray);
    border-radius: 8px;
    position: relative;
    padding-left: 2rem;
}

.yacht-details-features li::before {
    content: "✓";
    position: absolute;
    left: 0.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.pricing-item {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pricing-item .trip-type {
    font-weight: 600;
    color: var(--text-color);
}

.pricing-item .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-item .trip-duration {
    color: var(--secondary-text);
    font-size: 0.85rem;
}

.yacht-details-actions {
    display: flex;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    margin-top: 2rem;
}

.yacht-details-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
}

.error {
    color: #e53e3e;
    text-align: center;
    padding: 2rem;
    font-size: 1.1rem;
}

/* Mobile responsiveness for yacht details modal */
@media (max-width: 768px) {
    .yacht-details-modal {
        padding: 1rem;
    }
    
    .yacht-details-modal-content {
        max-width: 100%;
        max-height: 100%;
    }
    
    .yacht-details-modal-header {
        padding: 1rem;
    }
    
    .yacht-details-modal-body {
        padding: 1rem;
    }
    
    .yacht-details-features ul {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .yacht-details-actions {
        flex-direction: column;
    }
    
    .yacht-details-main-media {
        min-height: 200px;
    }
    
    .yacht-details-main-media img,
    .yacht-details-main-media video {
        max-height: 250px;
    }
}

.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    opacity: 0.3;
    transition: var(--transition);
}

.yacht-card:hover .carousel-controls,
.yacht-image-container:hover .carousel-controls,
.media-carousel:hover .carousel-controls {
    opacity: 1;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    pointer-events: auto;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transition: var(--transition);
}

.yacht-card:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.reservation-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    margin: 2rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.price-breakdown {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.price-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0;
}

.price-total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font: var(--font-medium);
    font-weight: 600;
    color: var(--primary-color);
}

/* Admin Styles */
.admin-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    margin-bottom: 2rem;
}

/* Admin Layout with Sidebar */
.admin-layout {
    display: flex;
    min-height: calc(100vh - 80px);
    background: var(--light-gray);
}

.admin-sidebar {
    width: 280px;
    background: var(--white);
    border-right: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    position: fixed;
    left: 0;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    z-index: 100;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 2rem;
    background: var(--light-gray);
    min-height: calc(100vh - 80px);
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
}

.admin-nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid transparent;
}

.admin-nav a:hover,
.admin-nav a.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateX(4px);
}

.admin-nav a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.6;
}

.admin-nav a:hover::before,
.admin-nav a.active::before {
    opacity: 1;
}

/* Grid-4 for 4 cards in a row */
.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Reservations table with filter on the right */
.reservations-container {
    display: grid !important;
    grid-template-columns: 1fr 320px !important;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
    width: 100%;
}

.reservations-table {
    min-width: 0; /* Prevents grid item from overflowing */
    overflow: hidden; /* Prevents content from overflowing */
    display: contents;
}

.reservations-filters {
    width: 320px;
    position: sticky;
    top: 2rem;
}

/* Ensure table wrapper doesn't overflow */
.reservations-table .card-body > div {
    overflow-x: auto;
    max-width: 100%;
}



.filters-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    height: fit-content;
}

.filters-card .card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px 12px 0 0;
}

.filters-card .card-body {
    padding: 1.5rem;
}

.filters-form .form-group {
    margin-bottom: 1.5rem;
}

.filters-form .form-label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.filters-form .form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.875rem;
    transition: var(--transition);
}

.filters-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.filters-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.filters-form .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .admin-sidebar {
        width: 240px;
    }
    
    .admin-content {
        margin-left: 240px;
    }
    
    .reservations-filters {
        width: 280px;
    }
}



@media (max-width: 992px) {
    .admin-layout {
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: static;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .admin-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .admin-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 1rem;
    }
    
    .admin-nav a {
        white-space: nowrap;
        min-width: fit-content;
    }
    
    .reservations-container {
        grid-template-columns: 1fr !important;
    }
    
    .reservations-filters {
        width: 100%;
        position: static;
    }
    
    .grid-4 {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .admin-content {
        padding: 0.5rem;
    }
    
    .admin-nav {
        gap: 0.25rem;
    }
    
    .admin-nav a {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .reservations-container {
        gap: 1rem;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .filters-card .card-header,
    .filters-card .card-body {
        padding: 1rem;
    }
}

/* User Management Styles */
.user-form {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.user-form h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

.password-form {
    max-width: 500px;
}

.password-form .form-group {
    margin-bottom: 1rem;
}

.text-muted {
    color: #6c757d;
    font-style: italic;
}

/* Card header with button */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h2 {
    margin: 0;
}

/* Table improvements */
.table td {
    vertical-align: middle;
}

.table .btn {
    margin: 0;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    table-layout: fixed; /* Prevents table from expanding beyond container */
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    background: var(--light-gray);
    font-weight: 600;
    color: var(--text-color);
}

.table tr:hover {
    background-color: var(--mist-blue);
}

/* Status badge styling */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-pending {
    background-color: #FFF3CD;
    color: #856404;
}

.status-confirmed {
    background-color: #D4EDDA;
    color: #155724;
}

.status-deposit_received {
    background-color: #E7F3FF;
    color: #0066CC;
}

.status-trip_started {
    background-color: #E8F5E8;
    color: #2E7D32;
}

.status-completed {
    background-color: #D1ECF1;
    color: #0C5460;
}

.status-cancelled {
    background-color: #F8D7DA;
    color: #721C24;
}

/* Trip category badge styling */
.status-hourly {
    background-color: #E3F2FD;
    color: #1565C0;
}

.status-daily {
    background-color: #F3E5F5;
    color: #7B1FA2;
}

.status-weekly {
    background-color: #E8F5E8;
    color: #2E7D32;
}

/* Inspection Modal Styles */
.inspection-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.inspection-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    margin: 0;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
    font: var(--font-medium);
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.6;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .card-body {
        padding: 1.5rem;
    }
    
    .reservation-form {
        padding: 1.5rem;
    }
    
    .yacht-features {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
    
    .yacht-features li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }
    
    .view-details-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #D4EDDA;
    border: 1px solid #C3E6CB;
    color: #155724;
}

.alert-error {
    background-color: #F8D7DA;
    border: 1px solid #F5C6CB;
    color: #721C24;
}

.alert-info {
    background-color: #CCE5FF;
    border: 1px solid #B8DAFF;
    color: #004085;
}

/* Section Animations */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 2rem 0;
}

.yacht-accent::before {
    content: "⚓";
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Smooth Transitions */
* {
    transition: var(--transition);
}

/* Apple-inspired Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-header h1 {
    font: var(--font-large);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Yacht Selection Page */
.yacht-selection {
    padding: 4rem 0;
    background: var(--light-gray);
}

.yacht-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.yacht-selection-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.yacht-selection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.yacht-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.yacht-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.yacht-selection-card:hover .yacht-main-image {
    transform: scale(1.05);
}

/* Unavailable yacht styles */
.yacht-selection-card.unavailable {
    opacity: 0.6;
    background: var(--light-gray);
}

.yacht-selection-card.unavailable:hover {
    transform: none;
    box-shadow: var(--shadow);
}

.yacht-selection-card.unavailable .yacht-main-image {
    filter: grayscale(50%);
}

.yacht-selection-card.unavailable:hover .yacht-main-image {
    transform: none;
}

.unavailable-text {
    color: var(--secondary-text);
    font-style: italic;
}

.btn-disabled {
    background: var(--medium-gray);
    color: var(--secondary-text);
    border: 1px solid var(--medium-gray);
    cursor: not-allowed;
}

.btn-disabled:hover {
    background: var(--medium-gray);
    color: var(--secondary-text);
}

.yacht-card-info {
    padding: 2rem;
}

.yacht-name {
    font: var(--font-large);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.yacht-description {
    color: var(--secondary-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.yacht-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.spec-label {
    font-size: 0.875rem;
    color: var(--secondary-text);
    font-weight: 500;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-color);
}

.yacht-card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Booking Wizard */
.booking-wizard {
    padding: 2rem 0;
    background: var(--light-gray);
    min-height: 100vh;
}

.wizard-progress {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.progress-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    width: 0%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-text);
    font-weight: 600;
    transition: var(--transition);
}

.step.active .step-number {
    background: var(--primary-color);
    color: var(--white);
}

.step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--secondary-text);
}

.step.active .step-label {
    color: var(--primary-color);
}

.wizard-content {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.selected-yacht-info {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.yacht-thumb {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.yacht-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.yacht-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
}

.step-header h2 {
    font: var(--font-large);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step-header p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* Date & Time Selection */
.date-time-selection {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 800px;
    margin: 0 auto;
}

.date-section h3,
.time-section h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.date-input {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
}

.time-slot {
    padding: 1rem;
    background: var(--light-gray);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.time-slot:hover {
    background: var(--mist-blue);
    border-color: var(--primary-color);
}

.time-slot.selected {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.time-slot.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.time-slot.unavailable {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.unavailable:hover {
    background: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb !important;
}

/* Trip Type Selection */
.trip-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.trip-type-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.trip-type-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.trip-type-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.trip-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.trip-type-header h3 {
    color: var(--primary-color);
    margin: 0;
}

.trip-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-color);
}

.trip-type-details p {
    color: var(--secondary-text);
    margin-bottom: 0.5rem;
}

/* Add-ons Selection */
.addons-selection {
    max-width: 1000px;
    margin: 0 auto;
}

.addon-category {
    margin-bottom: 3rem;
}

.addon-category h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.addon-card {
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.addon-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.addon-card.selected {
    border-color: #007bff;
    background: #f8f9ff;
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.2);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.addon-header h4 {
    color: var(--primary-color);
    margin: 0;
}

.addon-price {
    text-align: right;
    color: var(--gold-color);
    font-weight: 600;
}

/* Checkbox styles removed - using click-to-select instead */

/* Customer Form */
.customer-form {
    max-width: 600px;
    margin: 0 auto;
}

/* Modern Customer Form */
.customer-form-modern {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-field label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: #666;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.textarea-wrapper {
    position: relative;
}

.textarea-wrapper i {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #666;
    z-index: 2;
}

.textarea-wrapper textarea {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
    resize: vertical;
    min-height: 120px;
}

.textarea-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.guests-input {
    position: relative;
}

.guest-counter {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.25rem;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    transition: var(--transition);
}

.counter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.form-hint {
    color: #666;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .customer-form-modern {
        max-width: 100%;
    }
}

/* Booking Summary */
.booking-summary {
    max-width: 600px;
    margin: 0 auto;
}

.summary-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.summary-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.summary-item.total {
    border-top: 2px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.summary-item.deposit {
    color: var(--gold-color);
    font-weight: 600;
}

.pricing-summary {
    background: var(--mist-blue);
    border: 2px solid var(--primary-color);
}

/* Wizard Navigation */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Additional Responsive Design */
@media (max-width: 768px) {
    /* Booking wizard adjustments */
    .booking-wizard {
        padding: 2rem 0;
    }
    
    .wizard-content {
        padding: 1rem;
    }
    
    /* Selected yacht info responsive */
    .selected-yacht-info {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .yacht-thumb {
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    /* Step headers */
    .step-header h2 {
        font-size: 1.5rem;
    }
    
    .step-header p {
        font-size: 0.9rem;
    }
    
    /* Date time selection */
    .date-time-selection {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
    
    .time-slot {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Trip types grid */
    .trip-types-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trip-type-card {
        padding: 1.5rem;
    }
    
    .trip-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .trip-price {
        font-size: 1.25rem;
    }
    
    /* Add-ons grid */
    .addon-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .addon-card {
        padding: 1.25rem;
    }
    
    /* Customer form */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guests-input {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .guest-counter {
        justify-content: center;
    }
    
    /* Booking summary */
    .booking-summary {
        padding: 1rem;
    }
    
    .summary-section {
        margin-bottom: 1.5rem;
    }
    
    /* Navigation */
    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .wizard-navigation .btn {
        width: 100%;
        padding: 1rem;
    }
    
    /* Progress steps - show simplified version */
    .progress-steps {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        min-width: 60px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
        line-height: 24px;
    }
    
    .step-label {
        font-size: 0.7rem;
        margin-top: 0.25rem;
    }
    
    /* Yacht grid adjustments */
    .yacht-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .yacht-selection-card {
        margin: 0 1rem;
    }
    
    .yacht-card-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile specific styles */
@media (max-width: 480px) {
    .booking-wizard {
        padding: 1rem 0;
    }
    
    .step-header h2 {
        font-size: 1.25rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trip-type-card {
        padding: 1rem;
    }
    
    .addon-card {
        padding: 1rem;
    }
    
    .step-label {
        display: none;
    }
    
    .wizard-navigation .btn {
        font-size: 0.9rem;
    }
}

/* Image Carousel Styles for Homepage */
.yacht-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 280px;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.yacht-card:hover .carousel-controls,
.yacht-image-container:hover .carousel-controls,
.media-carousel:hover .carousel-controls {
    opacity: 1;
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.yacht-card:hover .carousel-indicators {
    opacity: 1;
}

.indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Placeholder Image Enhancement */
.yacht-image-container img[src*="placeholder"] {
    filter: grayscale(20%);
    opacity: 0.8;
}

.yacht-card:hover .yacht-image-container img[src*="placeholder"] {
    filter: grayscale(0%);
    opacity: 1;
}

/* Image Count Badge for Yacht Selection Page */
.image-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.yacht-selection-card:hover .image-count-badge {
    background: rgba(0, 0, 0, 0.9);
}

/* Enhanced Edit Yacht Form Styles */
.form-text {
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.25rem;
}

.form-text.text-muted {
    color: #999;
}

#currentPrimaryImage, #currentAdditionalImages {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

/* Modal Styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e5ea;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 1.5rem;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e5ea;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 1rem;
}

.close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close:hover {
    color: #000;
}

/* Inspection Modal Specific */
#inspectionModal .modal-content {
    max-width: 800px;
}

/* Start Trip Modal Specific */
#startTripModal .modal-content {
    max-width: 600px;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: 95%;
        margin: 1rem;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}

/* Image Upload Preview Styles */
.image-preview {
    border: 2px dashed #ddd;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    background: #fafafa;
    transition: border-color 0.3s ease;
}

.image-preview:hover {
    border-color: #007AFF;
}

.image-preview.has-image {
    border-style: solid;
    border-color: #28a745;
    background: #f8fff8;
}

/* Enhanced Image Upload Interface */
.image-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    min-height: 60px;
}

.image-preview-item {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #ddd;
}

.image-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.image-preview-item.primary {
    border-color: #007AFF;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-preview-item:hover .image-delete-btn {
    opacity: 1;
}

.image-delete-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: scale(1.1);
}

.primary-badge {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: #007AFF;
    color: white;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
}

.image-upload-area {
    margin-bottom: 1rem;
}

.image-preview-grid:empty::after {
    content: "No images uploaded yet. Click above to select multiple image files.";
    color: #666;
    font-style: italic;
    text-align: center;
    grid-column: 1 / -1;
    padding: 2rem;
}

/* Animation for adding new images */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.image-preview-item.new {
    animation: slideInUp 0.3s ease;
}

/* Trip Type Selection Styles */
.trip-type-selection {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--mist-blue) 0%, var(--white) 100%);
}

.trip-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.trip-type-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.trip-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.trip-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.trip-type-card:hover::before {
    transform: scaleX(1);
}

.trip-type-card.selected {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--mist-blue) 0%, var(--white) 100%);
}

.trip-type-card.selected::before {
    transform: scaleX(1);
}

.trip-type-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.trip-type-header h3 {
    font: var(--font-medium);
    color: var(--text-color);
    margin: 0;
    flex: 1;
}

.trip-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.trip-duration i {
    font-size: 1rem;
}

.trip-type-details {
    margin-bottom: 2rem;
    flex: 1;
}

.trip-type-details p {
    color: var(--secondary-text);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.trip-type-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.feature-item i {
    color: var(--accent-color);
    width: 16px;
}

.trip-type-action {
    text-align: center;
    margin-top: auto;
}

.trip-type-action .btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

/* Trip Type Banner */
.trip-type-banner {
    text-align: center;
    padding: 2rem 0;
}

.trip-type-banner h1 {
    font: var(--font-large);
    color: var(--text-color);
    margin-bottom: 1rem;
}

.selected-trip-info {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: inline-block;
    margin-top: 1rem;
}

.selected-trip-info h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font: var(--font-medium);
}

.selected-trip-info p {
    color: var(--secondary-text);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.selected-trip-info p i {
    color: var(--accent-color);
}

/* Selected Info in Booking Wizard */
.selected-info {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.6s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.selected-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.selected-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Yacht Section (Left Side) */
.yacht-section {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

.yacht-section .yacht-thumb {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

.yacht-section .yacht-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.yacht-section:hover .yacht-thumb img {
    transform: scale(1.05);
}

.yacht-section .yacht-details {
    flex: 1;
    min-width: 0;
}

.yacht-section .yacht-details h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font: var(--font-medium);
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
}

.yacht-section .yacht-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.yacht-section .spec-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.yacht-section .spec-item:last-child {
    border-bottom: none;
}

.yacht-section .spec-label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.yacht-section .spec-value {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.yacht-section .price-section {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(0, 122, 255, 0.1), rgba(0, 122, 255, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(0, 122, 255, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.yacht-section .price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.yacht-section .price-section:hover::before {
    left: 100%;
}

.yacht-section .price-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.yacht-section .price-label {
    color: var(--secondary-text);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yacht-section .price-amount {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

/* Trip Section (Right Side) */
.trip-section {
    position: relative;
    padding-left: 1rem;
}

.trip-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.trip-section::after {
    content: '🎯';
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    font-size: 1.5rem;
    opacity: 0.1;
    transform: rotate(15deg);
}

.trip-section .trip-header {
    margin-bottom: 1rem;
}

.trip-section .trip-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font: var(--font-medium);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.trip-section .trip-duration {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1rem;
}

.trip-section .trip-duration i {
    font-size: 1.1rem;
}

.trip-section .trip-description {
    margin-bottom: 1rem;
}

.trip-section .trip-description p {
    color: var(--secondary-text);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}



/* Price Highlight */
.price-highlight {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
}

/* No Yachts Message */
.no-yachts-message {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.no-yachts-message h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font: var(--font-medium);
}

.no-yachts-message p {
    color: var(--secondary-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design for Trip Type Selection */
@media (max-width: 1200px) {
    .trip-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .trip-types-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .trip-type-card {
        padding: 1.5rem;
    }
    
    .trip-type-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .selected-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .trip-section {
        padding-left: 0.75rem;
    }
    
    .trip-section::before {
        width: 2px;
    }
    
    .trip-section .trip-header h3 {
        font-size: 1.2rem;
    }
    
    .yacht-section {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }
    
    .yacht-section .yacht-thumb {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    
    .yacht-section .yacht-details h3 {
        font-size: 1.1rem;
    }
    
    .yacht-section .price-section {
        padding: 0.5rem 0.75rem;
    }
    
    .yacht-section .price-amount {
        font-size: 1.1rem;
    }
    
    .trip-type-banner {
        padding: 1rem 0;
    }
    
    .selected-trip-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .trip-type-card {
        padding: 1rem;
    }
    
    .trip-type-header h3 {
        font-size: 1.1rem;
    }
    
    .feature-item {
        font-size: 0.8rem;
    }
} 