* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #FFF;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #000;
    color: #FFF;
    padding: clamp(12px, 2vw, 18px) clamp(16px, 3vw, 24px);
    gap: clamp(16px, 4vw, 32px);
    position: relative;
    z-index: 200;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.primary-nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 44px;
    height: 44px;
    border: none;
    background-color: transparent;
    color: #FFF;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background-color: rgba(255, 255, 255, 0.08);
    outline: none;
}

.menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.menu-toggle--open .menu-toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.menu-toggle--open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.menu-toggle--open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.menu-open {
    overflow: hidden;
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 190;
}

.menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.header-container menu {
    display: flex;
    gap: clamp(18px, 5vw, 40px);
    align-items: center;
}

li {
    list-style: none;
}

.header-container li a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: #FFF;
    font-family: Helvetica Neue;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.2;
    padding: clamp(8px, 1.2vw, 10px);
    gap: clamp(8px, 2vw, 15px);
}

.header-container li a:hover,
.header-container li a:focus {
    text-decoration: underline;
}

.header-container li a span {
    font-size: clamp(11px, 0.7vw + 0.35rem, 16px);
    line-height: 1.3;
    text-align: center;
    word-break: break-word;
}

@media (max-width: 1024px) {
    .header-container li a span {
        font-size: clamp(12px, 1.6vw + 0.2rem, 18px);
    }
}

.menu-icon {
    max-width: clamp(48px, 9vw, 137px);
    max-height: clamp(24px, 4.2vw, 68px);
}

.logo svg {
    width: clamp(144px, 18vw, 210px);
    height: auto;
}

/* Cart Styles */
.cart-container {
    position: relative;
    margin-left: 20px;
}

.cart-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-decoration: none;
    padding: 8px;
    transition: transform 0.2s ease;
}

.cart-link.cart-bouncing {
    animation: cartBounce 0.5s ease;
}

.cart-link:hover {
    transform: scale(1.1);
}

.cart-icon {
    color: #FFF;
    cursor: pointer;
    transition: color 0.3s ease;
}

.cart-link:hover .cart-icon {
    color: #FFD700;
}

.cart-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    font-family: Helvetica Neue, Arial, sans-serif;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
    border: 2px solid #000;
}

.cart-badge:empty {
    display: none;
}

@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
}

/* Responsive Header */
@media (min-width: 1025px) {
    .primary-nav {
        position: static;
        transform: none;
        background: transparent;
        padding: 0;
        pointer-events: auto;
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 16px 20px;
        gap: 16px;
        justify-content: space-between;
        position: relative;
    }

    .menu-toggle {
        display: flex !important;
        order: 1 !important;
        flex-shrink: 0;
        margin-left: 0 !important;
        margin-right: auto;
        width: 36px;
        height: 36px;
    }

    .menu-toggle-bar {
        width: 18px;
    }

    .logo {
        order: 2 !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        flex-shrink: 0;
        z-index: 1;
        pointer-events: none;
        margin: 0 !important;
    }

    .logo a {
        pointer-events: auto;
    }

    .primary-nav {
        order: 4;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: min(320px, 85vw);
        background-color: rgba(0, 0, 0, 0.95);
        padding: 96px 32px 32px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 220;
        pointer-events: none;
    }

    .primary-nav.is-open {
        transform: translateX(0);
        pointer-events: auto;
    }

    .primary-nav menu {
        flex-direction: column;
        gap: 24px;
        width: 100%;
        align-items: stretch;
    }

    .primary-nav li a {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 16px;
        font-size: 18px;
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1.4;
        padding: 12px 0;
        width: 100%;
        text-decoration: none;
    }

    .primary-nav li a:hover,
    .primary-nav li a:focus {
        text-decoration: underline;
    }


    .primary-nav li a span {
        font-size: 18px;
        font-weight: 600;
    }

    .menu-icon {
        max-width: 504px;
        max-height: 504px;
    }

    .cart-container {
        margin-left: auto !important;
        margin-right: 0 !important;
        order: 3 !important;
        flex-shrink: 0;
        z-index: 2;
        position: relative;
    }
    
    .cart-icon {
        width: 24px;
        height: 24px;
    }
    
    .cart-badge {
        width: 18px;
        height: 18px;
        font-size: 10px;
    }
}

