/**
 * /assets/css/pages/yacht.css
 *
 * Yacht page-specific styles for Rara Avis
 * Contains hero, specs, accommodations, amenities, and water toys sections
 */

/* ========================================
   YACHT HERO SECTION
   ======================================== */
.yacht-hero {
    position: relative;
    height: calc(100vh - 10rem);
    max-height: 1200px;
    min-height: 500px;
    width: 100%;
    overflow: hidden;
}

@media (max-width: 768px) {
    .yacht-hero {
        height: calc(100vh - 12rem);
        min-height: 400px;
    }
}

.yacht-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.75) contrast(1.05);
}

@media (max-width: 768px) {
    .yacht-hero-image {
        object-position: 60% center;
    }
}

.yacht-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 40%, transparent 0%, rgba(2,2,4,0.5) 70%),
        linear-gradient(to top, rgba(2,2,4,1) 0%, transparent 50%);
    pointer-events: none;
}

.yacht-hero-content {
    position: relative;
    z-index: 10;
    padding-top: 8rem;
}

.yacht-hero-title {
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    font-weight: 300;
}

/* ========================================
   QUICK SPECS BAR
   ======================================== */
.specs-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
}

.specs-bar-inner {
    display: inline-flex;
    justify-content: center;
    gap: 0;
    background: rgba(248, 246, 241, 0.03);
    border: 1px solid rgba(248, 246, 241, 0.06);
    border-radius: 1rem;
    padding: 0.5rem 1rem;
}

.spec-quick {
    text-align: center;
    padding: 1rem 2.5rem;
    position: relative;
}

.spec-quick::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background: rgba(248, 246, 241, 0.1);
}

.spec-quick:last-child::after {
    display: none;
}

.spec-quick-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 300;
    color: var(--gold);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.spec-quick-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-weight: 300;
    color: rgba(248, 246, 241, 0.5);
}

@media (max-width: 768px) {
    .specs-bar-inner {
        padding: 0;
    }

    .spec-quick {
        padding: 0.75rem 1.25rem;
    }

    .spec-quick-value {
        font-size: 1.5rem;
    }

    .spec-quick-label {
        font-size: 0.6rem;
    }
}

/* ========================================
   DETAILED SPECS GRID
   ======================================== */
.specs-grid-detailed {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.spec-category {
    padding: 2.5rem;
    background: rgba(248, 246, 241, 0.02);
    border: 1px solid rgba(248, 246, 241, 0.06);
    border-radius: 1rem;
    transition: all 0.5s ease;
}

.spec-category:hover {
    background: rgba(248, 246, 241, 0.04);
    border-color: rgba(196, 164, 105, 0.2);
}

.spec-category-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
}

.spec-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(248, 246, 241, 0.04);
}

.spec-row:last-child {
    border-bottom: none;
}

.spec-label {
    color: rgba(248, 246, 241, 0.4);
    font-size: 0.875rem;
}

.spec-value {
    color: var(--cream);
    font-weight: 500;
}

@media (max-width: 1024px) {
    .specs-grid-detailed {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .specs-grid-detailed {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .spec-category {
        padding: 2rem;
    }
}

/* ========================================
   ACCOMMODATIONS SECTION
   ======================================== */
.cabin-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cabin-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2rem;
    padding: 2rem 2.5rem;
    background: rgba(248, 246, 241, 0.02);
    border: 1px solid rgba(248, 246, 241, 0.06);
    border-radius: 1rem;
    transition: all 0.4s ease;
}

.cabin-item:hover {
    background: rgba(248, 246, 241, 0.04);
    border-color: rgba(196, 164, 105, 0.2);
}

.cabin-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--cream);
}

.cabin-desc {
    color: rgba(248, 246, 241, 0.5);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cabin-item {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 2rem;
    }

    .cabin-name {
        font-size: 1.25rem;
    }

    .cabin-desc {
        font-size: 0.875rem;
    }
}

/* ========================================
   AMENITIES GRID
   ======================================== */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.amenity-card {
    padding: 3rem;
    background: rgba(248, 246, 241, 0.02);
    border: 1px solid rgba(248, 246, 241, 0.06);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.5s ease;
}

.amenity-card:hover {
    background: rgba(248, 246, 241, 0.04);
    border-color: rgba(196, 164, 105, 0.3);
    transform: translateY(-4px);
}

.amenity-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    stroke: var(--gold);
    opacity: 0.7;
}

.amenity-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 0.75rem;
}

.amenity-description {
    color: rgba(248, 246, 241, 0.4);
    font-size: 0.875rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .amenities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .amenity-card {
        padding: 2rem;
    }
}

/* ========================================
   WATER TOYS SECTION
   ======================================== */
.toys-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.toys-category h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(248, 246, 241, 0.1);
}

.toys-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toys-category li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    color: rgba(248, 246, 241, 0.7);
    border-bottom: 1px solid rgba(248, 246, 241, 0.04);
    transition: color 0.3s ease;
}

.toys-category li:hover {
    color: var(--cream);
}

.toys-category li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0.5;
    flex-shrink: 0;
}

.toys-category li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .toys-list {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .toys-category h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   YACHT PAGE IMAGES - Rounded corners
   ======================================== */
.yacht-hero-image {
    border-radius: 0;
}

/* Images in yacht page get rounded corners */
#accommodations .curtain-wrap,
#water-toys .curtain-wrap {
    border-radius: 1rem;
    overflow: hidden;
}
