/* ===================================
   حنة الأصايل - Custom Styles
   ================================== */

/* Root Variables */
:root {
    --primary-gold: #D4AF37;
    --dark-gold: #B8941E;
    --light-gold: #F4E4B7;
    --accent-green: #2d5a3d;
    --dark-green: #1a3424;
    --black: #0a0a0a;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Tajawal', 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--black);
    transform: translateY(-3px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 50%, var(--accent-green) 100%);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 40px 20px;
}

.logo-container {
    margin: 0 auto 30px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--primary-gold);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.5);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--light-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--light-gold);
    font-weight: 600;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 40px;
    line-height: 1.8;
    color: rgba(255,255,255,0.9);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: var(--primary-gold);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Stats Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px;
    background: rgba(255,255,255,0.05);
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.stat-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--white);
    font-weight: 600;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 15px;
    color: var(--dark-gray);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold) 0%, var(--accent-green) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #666;
    margin-top: 20px;
}

/* Colors Section */
.colors-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.colors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.color-card {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    transition: var(--transition);
    box-shadow: 0 5px 15px var(--shadow);
}

.color-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.color-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.color-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.color-desc {
    font-size: 1rem;
    color: #666;
}

/* Results Gallery Section */
.results-section {
    padding: 100px 0;
    background: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-bottom: 50px;
}

.result-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.result-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-dark);
    border-color: var(--primary-gold);
}

.result-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.result-card:hover .result-image img {
    transform: scale(1.1);
}

.result-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.result-card:hover .result-overlay {
    opacity: 1;
}

.result-badge {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    color: var(--black);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.result-badge i {
    font-size: 1.2rem;
}

.result-info {
    padding: 25px;
    text-align: center;
    background: var(--light-gray);
}

.result-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.result-desc {
    font-size: 1.1rem;
    color: #666;
}

.results-cta {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
    border-radius: 20px;
    border: 2px solid var(--primary-gold);
}

.results-cta-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px var(--shadow-dark);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--dark-gold) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--black);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.feature-desc {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #e8e8e8 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 35px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
    border-right: 5px solid var(--primary-gold);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--shadow-dark);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #FFD700;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.author-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.author-location {
    font-size: 1rem;
    color: #888;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.trust-badge {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition);
}

.trust-badge:hover {
    transform: translateY(-5px);
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
}

.trust-badge i {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 15px;
}

.trust-badge h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.trust-badge p {
    font-size: 1.1rem;
    color: #666;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--black) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-gold) 0%, transparent 70%);
    opacity: 0.1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 40px;
}

.cta-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 50px;
    border: 2px solid var(--primary-gold);
}

.cta-feature i {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.cta-feature span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.cta-buttons {
    margin-bottom: 30px;
}

.cta-guarantee {
    font-size: 1.2rem;
    color: var(--light-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cta-guarantee i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 2px solid var(--light-gray);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-question {
    padding: 25px 30px;
    background: var(--light-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-gold);
    color: var(--black);
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.faq-question i {
    font-size: 1.2rem;
    transition: var(--transition);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 25px 30px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid var(--primary-gold);
}

.footer-logo p {
    font-size: 1.1rem;
    color: var(--light-gold);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--primary-gold);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-gold);
    padding-right: 5px;
}

.footer-contact ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
}

.footer-contact i {
    color: var(--primary-gold);
    font-size: 1.3rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid,
    .colors-grid,
    .results-grid,
    .features-grid,
    .testimonials-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .result-image {
        height: 300px;
    }
    
    .results-cta-text {
        font-size: 1.4rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-subtitle {
        font-size: 1.2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
        bottom: 20px;
        left: 20px;
    }
    
    .logo-container {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .cta-features {
        flex-direction: column;
    }
}