@media (max-width: 900px) {
    .header-container {
        gap: clamp(14px, 3vw, 24px);
    }

    .header-container menu {
        gap: clamp(14px, 4vw, 28px);
    }

    .menu-icon {
        max-width: clamp(40px, 8vw, 96px);
        max-height: clamp(20px, 3.6vw, 48px);
    }

    .logo svg {
        width: clamp(132px, 15vw, 192px);
    }
}

@media (max-width: 600px) {
    .primary-nav {
        width: min(300px, 90vw);
        padding: 80px 20px 24px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle-bar {
        width: 20px;
    }
}

@media (max-width: 768px) {
    .cart-container {
        margin-left: 10px;
    }
    
    .cart-icon {
        width: 22px;
        height: 22px;
    }
}

@media (min-width: 1200px) {
    .logo {
        margin-left: 48px;
    }

    .cart-container {
        margin-right: 48px;
    }
}


.rating-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
    background-color: #262626;
    font-family: Helvetica Neue;
    color: #FFF;
    gap: 12px;
    padding: 15px 24px;
    overflow: hidden;
}

.rating-section > * {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .rating-section {
        padding-top: 27px;
        padding-bottom: 27px;
        padding-left: 36px;
        padding-right: 36px;
        gap: 18px;
    }

    .rating-section > * {
        white-space: normal;
    }
}

@media (max-width: 767px) {
    .rating-section {
        padding: 12px;
        gap: 6px;
    }

    .rating-section span {
        display: none !important;
    }

    .rating-section svg {
        width: 110px;
        height: auto;
    }
}

.rating-section span {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.rating-section span:nth-child(2) {
    font-weight: 700;
}

@media (max-width: 767px) {
    .rating-section span {
        display: none !important;
    }
}

.rating-section svg {
    flex-shrink: 0;
}

.loss-section {
    background-color: #214b75;
    color: #FFF;
    font-family: Helvetica Neue;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 10px;

}

.loss-section img {
    max-width: 40px;
    max-height: 40px;
}

/* Sonars Section */
.sonars-section {
    padding: 60px 20px;
    background-color: #FFF;
    max-width: 1400px;
    margin: 0 auto;
}

.sonars-section h2 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
}

.sonars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-link {
    color: inherit;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

.sonar-card {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
}

.sonar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.sonar-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sonar-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sonar-card:hover .sonar-image img {
    transform: scale(1.05);
}

.sonar-card h3 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding: 20px 20px 10px;
    min-height: 60px;
    line-height: 1.4;
}

.price-info {
    padding: 0 20px 20px;
    margin-top: auto;
}

.price {
    font-family: Helvetica Neue, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

@media (max-width: 768px) {
    .sonars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .sonar-card {
        padding: 8px;
    }
    
    .sonar-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .sonar-card .sonar-image img {
        max-width: none;
        height: 100%;
        object-fit: contain;
    }
    
    .sonar-card h3 {
        font-size: 13px;
        padding: 12px 8px 6px;
        min-height: 50px;
    }
    
    .price-info {
        padding: 0 8px 12px;
    }
    
    .price {
        font-size: 15px;
    }
    
    .add-to-cart {
        width: calc(100% - 16px);
        margin: 0 8px 12px;
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .sonars-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .sonar-image {
        padding: 16px;
        aspect-ratio: 1 / 1;
        height: auto;
    }
}

/* Accessories Section */
.accessories-section {
    padding: 60px 20px;
    background-color: #f8f8f8;
    max-width: 1400px;
    margin: 0 auto;
}

.accessories-section h2 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
}

.accessories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.accessory-card {
    background: #FFF;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    border: none;
    outline: none;
    position: relative;
}

.accessory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.accessory-card.sale {
    overflow: visible;
}

.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #e63946;
    color: #FFF;
    padding: 5px 15px;
    border-radius: 4px;
    font-family: Helvetica Neue, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 1;
}

.accessory-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.accessory-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.accessory-card:hover .accessory-image img {
    transform: scale(1.05);
}

.accessory-card h3 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding: 20px 20px 10px;
    min-height: 60px;
    line-height: 1.4;
}

