/* ═══════════════════════════════════════════════════
   EasyWay Boats — Public Website Styles
   ═══════════════════════════════════════════════════ */
:root {
    --bg: #0a0f1c;
    --bg-alt: #0f1629;
    --bg-card: rgba(255,255,255,0.04);
    --bg-glass: rgba(255,255,255,0.06);
    --border: rgba(255,255,255,0.08);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-muted: #64748b;
    --accent: #3b82f6;
    --accent-light: #60a5fa;
    --ocean: #0ea5e9;
    --gold: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --radius: 16px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text);
       line-height: 1.6; min-height: 100vh; }
a { color: var(--accent-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: #93c5fd; }
img { max-width: 100%; display: block; }

/* ── Navigation ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 40px; display: flex; align-items: center; justify-content: space-between;
    background: rgba(10,15,28,0.85); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    transition: all 0.3s;
}
.nav.scrolled { padding: 12px 40px; box-shadow: 0 4px 30px rgba(0,0,0,0.3); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700;
            color: var(--text); }
.nav-logo span { font-size: 26px; }
.nav-logo em { font-style: normal; background: linear-gradient(135deg, #60a5fa, #22d3ee);
               -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-dim); font-size: 14px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { padding: 10px 24px; border-radius: 10px; font-weight: 600; font-size: 14px;
           background: linear-gradient(135deg, #3b82f6, #0ea5e9); color: #fff !important; }
.nav-cta:hover { box-shadow: 0 6px 20px rgba(59,130,246,0.4); transform: translateY(-1px); }

/* ── Hero ── */
.hero {
    min-height: 85vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 120px 20px 80px; position: relative; overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(14,165,233,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 80%, rgba(59,130,246,0.08) 0%, transparent 50%);
}
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 20px;
              background: var(--bg-glass); border: 1px solid var(--border); border-radius: 50px;
              font-size: 13px; color: var(--text-dim); margin-bottom: 24px; position: relative; }
.hero-logo { width: 500px; height: 500px; object-fit: contain; margin-bottom: 20px; position: relative;
             border-radius: 50%; filter: drop-shadow(0 4px 20px rgba(0,0,0,0.3)); }
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 800; line-height: 1.1;
            max-width: 1000px; margin-bottom: 20px; position: relative; letter-spacing: -1px; }
.hero h1 .highlight { background: linear-gradient(135deg, #60a5fa, #22d3ee, #0ea5e9);
                       -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-dim); max-width: 580px; margin-bottom: 36px; position: relative; }
.hero-actions { display: flex; gap: 16px; position: relative; }
.hero-actions .btn-hero {
    padding: 16px 36px; border-radius: 14px; font-size: 16px; font-weight: 600;
    border: none; cursor: pointer; transition: all 0.3s; font-family: inherit;
}
.hero-actions .btn-hero.primary {
    background: linear-gradient(135deg, #3b82f6, #0ea5e9); color: #fff;
    box-shadow: 0 8px 32px rgba(59,130,246,0.3);
}
.hero-actions .btn-hero.primary:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(59,130,246,0.4); }
.hero-actions .btn-hero.outline {
    background: transparent; color: var(--text); border: 1px solid var(--border);
}
.hero-actions .btn-hero.outline:hover { background: var(--bg-glass); border-color: var(--accent); }
.hero-stats {
    display: flex; gap: 48px; margin-top: 64px; position: relative;
}
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { font-size: 28px; font-weight: 700; color: var(--accent-light); }
.hero-stats .stat-label { font-size: 13px; color: var(--text-muted); }

/* ── Section ── */
.section { padding: 80px 40px; max-width: 1320px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.5px; }
.section-header p { color: var(--text-dim); font-size: 16px; max-width: 540px; margin: 0 auto; }

/* ── Boat Grid ── */
.boats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 24px; }
.boat-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; transition: all 0.3s; cursor: pointer; position: relative;
}
.boat-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.3);
                    border-color: rgba(59,130,246,0.3); }
