* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #2c3e50; background: #ffffff; line-height: 1.6; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.top-bar { background: #1a2a3a; color: #ffffff; font-size: 13px; padding: 10px 0; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.top-bar a { color: #c8a84e; margin-left: 20px; }
.top-bar a:hover { color: #ffffff; }
.top-bar-left { display: flex; gap: 20px; }

.navbar { background: #ffffff; border-bottom: 1px solid #e8ecf1; position: sticky; top: 0; z-index: 1000; padding: 15px 0; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 22px; font-weight: 700; color: #1a2a3a; display: flex; align-items: center; gap: 10px; }
.logo-icon { font-size: 28px; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { color: #1a2a3a; font-weight: 500; font-size: 15px; transition: color 0.3s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: #c8a84e; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #c8a84e; transition: width 0.3s; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-phone { background: #c8a84e; color: #ffffff !important; padding: 12px 24px; border-radius: 4px; font-weight: 600; transition: background 0.3s; }
.nav-phone:hover { background: #b3963a; }

/* HERO */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    background: #0d1b2a url('../images/hero-bg.jpg') center/cover no-repeat;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(13,27,42,0.8) 0%, rgba(13,27,42,0.2) 100%);
    z-index: 1;
}
.hero-content { position: relative; z-index: 2; max-width: 700px; margin-left: 10%; color: #ffffff; }
.hero-title { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.text-accent { color: #c8a84e; }
.hero-subtitle { font-size: 18px; opacity: 0.9; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 14px 32px; border-radius: 4px; font-weight: 600; font-size: 15px; transition: all 0.3s; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: #c8a84e; color: #1a2a3a; }
.btn-primary:hover { background: #d4b85a; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(200,168,78,0.3); }

.section-title { font-size: 40px; font-weight: 700; margin-bottom: 12px; color: #1a2a3a; }
.section-subtitle { color: #7f8c8d; font-size: 16px; margin-bottom: 40px; }
.featured-section { padding: 80px 0; background: #f8f9fa; }
.cta-section { padding: 80px 0; background: #1a2a3a; }

/* CAROUSEL */
.carousel-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
}
.carousel-container {
    overflow: hidden;
}
.carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease;
    padding: 10px 0;
}

.carousel-card {
    min-width: calc(33.333% - 16px);
    flex-shrink: 0;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    display: block;
    color: inherit;
    text-decoration: none;
}
.carousel-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.12); }

.card-image { position: relative; height: 220px; overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.carousel-card:hover .card-image img { transform: scale(1.05); }

.card-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(13, 27, 42, 0);
    transition: background 0.35s ease;
    z-index: 2;
    pointer-events: none;
}
.carousel-card:hover .card-image::after { background: rgba(13, 27, 42, 0.55); }

.card-image .view-overlay {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 3;
    opacity: 0;
    transition: all 0.35s ease;
    pointer-events: none;
    white-space: nowrap;
    background: rgba(200, 168, 78, 0.9);
    padding: 10px 24px;
    border-radius: 4px;
}
.carousel-card:hover .card-image .view-overlay { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.card-badge { position: absolute; top: 12px; right: 12px; background: #27ae60; color: #ffffff; padding: 6px 14px; border-radius: 4px; font-size: 12px; font-weight: 600; text-transform: uppercase; z-index: 4; }
.card-body { padding: 20px; }
.card-year { font-size: 13px; color: #c8a84e; font-weight: 600; }
.card-title { font-size: 18px; font-weight: 600; margin: 6px 0; color: #1a2a3a; }
.card-specs { display: flex; gap: 12px; font-size: 13px; color: #7f8c8d; margin-bottom: 12px; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a2a3a;
}
.carousel-btn:hover {
    background: #c8a84e;
    color: #ffffff;
    border-color: #c8a84e;
    box-shadow: 0 6px 20px rgba(200,168,78,0.4);
}
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.carousel-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #d5d8dc; cursor: pointer; transition: background 0.3s; }
.carousel-dots .dot.active { background: #c8a84e; }

/* CTA */
.cta-box { text-align: center; color: #ffffff; }
.cta-box h2 { font-size: 36px; font-weight: 700; margin-bottom: 12px; }
.cta-box p { font-size: 16px; opacity: 0.8; margin-bottom: 24px; }

/* FOOTER */
.footer { background: #1a2a3a; color: #bdc3c7; padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-col h4 { color: #ffffff; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.footer-col p { font-size: 14px; margin-bottom: 8px; line-height: 1.8; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 8px; color: #bdc3c7; transition: color 0.3s; }
.footer-col a:hover { color: #c8a84e; }
.footer-bottom { border-top: 1px solid #2c3e50; margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; }

/* CATALOG */
.page-header { background: #1a2a3a; padding: 60px 0; color: #ffffff; text-align: center; }
.page-header h1 { font-size: 42px; font-weight: 700; margin-bottom: 8px; }
.page-header p { opacity: 0.8; }
.catalog-layout { display: flex; gap: 32px; padding: 60px 0; }
.catalog-sidebar { width: 260px; flex-shrink: 0; }
.filter-block { margin-bottom: 24px; }
.filter-block h4 { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; color: #1a2a3a; }
.filter-block a { display: block; padding: 8px 0; font-size: 14px; color: #7f8c8d; transition: color 0.3s; }
.filter-block a:hover, .filter-block a.active { color: #c8a84e; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; flex: 1; }

/* BOAT DETAIL */
.boat-detail { padding: 60px 0; }
.boat-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 40px; }
.gallery-main { position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; height: 400px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-thumbs img { width: 100%; height: 192px; object-fit: cover; border-radius: 4px; cursor: pointer; transition: opacity 0.3s; }
.gallery-thumbs img:hover { opacity: 0.8; }
.boat-info-grid { display: grid; grid-template-columns: 1fr 360px; gap: 40px; }
.boat-specs-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0; }
.spec-item { background: #f8f9fa; padding: 14px; border-radius: 4px; }
.spec-label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: #7f8c8d; margin-bottom: 4px; }
.spec-value { font-weight: 600; color: #1a2a3a; }
.inquiry-form { background: #1a2a3a; padding: 30px; border-radius: 8px; color: #ffffff; }
.inquiry-form h3 { font-size: 20px; margin-bottom: 20px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; margin-bottom: 6px; opacity: 0.9; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px; border: 1px solid #3d5060; background: #2c3e50; color: #ffffff; border-radius: 4px; font-size: 14px; font-family: 'Inter', sans-serif; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: #c8a84e; }
.form-group textarea { resize: vertical; min-height: 100px; }

.zoom-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 9999; cursor: zoom-out; }
.zoom-modal.active { display: flex; align-items: center; justify-content: center; }
.zoom-modal img { max-width: 90%; max-height: 90vh; object-fit: contain; }

.content-page { padding: 60px 0; max-width: 800px; margin: 0 auto; }
.content-page h2 { font-size: 32px; margin-bottom: 20px; color: #1a2a3a; }
.content-page p { margin-bottom: 16px; color: #5d6d7e; line-height: 1.8; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 24px; }
.contact-info-icon { font-size: 24px; width: 44px; height: 44px; background: #f8f9fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

@media (max-width: 1024px) {
    .carousel-card { min-width: calc(50% - 12px); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .catalog-layout { flex-direction: column; }
    .catalog-sidebar { width: 100%; }
    .catalog-grid { grid-template-columns: repeat(2, 1fr); }
    .boat-info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 36px; }
    .hero { height: 450px; }
    .carousel-card { min-width: 85%; }
    .footer-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; }
    .boat-gallery { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}