.accessory-card .price-info {
    padding: 0 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.original-price {
    font-family: Helvetica Neue, sans-serif;
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.add-to-cart {
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 12px;
    background-color: #000;
    color: #FFF;
    border: none;
    outline: none;
    border-radius: 4px;
    font-family: Helvetica Neue, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-to-cart:hover {
    background-color: #333;
}

.add-to-cart.sold-out {
    background-color: #ccc;
    cursor: not-allowed;
}

.add-to-cart.sold-out:hover {
    background-color: #ccc;
}

.view-all-container {
    text-align: center;
    margin-top: 40px;
}

.view-all-btn {
    display: inline-block;
    text-decoration: none;
    padding: 15px 60px;
    background-color: #E16C2A;
    color: #FFFFFF;
    border-radius: 4px;
    font-family: Helvetica Neue, sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.view-all-btn:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .accessories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .accessory-card {
        padding: 8px;
    }
    
    .accessory-image {
        height: auto;
        aspect-ratio: 1 / 1;
    }
    
    .accessory-card .accessory-image img {
        max-width: none;
        height: 100%;
        object-fit: contain;
    }
    
    .accessory-card h3 {
        font-size: 13px;
        padding: 12px 8px 6px;
        min-height: 50px;
    }
    
    .accessory-card .price-info {
        padding: 0 8px 12px;
    }
    
    .accessory-card .price {
        font-size: 15px;
    }
    
    .add-to-cart {
        width: calc(100% - 16px);
        margin: 0 8px 12px;
        padding: 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .accessories-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .accessory-image {
        height: auto;
        aspect-ratio: 1 / 1;
        padding: 16px;
    }
}

/* How Sonars Work Section */
.how-sonars-work-section {
    padding: 80px 20px;
    background-color: #FFF;
    max-width: 1400px;
    margin: 0 auto;
}

.how-sonars-work-section h2 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

.video-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../src/img/video_photo.jpg') center/cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../src/img/video_photo.jpg') center/cover;
}

.play-button {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.video-placeholder:hover .play-button {
    transform: scale(1.1);
}

.load-video-text {
    font-family: Helvetica Neue, sans-serif;
    font-size: 16px;
    color: #FFF;
    font-weight: 500;
    text-align: center;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

@media (max-width: 768px) {
    .how-sonars-work-section {
        padding: 60px 20px;
    }
    
    .how-sonars-work-section h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }
    
    .video-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .play-button svg {
        width: 60px;
        height: 60px;
    }
    
    .load-video-text {
        font-size: 14px;
    }
}

/* Find the Right Spot Faster Section */
.find-spot-section {
    padding: 80px 20px;
    background-color: #f8f8f8;
    max-width: 1400px;
    margin: 0 auto;
}

.find-spot-section h2 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 80px;
    color: #000;
}

.find-spot-container {
    max-width: 1200px;
    margin: 0 auto;
}

.spot-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.spot-block:last-child {
    margin-bottom: 0;
}

.spot-block.reverse {
    direction: rtl;
}

.spot-block.reverse .spot-content,
.spot-block.reverse .spot-image {
    direction: ltr;
}

.spot-content h3 {
    font-family: Helvetica Neue, sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.spot-content p {
    font-family: Helvetica Neue, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}

.spot-image {
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
    border-radius: 8px;
}

.spot-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spot-block:hover .spot-image img {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .spot-block {
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .spot-content h3 {
        font-size: 28px;
    }
    
    .spot-content p {
        font-size: 16px;
    }
    
    .spot-image {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .find-spot-section {
        padding: 60px 20px;
    }
    
    .find-spot-section h2 {
        font-size: 32px;
        margin-bottom: 50px;
    }
    
    .spot-block {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }
    
    .spot-block.reverse {
        direction: ltr;
    }
    
    .spot-content h3 {
        font-size: 24px;
    }
    
    .spot-content p {
        font-size: 16px;
    }
    
    .spot-image {
        height: 250px;
    }
}

.user-testimonials {
    background: #0f141a;
    color: #ffffff;
    padding: 80px 20px;
}

.user-testimonials .specs-container h2 {
    color: #ffffff;
}

.user-testimonials .specs-container {
    max-width: 1100px;
    margin: 0 auto;

}


.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
    margin-top: 36px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(6px);
}

.testimonial-media {
    width: 100%;
    padding-top: 62.5%;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card blockquote {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
}

.testimonial-card footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.testimonial-name {
    font-weight: 600;
}

.testimonial-location {
    opacity: 0.7;
}

@media (max-width: 600px) {
    .testimonial-card {
        padding: 24px 20px;
        gap: 16px;
    }

    .testimonial-card blockquote {
        font-size: 16px;
    }
}