.boat-card .card-img {
    height: 260px; background-size: cover; background-position: center; position: relative;
    overflow: hidden;
}
.boat-card .card-img::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
}
.boat-card .card-badges {
    position: absolute; top: 16px; left: 16px; display: flex; gap: 8px; z-index: 2;
}
.boat-card .card-badges span {
    padding: 5px 12px; border-radius: 8px; font-size: 12px; font-weight: 600;
    backdrop-filter: blur(8px);
}
.boat-card .badge-type { background: rgba(14,165,233,0.8); color: #fff; }
.boat-card .badge-condition-new { background: rgba(34,197,94,0.8); color: #fff; }
.boat-card .badge-condition-used { background: rgba(168,85,247,0.8); color: #fff; }
.boat-card .badge-featured { background: rgba(245,158,11,0.9); color: #fff; }
.boat-card .card-price-tag {
    position: absolute; bottom: 16px; right: 16px; z-index: 2;
    font-size: 22px; font-weight: 700; color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.boat-card .card-media-count {
    position: absolute; bottom: 16px; left: 16px; z-index: 2;
    display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.8);
}
.boat-card .card-body { padding: 22px 24px; }
.boat-card .card-body h3 { font-size: 18px; font-weight: 600; margin-bottom: 4px; }
.boat-card .card-body .subtitle { font-size: 14px; color: var(--text-dim); margin-bottom: 14px; }
.boat-card .card-specs {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 14px;
    border-top: 1px solid var(--border);
}
.boat-card .card-specs .spec { text-align: center; }
.boat-card .card-specs .spec-val { font-size: 14px; font-weight: 600; }
.boat-card .card-specs .spec-label { font-size: 11px; color: var(--text-muted); }

/* ── Boat Detail Page ── */
.boat-hero { padding-top: 80px; }
.boat-gallery {
    max-width: 1320px; margin: 0 auto; padding: 0 40px;
}
.gallery-main {
    width: 100%; height: 500px; border-radius: var(--radius); overflow: hidden;
    background: var(--bg-alt); margin-bottom: 16px; position: relative; cursor: pointer;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }
.gallery-main .gallery-nav {
    position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
    border-radius: 50%; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1); color: #fff; font-size: 20px;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.2s;
}
.gallery-main .gallery-nav:hover { background: rgba(59,130,246,0.6); }
.gallery-main .gallery-nav.prev { left: 16px; }
.gallery-main .gallery-nav.next { right: 16px; }
.gallery-main .gallery-counter {
    position: absolute; bottom: 16px; right: 16px; background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px); padding: 6px 14px; border-radius: 8px;
    font-size: 13px; color: rgba(255,255,255,0.8);
}

.gallery-thumbs {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
}
.gallery-thumbs .thumb {
    width: 100px; height: 70px; border-radius: 8px; overflow: hidden; cursor: pointer;
    border: 2px solid transparent; transition: all 0.2s; flex-shrink: 0;
    opacity: 0.6;
}
.gallery-thumbs .thumb:hover, .gallery-thumbs .thumb.active { opacity: 1; border-color: var(--accent); }
.gallery-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ── Videos Section ── */
.videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(400px, 1fr)); gap: 20px; }
.video-card {
    border-radius: var(--radius); overflow: hidden; background: var(--bg-card);
    border: 1px solid var(--border);
}
.video-card video { width: 100%; aspect-ratio: 16/9; background: #000; }

/* ── Detail Layout ── */
.detail-layout { max-width: 1320px; margin: 0 auto; padding: 40px;
                  display: grid; grid-template-columns: 1fr 380px; gap: 40px; }
.detail-content { min-width: 0; }
.detail-sidebar { position: sticky; top: 100px; align-self: start; }

/* ── Specs Table ── */
.specs-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden; margin-bottom: 24px;
}
.specs-card .specs-header {
    padding: 18px 24px; border-bottom: 1px solid var(--border); font-size: 16px; font-weight: 600;
    display: flex; align-items: center; gap: 10px;
}
.specs-table { width: 100%; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 14px 24px; font-size: 14px; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 500; width: 45%; }
.specs-table td:last-child { font-weight: 600; }
.specs-table tr:hover { background: rgba(255,255,255,0.02); }

