/* ============================================
   Premium Arabic Landing Page - الحسام ALHOSAM
   ============================================ */

/* CSS Variables - Brand Colors */
:root {
    --deep-red: #8B1A1A;
    --red-dark: #6B1414;
    --red-light: #A52A2A;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --gold-dark: #B8941F;
    --gold-light: #E5C158;
    --cream: #F5F1E8;
    --cream-light: #FAF8F3;
    --text-dark: #1A1A1A;
    --text-light: #4A4A4A;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-gold: rgba(212, 175, 55, 0.2);
    --shadow-heavy: rgba(0, 0, 0, 0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Cairo', 'Arial', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    color: var(--deep-red);
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--deep-red);
    z-index: 1000;
    padding: 1.2rem 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    height: 50px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
    letter-spacing: 0.01em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--gold);
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1500937386664-56d1dfef3854?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&h=1080&q=80');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top right, rgba(212, 175, 55, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at bottom left, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 4rem 3rem;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hero-logo {
    margin-bottom: 3rem;
}

.hero-logo-img {
    height: 140px;
    width: auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.25));
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--white);
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: 1.8;
    color: var(--white);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.6),
        0 4px 16px rgba(0, 0, 0, 0.4);
}

.btn-gold {
    display: inline-block;
    padding: 1.2rem 4rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 
        0 8px 24px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset,
        0 1px 0 rgba(255, 255, 255, 0.2) inset;
    transition: all 0.3s ease;
    letter-spacing: 0.03em;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 32px rgba(212, 175, 55, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 1px 0 rgba(255, 255, 255, 0.3) inset;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-gold:active {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 20px rgba(212, 175, 55, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(212, 175, 55, 0.6);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139, 26, 26, 0.03) 2px, rgba(139, 26, 26, 0.03) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(139, 26, 26, 0.03) 2px, rgba(139, 26, 26, 0.03) 4px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    padding: 3rem;
    background: var(--cream-light);
    border-radius: 12px;
    border-right: 4px solid var(--gold);
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.about-text::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 6rem;
    font-family: 'Amiri', serif;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    font-weight: 700;
}

.about-description {
    font-size: 1.25rem;
    line-height: 2.2;
    color: var(--text-dark);
    text-align: justify;
    font-weight: 400;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 1rem 0;
}

.about-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 1;
    box-shadow: 0 2px 12px var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px var(--shadow-heavy);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    padding: 1.5rem 1rem 1rem;
    z-index: 2;
    text-align: center;
}

/* Products Section */
.products {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.product-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 12px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card::before {
    display: none;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--shadow-heavy);
    border-color: var(--gold);
}

.product-image {
    width: 100%;
    height: 280px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    display: block;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-overlay {
    display: none;
}

.product-icon {
    display: none;
}

.product-name {
    padding: 1.8rem;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep-red);
    margin: 0;
    letter-spacing: -0.01em;
}

/* Quality Section */
.quality {
    padding: 120px 0;
    background: var(--deep-red);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.quality::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 2px 2px, rgba(212, 175, 55, 0.15) 1px, transparent 0);
    background-size: 50px 50px;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.quality::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

.quality .container {
    position: relative;
    z-index: 1;
}

.quality .section-title {
    color: var(--white);
}

.quality .section-title::after {
    background: var(--gold);
}

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

.quality-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.quality-item:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.3);
}

.quality-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.8rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-icon svg {
    width: 100%;
    height: 100%;
}

.quality-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.quality-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

/* Packaging Section */
.packaging {
    padding: 120px 0;
    background: var(--white);
}

.packaging-description {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.packaging-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.packaging-item {
    perspective: 1000px;
}

.packaging-mockup {
    width: 100%;
    height: 420px;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 16px var(--shadow);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.packaging-item:hover .packaging-mockup {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px var(--shadow-heavy);
    border-color: var(--gold);
}

.packaging-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.packaging-item:hover .packaging-img {
    transform: scale(1.05);
}

.packaging-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    padding: 1.5rem 2rem 1rem;
    z-index: 2;
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--cream-light);
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 4px;
    box-shadow: 0 2px 12px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-item:hover {
    transform: translateX(-6px);
    box-shadow: 0 4px 20px var(--shadow-heavy);
    border-color: var(--gold);
}

.contact-icon {
    width: 56px;
    height: 56px;
    background: var(--gold);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-details h4 {
    color: var(--deep-red);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.contact-details a,
.contact-details p {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.contact-details a:hover {
    color: var(--deep-red);
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.phone-numbers a {
    display: block;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.phone-numbers a:hover {
    color: var(--deep-red);
}

.contact-map {
    width: 100%;
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-heavy);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.contact-map iframe {
    display: block;
    width: 100%;
    border: none;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.2rem 3rem;
    background: #25D366;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    margin: 0 auto;
    max-width: 280px;
    letter-spacing: 0.01em;
}

.btn-whatsapp svg {
    width: 28px;
    height: 28px;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    background: #20BA5A;
}

/* Footer */
.footer {
    background: var(--deep-red);
    color: var(--white);
    padding: 3.5rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo-img {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Animation Classes */
.animate-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Animations */
@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(15px);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: var(--deep-red);
        width: 100%;
        height: calc(100vh - 70px);
        padding: 3rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -2px 0 12px rgba(0, 0, 0, 0.15);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .quality-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
    }

    .packaging-showcase {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-logo-img {
        height: 100px;
    }

    .btn-gold {
        padding: 1rem 2.5rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.9rem;
    }

    .about-description {
        font-size: 1.05rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }

    .product-image {
        height: 240px;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .contact-item:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .about {
        padding: 80px 0;
    }

    .products,
    .quality,
    .packaging,
    .contact {
        padding: 80px 0;
    }

    .contact-map {
        margin: 1.5rem 0;
    }

    .contact-map iframe {
        height: 300px;
    }

    .phone-numbers {
        gap: 0.4rem;
    }

    .phone-numbers a {
        font-size: 0.95rem;
    }
}
