/*
Theme Name: NanoShield Landing Page
Theme URI: https://nanoshield.sa
Author: NanoShield
Author URI: https://nanoshield.sa
Description: ثيم احترافي لصفحة عروض نانو شيلد - حماية السيارات في المملكة العربية السعودية
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nanoshield
Tags: rtl-language, arabic, landing-page, dark, orange
*/

/* ===================================
   NANO SHIELD THEME - MAIN STYLES
   Brand Colors: Orange #ff6a00 / Dark #0f0f0f
   =================================== */

:root {
    --primary: #ff6a00;
    --dark-bg: #0f0f0f;
    --dark-card: #1a1a1a;
    --dark-card2: #1e1e1e;
    --dark-card3: #2a2a2a;
    --text-muted: #9ca3af;
    --border-subtle: rgba(255,255,255,0.05);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: var(--dark-bg);
    color: #ffffff;
    overflow-x: hidden;
    direction: rtl;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.2;
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-primary { color: var(--primary); }
.bg-primary { background-color: var(--primary); }
.border-primary { border-color: var(--primary); }

.section-title {
    background-color: var(--primary);
    clip-path: polygon(5% 0%, 100% 0%, 95% 100%, 0% 100%);
    display: inline-block;
    padding: 10px 40px;
    color: #000;
    font-weight: 900;
    font-size: 1.25rem;
    font-style: italic;
    text-transform: uppercase;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ===================================
   STICKY NAV
   =================================== */
.nano-nav {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 106, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nano-nav .social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nano-nav .social-icons a,
.nano-nav .social-icons i {
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nano-nav .social-icons a:hover,
.nano-nav .social-icons i:hover {
    color: var(--primary);
}

.nano-nav .brand-logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.nano-nav .brand-logo .logo-nano {
    color: var(--primary);
    font-style: italic;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)),
                url('https://images.unsplash.com/photo-1618843479313-40f8afb4b4d8?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
}

.hero-inner {
    max-width: 900px;
    width: 100%;
}

.hero-brand-name {
    color: var(--primary);
    font-size: 2.25rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.hero-divider {
    width: 6rem;
    height: 4px;
    background-color: var(--primary);
    margin: 0 auto 1.5rem;
}

.hero-title {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-offer-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-discount {
    position: relative;
}

.hero-discount-num {
    color: var(--primary);
    font-size: clamp(4rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1;
}

.hero-discount-badge {
    position: absolute;
    top: -0.5rem;
    right: -1.5rem;
    background: #fff;
    color: #000;
    font-size: 0.7rem;
    padding: 0.15rem 0.5rem;
    font-weight: 900;
    border-radius: 0.25rem;
}

.hero-offer-text {
    text-align: right;
    border-right: 4px solid var(--primary);
    padding-right: 1rem;
}

.hero-offer-title {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.hero-offer-sub {
    font-size: 1rem;
    font-weight: 300;
    color: #d1d5db;
    font-style: italic;
    letter-spacing: 0.2em;
}

.hero-warranty-badge {
    background-color: var(--primary);
    color: #000;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 900;
    font-size: 1.125rem;
    display: inline-block;
}

/* ===================================
   OFFERS SECTION
   =================================== */
.offers-section {
    padding: 5rem 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.offers-header {
    text-align: center;
    margin-bottom: 4rem;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.offer-card {
    transition: all 0.3s ease;
    background: linear-gradient(180deg, #2a2a2a 0%, #121212 100%);
    border: 1px solid #333;
    border-radius: 1rem;
    overflow: hidden;
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(255, 106, 0, 0.2);
}

.offer-card.featured {
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.2);
    transform: scale(1.05);
    background: #1a1a1a;
}

.offer-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.offer-featured-badge {
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.25rem 1rem;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 0.5rem 0.5rem;
}

.offer-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.offer-img-wrap {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.offer-img-wrap img {
    width: 100%;
    transition: transform 0.5s ease;
}

.offer-img-wrap:hover img {
    transform: scale(1.1);
}

.offer-type-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: var(--primary);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
}

.offer-price-wrap {
    margin-bottom: 1.5rem;
}

.offer-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
}

.offer-price-currency {
    font-size: 0.875rem;
    color: var(--primary);
}

.offer-price-old {
    text-decoration: line-through;
    color: #6b7280;
    font-size: 1.125rem;
    margin-top: 0.25rem;
}

.offer-btn {
    background-color: var(--primary);
    color: #000;
    font-weight: 900;
    padding: 1rem;
    border: none;
    border-radius: 0.75rem;
    cursor: pointer;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    margin-top: auto;
    font-family: 'Cairo', sans-serif;
    width: 100%;
}

.offer-btn:hover {
    background-color: #e05e00;
}

.offer-btn.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===================================
   WHO ARE WE SECTION
   =================================== */
.about-section {
    padding: 5rem 1rem;
    background-color: #0a0a0a;
}

.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img-wrap {
    border-radius: 1.5rem;
    overflow: hidden;
    border: 2px solid rgba(255,106,0,0.3);
    position: relative;
}

.about-img-wrap img {
    width: 100%;
    transition: transform 0.7s ease;
}

.about-img-wrap:hover img {
    transform: scale(1.05);
}

.about-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(255,106,0,0.4), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.about-img-wrap:hover .about-img-overlay {
    opacity: 1;
}

.about-content .section-title {
    margin-bottom: 2rem;
}

.about-content p {
    color: #9ca3af;
    line-height: 2;
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e5e7eb;
}

.feature-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: var(--primary);
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ===================================
   TESTIMONIALS
   =================================== */
.testimonials-section {
    padding: 5rem 1rem;
    background-color: #080808;
}

.testimonials-grid {
    max-width: 1280px;
    margin: 0 auto;
}

.testimonials-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.testimonial-card {
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-subtle);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(255,106,0,0.5);
    transform: translateY(-0.75rem);
    box-shadow: 0 15px 30px rgba(255,106,0,0.15);
}

.testimonial-card.featured-review {
    background: #1f1f1f;
    border-color: rgba(255,106,0,0.3);
    transform: scale(1.05);
    z-index: 10;
}

.testimonial-card.featured-review:hover {
    transform: scale(1.05) translateY(-0.75rem);
    box-shadow: 0 15px 30px rgba(255,106,0,0.2);
}

.review-avatar {
    width: 4rem;
    height: 4rem;
    background-color: var(--primary);
    color: #000;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #080808;
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
}

.review-stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.review-text {
    color: #9ca3af;
    font-style: italic;
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.review-name {
    font-weight: 700;
    color: #fff;
    font-size: 1.125rem;
    text-align: center;
}

/* ===================================
   BRANCH LOCATIONS
   =================================== */
.branches-section {
    padding: 5rem 1rem;
    background-color: var(--dark-bg);
}

.branches-grid {
    max-width: 1280px;
    margin: 3rem auto 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.branch-card {
    background: var(--dark-card);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.branch-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(1) brightness(0.8);
    transition: filter 0.5s ease;
}

.branch-card:hover img {
    filter: none;
}

.branch-info {
    padding: 1.5rem;
    text-align: center;
}

.branch-name {
    color: var(--primary);
    font-weight: 900;
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.branch-address {
    color: #6b7280;
    font-size: 0.75rem;
    margin-bottom: 1rem;
}

.branch-btn {
    background: var(--primary);
    color: #000;
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 900;
    font-size: 0.875rem;
    cursor: pointer;
    transition: transform 0.2s;
    font-family: 'Cairo', sans-serif;
}

.branch-btn:hover {
    transform: scale(0.95);
}

/* ===================================
   BOOKING FORM SECTION
   =================================== */
.booking-section {
    padding: 5rem 1rem;
    background: linear-gradient(to bottom, var(--dark-bg), #000);
}

.booking-card {
    max-width: 1024px;
    margin: 0 auto;
    background: var(--dark-card);
    border-radius: 2.5rem;
    overflow: hidden;
    border: 1px solid rgba(255,106,0,0.2);
    display: flex;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.booking-form-wrap {
    padding: 2.5rem;
    flex: 1;
}

.booking-form-wrap h3 {
    font-size: 1.875rem;
    font-weight: 900;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.booking-form-wrap p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.booking-form input,
.booking-form select {
    background: #000;
    color: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    border: 1px solid rgba(255,255,255,0.1);
    outline: none;
    transition: border-color 0.3s;
    font-family: 'Cairo', sans-serif;
    width: 100%;
    margin-bottom: 1.25rem;
}

.booking-form select {
    color: #9ca3af;
    appearance: none;
}

.booking-form input:focus,
.booking-form select:focus {
    border-color: var(--primary);
}

.booking-submit-btn {
    background: var(--primary);
    color: #000;
    width: 100%;
    padding: 1.25rem;
    border: none;
    border-radius: 1rem;
    font-weight: 900;
    font-size: 1.25rem;
    cursor: pointer;
    transition: background 0.3s, box-shadow 0.3s;
    font-family: 'Cairo', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 20px rgba(255,106,0,0.2);
    margin-top: 0.5rem;
}

.booking-submit-btn:hover {
    background: #e05e00;
    box-shadow: 0 6px 25px rgba(255,106,0,0.4);
}

.booking-img-wrap {
    width: 40%;
    position: relative;
    display: none;
}

.booking-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(30%);
}

.booking-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--dark-card), transparent, transparent);
}

/* ===================================
   FOOTER
   =================================== */
.nano-footer {
    background: #000;
    padding: 4rem 1rem;
    border-top: 1px solid rgba(255,106,0,0.2);
    text-align: center;
}

.footer-brand {
    font-size: 1.875rem;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.05em;
    margin-bottom: 0.5rem;
}

.footer-tagline {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
}

.footer-payments {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2.5rem;
    opacity: 0.4;
}

.footer-payments img {
    height: 2rem;
    object-fit: contain;
}

.footer-copyright {
    color: #4b5563;
    font-size: 0.625rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===================================
   FLOATING BUTTONS
   =================================== */
.floating-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 9999;
}

.float-btn {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
    text-decoration: none;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn.whatsapp {
    background: #22c55e;
    color: #fff;
}

.float-btn.phone {
    background: var(--primary);
    color: #000;
}

/* ===================================
   SUCCESS MESSAGE
   =================================== */
.form-success {
    display: none;
    background: rgba(34,197,94,0.1);
    border: 1px solid #22c55e;
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    color: #22c55e;
    font-weight: 700;
    text-align: center;
    margin-top: 1rem;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .offer-card.featured {
        transform: scale(1);
    }

    .testimonial-card.featured-review {
        transform: scale(1);
    }

    .booking-card {
        flex-direction: column;
        border-radius: 1.5rem;
    }

    .booking-form .form-row {
        grid-template-columns: 1fr;
    }

    .booking-img-wrap {
        display: none !important;
    }

    .offers-grid {
        gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .booking-img-wrap {
        display: block;
    }
}
