/* =========================================
   Sonax Page — Color Overrides (Red Theme)
   ========================================= */
.sonax-page-hero,
.sonax-packages-section,
.sonax-products-banner,
.sonax-trust-bar {
    --sonax-red: #cc0000;
    --sonax-red-dark: #a30000;
    --sonax-red-light: #fce4e4;
}

@media (prefers-color-scheme: dark) {
    .sonax-page-hero,
    .sonax-packages-section,
    .sonax-products-banner,
    .sonax-trust-bar {
        --sonax-red-light: #3d1515;
    }
}

/* =========================================
   Sonax Page — Hero Section
   ========================================= */
.sonax-page-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    background: #000;
    overflow: hidden;
}

.sonax-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.sonax-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

/* Subtle animated gradient orbs */
.sonax-page-hero::before,
.sonax-page-hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    animation: floatOrb 12s ease-in-out infinite alternate;
}

.sonax-page-hero::before {
    width: 500px;
    height: 500px;
    background: var(--sonax-red);
    top: -150px;
    right: -100px;
}

.sonax-page-hero::after {
    width: 400px;
    height: 400px;
    background: #f39c12;
    bottom: -100px;
    left: -100px;
    animation-delay: 6s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -30px) scale(1.15); }
}

.sonax-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

/* Hero Badge — Sonax Logo */
.sonax-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(204, 0, 0, 0.12);
    border: 1px solid rgba(204, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 28px;
    border-radius: 40px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    animation: fadeInDown 0.8s ease-out;
}

.sonax-hero-logo {
    height: 32px;
    width: auto;
}

.badge-divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, 0.25);
}

.text-sonax-red {
    color: var(--sonax-red);
    text-shadow: 0 0 30px rgba(204, 0, 0, 0.3);
}

.sonax-hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
    animation: fadeInDown 0.8s ease-out 0.1s both;
}

.sonax-hero-content p {
    font-size: 1.15rem;
    margin-bottom: 35px;
    opacity: 0.85;
    line-height: 1.7;
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

.sonax-hero-content .hero-buttons {
    animation: fadeInDown 0.8s ease-out 0.3s both;
}

.btn-sonax-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
    background: var(--sonax-red);
    color: #fff;
    box-shadow: 0 4px 20px rgba(204, 0, 0, 0.3);
}

.btn-sonax-primary:hover {
    background: var(--sonax-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(204, 0, 0, 0.4);
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   Trust Bar — Redesigned
   ========================================= */
.sonax-trust-bar {
    background: var(--card-bg);
    border-top: 3px solid var(--sonax-red);
    padding: 25px 0;
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--sonax-red-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    color: var(--sonax-red);
    font-size: 1.1rem;
}

.trust-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.trust-text strong {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.trust-text span {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* =========================================
   Packages Section
   ========================================= */
.sonax-packages-section {
    background-color: var(--bg-light);
}

.sonax-packages-section .section-title h2::after {
    background-color: var(--sonax-red);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.package-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

/* Premium card highlight */
.package-premium {
    border: 2px solid transparent;
    background-image: linear-gradient(var(--card-bg), var(--card-bg)),
                      linear-gradient(135deg, #cc0000, #ff3333, #cc0000);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.package-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #cc0000, #e60000);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 3px 12px rgba(204, 0, 0, 0.4);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.package-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

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

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

.package-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.package-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.package-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex: 1;
}

.package-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--card-border);
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features li i {
    font-size: 0.85rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.package-features li i.fa-check {
    color: var(--sonax-red);
}

.feature-free {
    color: #e67e22 !important;
    font-weight: 600;
}

.feature-free i {
    color: #e67e22 !important;
}

.feature-included {
    color: var(--whatsapp) !important;
    font-weight: 600;
}

.feature-included i {
    color: var(--whatsapp) !important;
}

.sonax-btn {
    margin-top: auto;
}

/* =========================================
   Sonax Products Banner (no image, text only)
   ========================================= */
.sonax-products-banner {
    background: #000;
    padding: 70px 0;
    overflow: hidden;
}

.products-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.products-sonax-logo {
    height: 50px;
    margin-bottom: 20px;
    /* Keep original Sonax colors, add white glow for 'Made in Germany' readability */
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
    display: none; /* Hidden on desktop */
}

.products-text h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    display: inline-block;
}

.products-text h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--sonax-red);
    border-radius: 2px;
}

.products-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.products-highlights {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item i {
    color: var(--sonax-red);
    font-size: 1rem;
}

/* =========================================
   Footer Red Overrides (Sonax Page)
   ========================================= */
.footer-contact i,
.footer-address i {
    color: #cc0000;
}

.footer-contact h3::after,
.footer-address h3::after,
.footer-social h3::after {
    background-color: #cc0000;
}

.social-icons a:hover {
    background-color: #cc0000;
}

/* =========================================
   Floating Contact Buttons (shared style)
   ========================================= */
.floating-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.fab-phone {
    background: var(--sonax-red, #3498db);
    color: #fff;
}

.fab-phone:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Phone Modal */
.phone-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.phone-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.phone-modal {
    background: var(--card-bg, #fff);
    border-radius: 16px;
    padding: 28px;
    width: 90%;
    max-width: 340px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.phone-modal-overlay.active .phone-modal {
    transform: translateY(0);
}

.phone-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.phone-modal-header h3 {
    font-size: 1.2rem;
    color: var(--text-dark, #1a252f);
}

.phone-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-light, #7f8c8d);
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.phone-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-light, #f8fbfd);
    margin-bottom: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--text-dark, #1a252f);
    font-weight: 600;
    font-size: 1.05rem;
}

.phone-option:last-child {
    margin-bottom: 0;
}

.phone-option:hover {
    background: var(--sonax-red-light, #e1f0fa);
    transform: translateX(4px);
}

.phone-option i {
    color: var(--sonax-red, #3498db);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* =========================================
   Responsive — Sonax Page
   ========================================= */
@media (max-width: 992px) {
    .sonax-hero-content h1 {
        font-size: 2.8rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .sonax-page-hero {
        padding: 110px 20px 60px;
        min-height: calc(100vh - 140px); /* Leaves space for trust bar at the bottom */
        display: flex;
        align-items: center;
    }

    .sonax-hero-content h1 {
        font-size: 2rem;
    }

    .sonax-hero-content p {
        font-size: 1rem;
    }

    .trust-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .trust-item {
        gap: 10px;
    }

    .trust-icon {
        width: 38px;
        height: 38px;
    }

    .trust-icon i {
        font-size: 0.95rem;
    }

    .trust-text strong {
        font-size: 0.82rem;
    }

    .trust-text span {
        font-size: 0.72rem;
    }

    .package-content {
        padding: 20px;
    }

    .floating-buttons {
        bottom: 16px;
        right: 16px;
    }

    .fab {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .products-text h2 {
        font-size: 1.6rem;
    }

    .products-sonax-logo {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .sonax-page-hero {
        padding: 100px 15px 50px;
    }

    .sonax-hero-content h1 {
        font-size: 1.7rem;
    }

    .sonax-hero-badge {
        font-size: 0.78rem;
        padding: 8px 16px;
        gap: 10px;
    }

    .sonax-hero-logo {
        height: 24px;
    }

    .trust-items {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .package-image {
        height: 180px;
    }

    .package-content h3 {
        font-size: 1.15rem;
    }

    .package-features li {
        font-size: 0.82rem;
        padding: 6px 0;
    }

    .products-highlights {
        gap: 15px;
    }

    .highlight-item {
        font-size: 0.82rem;
    }
}
