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

:root {
    --primary-red: #F60807;
    --primary-red-light: #ff6b6b;
    --primary-red-dark: #c0392b;
    --primary-blue: #3498db;
    --secondary-blue: #2980b9;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --lighter-gray: #ecf0f1;
    --dark-gray: #2c3e50;
    --text-color: #34495e;
    --text-light: #7f8c8d;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.15);
    --border-radius: 16px;
    --border-radius-small: 12px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--lighter-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 50%,var(--primary-red) 100%);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1.25rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.logo-image:hover {
    transform: scale(1.1);
}

.logo span {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
}

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

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    border-radius: 30px;
    opacity: 0;
}

.nav-menu a:hover::before {
    opacity: 1;
}

.nav-menu a:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #fdf2f2 0%, var(--white) 100%);
    padding: 140px 0 100px;
    display: flex;
    align-items: center;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23fdf2f2" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(231, 76, 60, 0.05) 50%, transparent 70%);
    animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    border: none;
    padding: 1.25rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    font-family: inherit;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
}

.cta-button:active {
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.offer-card-demo {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.demo-card {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-hover);
    transform: rotate(-3deg);
    position: relative;
    overflow: hidden;
}

.demo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
}

.demo-card h3 {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.demo-card p {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 500;
}

@keyframes float {
    0%, 100% { transform: rotate(-3deg) translateY(0px); }
    50% { transform: rotate(-3deg) translateY(-25px); }
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* Stores Section */
.stores-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f2 0%, var(--white) 100%);
    position: relative;
}

.stores-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.stores-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.stores-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
}

.stores-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}

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

.store-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--border-radius);
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--lighter-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-red);
    transform: scaleX(0);
    transition: var(--transition);
}

.store-card:hover::before {
    transform: scaleX(1);
}

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

.store-logo {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.store-logo img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: var(--transition);
}

.store-card:hover .store-logo img {
    transform: scale(1.05);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #fdf2f2 0%, var(--white) 100%);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

.contact-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--text-color);
    font-weight: 700;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-top: 3rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.contact-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius-small);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-red);
}

.contact-item strong {
    display: block;
    color: var(--primary-red);
    margin-bottom: 0.75rem;
    font-weight: 600;
    font-size: 1.1rem;
}

.contact-item span {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
}

.phone-link {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.phone-link:hover {
    color: var(--primary-red);
    text-decoration: underline;
}

.phone-link:active {
    color: var(--primary-red-dark);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    padding: 1.25rem;
    border: 2px solid var(--lighter-gray);
    border-radius: var(--border-radius-small);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    border-radius: var(--border-radius-small);
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-form button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.contact-form button:hover::before {
    left: 100%;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, var(--primary-red) 100%);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 2.5rem 0 1rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.5;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--primary-red-light);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    background: var(--primary-red);
    padding: 0.75rem;
    border-radius: 50%;
    transition: var(--transition);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--white);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    background: var(--primary-red-light);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
    font-size: 0.85rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .logo span {
        font-size: 1.2rem;
    }
    
    .store-logo {
        width: 120px;
        height: 120px;
    }
    
    .store-logo img {
        width: 80%;
        height: 80%;
    }
}

@media (max-width: 768px) {
    .logo-image {
        width: 70px;
        height: 70px;
    }
    
    .logo span {
        font-size: 1.3rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 1.5rem 0;
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 1rem 2rem;
        border-radius: 0;
        margin: 0 1rem;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-menu a:hover {
        background-color: rgba(255, 255, 255, 0.1);
        transform: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .store-card,
    .offer-card {
        padding: 1.5rem;
    }
    
    .store-logo {
        width: 180px;
        height: 180px;
    }
    
    .store-logo img {
        width: 90%;
        height: 90%;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .logo span {
        font-size: 1.4rem;
    }
    
    .stores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .store-logo {
        width: 170px;
        height: 170px;
    }
    
    .store-card {
        padding: 1rem;
    }
    
    .store-logo img {
        width: 85%;
        height: 85%;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .stores-section h2,
    .offers-section h2,
    .contact-section h2 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 0 16px;
    }
}