/* ── Contact Form ── */
.contact-card {
    background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(14,165,233,0.06));
    border: 1px solid rgba(59,130,246,0.2); border-radius: var(--radius); padding: 28px;
}
.contact-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.contact-card .contact-subtitle { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.contact-card .form-group { margin-bottom: 14px; }
.contact-card label { display: block; font-size: 12px; font-weight: 600; color: var(--text-dim);
                       margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-card input, .contact-card textarea {
    width: 100%; padding: 12px 14px; background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-sm);
    color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: all 0.2s;
}
.contact-card input:focus, .contact-card textarea:focus {
    border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}
.contact-card textarea { min-height: 100px; resize: vertical; }
.contact-card .btn-submit {
    width: 100%; padding: 14px; border: none; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, #3b82f6, #0ea5e9); color: #fff;
    font-size: 15px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.contact-card .btn-submit:hover { box-shadow: 0 8px 25px rgba(59,130,246,0.4); transform: translateY(-1px); }
.contact-card .contact-success {
    text-align: center; padding: 20px; color: var(--success); font-weight: 500;
}

/* ── Description ── */
.description-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 32px; margin-bottom: 24px;
}
.description-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 16px; }
.description-card .desc-text { font-size: 15px; color: var(--text-dim); line-height: 1.8; white-space: pre-wrap; }

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--border); padding: 48px 40px; margin-top: 80px;
    text-align: center; color: var(--text-muted); font-size: 14px;
}
.site-footer a { color: var(--text-dim); }

/* ── Lightbox ── */
.lightbox {
    position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999;
    display: none; align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 8px; }
.lightbox .lb-close {
    position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: none; color: #fff; font-size: 24px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%);
                     width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.1);
                     border: none; color: #fff; font-size: 22px; cursor: pointer;
                     display: flex; align-items: center; justify-content: center; }
.lightbox .lb-prev { left: 24px; }
.lightbox .lb-next { right: 24px; }
.lightbox .lb-counter { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
                         color: rgba(255,255,255,0.6); font-size: 14px; }

/* ── No boats placeholder ── */
.no-boats { text-align: center; padding: 80px 20px; }
.no-boats .icon { font-size: 72px; margin-bottom: 24px; opacity: 0.3; }
.no-boats h2 { font-size: 28px; margin-bottom: 12px; }
.no-boats p { color: var(--text-muted); font-size: 16px; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .detail-layout { grid-template-columns: 1fr; }
    .detail-sidebar { position: static; }
}
@media (max-width: 768px) {
    .nav { padding: 12px 20px; }
    .nav-links { display: none; }
    .hero { padding: 100px 20px 60px; }
    .hero h1 { font-size: 32px; }
    .hero-stats { gap: 24px; }
    .section { padding: 60px 20px; }
    .boats-grid { grid-template-columns: 1fr; }
    .gallery-main { height: 300px; }
    .boat-card .card-specs { grid-template-columns: repeat(2, 1fr); }
    .detail-layout { padding: 20px; }
    .videos-grid { grid-template-columns: 1fr; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }

/* ── Animations ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.animate-in { animation: fadeUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ── Sold Boats ── */
.boat-card-sold {
    opacity: 0.85;
}
.boat-card-sold:hover {
    opacity: 1;
}
.boat-card-sold .card-img {
    filter: saturate(0.6);
}
.boat-card-sold:hover .card-img {
    filter: saturate(0.8);
}
.sold-overlay {
    position: absolute; inset: 0; z-index: 3;
    display: flex; align-items: center; justify-content: center;
    pointer-events: none;
}
.sold-badge {
    background: rgba(239, 68, 68, 0.9);
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 4px;
    padding: 10px 36px;
    border-radius: 8px;
    transform: rotate(-12deg);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
    border: 3px solid rgba(255,255,255,0.3);
}
.hero-stats .stat a:hover .stat-num {
    color: #93c5fd;
}
.hero-stats .stat a:hover .stat-label {
    color: var(--text-dim);
}
.footer-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1320px; margin: 0 auto; padding: 0 40px; }
.footer-social { color: rgba(255,255,255,0.7); transition: color 0.2s, transform 0.2s; }
.footer-social:hover { color: #E1306C; transform: scale(1.15); }
