/* Home Page - Premium Design */

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xxxl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f9f9f9 100%);
}

.hero-section .container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Animated Background */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.hero-shape-3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    animation-delay: 10s;
    opacity: 0.08;
}

.hero-shape-4 {
    width: 200px;
    height: 200px;
    bottom: 20%;
    left: 15%;
    animation-delay: 15s;
    opacity: 0.12;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* Hero Content */
.hero-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    width: 100%;
    text-align: center;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: var(--font-size-hero);
    color: var(--black);
    margin-bottom: var(--space-lg);
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--black) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: center;
    width: 100%;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--gold-dark);
    margin-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-align: center;
    width: 100%;
}

.hero-description {
    font-size: var(--font-size-md);
    color: var(--gray-darker);
    margin-bottom: var(--space-xxl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary {
    background: var(--gold);
    color: var(--black);
    border: 2px solid var(--gold);
    padding: var(--space-md) var(--space-xxl);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
    padding: var(--space-md) var(--space-xxl);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.feature-section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xxxl);
    width: 100%;
}

.section-header h2 {
    font-size: var(--font-size-xxl);
    color: var(--black);
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
    padding-bottom: var(--space-md);
    text-align: center;
    width: 100%;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gold);
}

.section-header p {
    font-size: var(--font-size-md);
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.content-image-section {
    padding: var(--space-xxxl) 0;
}

.content-image-section:nth-child(even) {
    background: var(--gray-light);
}

.content-image-section .grid-2 {
    align-items: center;
}

.content-side h3 {
    font-size: var(--font-size-xl);
    color: var(--black);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.content-side p {
    font-size: var(--font-size-base);
    color: var(--gray-darker);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
}

.image-side {
    height: 500px;
}

.image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.feature-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition-base);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-card h4 {
    font-size: var(--font-size-lg);
    color: var(--black);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    text-align: center;
}

.feature-card p {
    font-size: var(--font-size-base);
    color: var(--gray-dark);
    line-height: 1.7;
    text-align: center;
}

/* Products Section */
.products-section {
    padding: var(--space-xxxl) 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.product-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    padding: var(--space-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: var(--font-size-xl);
    color: var(--black);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.product-content p {
    font-size: var(--font-size-base);
    color: var(--gray-darker);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    flex: 1;
}

.product-content .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* RTL Support - Keep text centered */
[dir="rtl"] .hero-content-wrapper,
[dir="rtl"] .hero-content,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-description {
    text-align: center !important;
    direction: rtl;
}

[dir="rtl"] .content-side {
    text-align: right;
}

[dir="rtl"] .section-header,
[dir="rtl"] .section-header h2,
[dir="rtl"] .section-header p {
    text-align: center !important;
}

[dir="rtl"] .feature-card,
[dir="rtl"] .feature-card h4,
[dir="rtl"] .feature-card p {
    text-align: center !important;
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: var(--space-xxl) 0;
    }
    
    .hero-title {
        font-size: var(--font-size-xxl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .hero-shape {
        width: 200px !important;
        height: 200px !important;
    }
    
    .hero-shape-1 {
        width: 250px !important;
        height: 250px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    
    .image-side {
        height: 300px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}
