/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

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

body {
    font-family: 'Tajawal', Arial, sans-serif;
    color: #414042;
    background-color: #FFFFFF; 
    direction: rtl;
    text-align: right;
    overflow-x: hidden;
}

/* Color Variables */
:root {
    --faraz-dark-gray: #414042;
    --faraz-medium-gray: #aab0ae;
    --faraz-light-gray: #e6e6e6;
    --faraz-teal: #32bcad;
}

/* Container */
.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF; 
}

/* Header Section */
.landing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 2px solid var(--faraz-teal);
    flex-wrap: wrap;
}

.logo-container {
    max-width: 200px;
}

.logo-container img {
    width: 100%;
    height: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Header Contact */
.header-contact {
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    color: var(--faraz-dark-gray);
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: color 0.3s ease;
    padding: 8px 15px;
    background-color: #f9f9f9;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.phone-link:hover {
    color: var(--faraz-teal);
    background-color: #fff;
    transform: translateY(-2px);
}

.phone-link i {
    margin-left: 8px;
    color: var(--faraz-teal);
    font-size: 20px;
}

.phone-text {
    display: inline-block;
    direction: ltr;
}

/* Main Content */
.landing-content {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-color: #FFFFFF; 
}

/* Info Cards */
.info-card {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); 
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h2 {
    color: var(--faraz-teal);
    margin-bottom: 15px;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.info-card h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 3px;
    background-color: var(--faraz-teal);
}

.info-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Welcome Section */
.welcome-section {
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 100px;
    height: 100px;
    background: var(--faraz-teal);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

/* Working Hours */
.working-hours {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border-right: 3px solid var(--faraz-teal);
}

.working-hours h3 {
    color: var(--faraz-dark-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.working-hours h3 i {
    margin-left: 8px;
    color: var(--faraz-teal);
}

.hours-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #ddd;
}

.day-label {
    font-weight: bold;
    color: var(--faraz-dark-gray);
}

.hours-value {
    color: var(--faraz-teal);
    font-weight: 500;
}

/* Location Section */
.location-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.location-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

/* Promotions Section */
.promo-section {
    position: relative;
}

.promo-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.promo-item {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-item:hover {
    background: #f1f1f1;
    transform: translateY(-5px);
}

.promo-icon {
    width: 60px;
    height: 60px;
    background: var(--faraz-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: white;
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.promo-item h3 {
    color: var(--faraz-dark-gray);
    margin-bottom: 10px;
}

.promo-item p {
    color: #666;
    font-size: 14px;
}

.promo-item::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 80px;
    height: 80px;
    background: var(--faraz-teal);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
    display: none;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.contact-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--faraz-teal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.whatsapp-icon {
    background: #25D366;
}

.contact-details h3 {
    color: var(--faraz-dark-gray);
    margin-bottom: 5px;
    font-size: 18px;
    text-align: right;
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: var(--faraz-teal);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    text-align: left;
    direction: ltr;
}

.contact-details a:hover {
    color: var(--faraz-dark-gray);
}

/* Phone Number Style */
.phone-number {
    font-family: Arial, sans-serif;
    text-align: left;
    direction: ltr;
    display: block;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: var(--faraz-teal);
    color: white;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(50, 188, 173, 0.3);
}

.cta-button:hover {
    background-color: var(--faraz-dark-gray);
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.cta-button i {
    margin-left: 8px;
}

/* Footer */
.landing-footer {
    background-color: var(--faraz-dark-gray);
    color: white;
    padding: 30px 0;
    text-align: center;
    margin-top: 50px;
    border-radius: 10px 10px 0 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--faraz-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: white;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    background-color: white;
    color: var(--faraz-teal);
}

/* Pattern Background */
.pattern-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.05;
    pointer-events: none;
    background-repeat: repeat;
    display: none;
}

/* Additional Content Section */
.additional-content {
    margin-top: 40px;
}

.additional-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 15px 0;
}

.additional-content h2 {
    color: var(--faraz-teal);
    margin-bottom: 15px;
    font-size: 24px;
    position: relative;
    padding-bottom: 10px;
}

.additional-content h3 {
    color: var(--faraz-dark-gray);
    margin: 20px 0 10px;
    font-size: 20px;
}

.additional-content ul, 
.additional-content ol {
    margin: 15px 30px;
}

.additional-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Decorative Elements */
.decoration-element {
    position: absolute;
    width: 100px;
    height: 100px;
    background-color: var(--faraz-teal);
    opacity: 0.1;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.05;
    display: none;
}

.decoration-1 {
    top: 20%;
    left: 10%;
}

.decoration-2 {
    bottom: 30%;
    right: 5%;
    width: 150px;
    height: 150px;
}

/* Loading Animation */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--faraz-medium-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-logo {
    width: 150px;
    height: auto;
    animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Notification Banner */
.notification-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    max-width: 350px;
    animation: slideIn 0.5s forwards;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.notification-banner.notification-info {
    border-right: 4px solid var(--faraz-teal);
}

.notification-banner.notification-warning {
    border-right: 4px solid #f0ad4e;
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-content i {
    color: var(--faraz-teal);
    font-size: 20px;
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.3s ease;
}

.notification-close:hover {
    color: var(--faraz-dark-gray);
}

/* Animations */
.animated {
    animation: fadeInUp 0.5s forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Design */
@media (max-width: 992px) {
    .promo-container,
    .contact-container {
        flex-direction: column;
    }
    
    .promo-item,
    .contact-item {
        width: 100%;
    }
    
    .landing-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 10px;
    }
    
    .header-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .landing-header {
        padding: 15px 0;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .cta-button {
        width: 100%;
    }
    
    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-card h2 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .landing-container {
        padding: 10px;
    }
    
    .info-card {
        padding: 15px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-contact {
        margin-right: 0;
    }
}

/* Print Styles */
@media print {
    .landing-container {
        padding: 0;
        max-width: 100%;
    }
    
    .info-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    .pattern-bg,
    .decoration-element,
    .cta-button,
    .social-icons {
        display: none;
    }
    
    .landing-header,
    .landing-footer {
        text-align: center;
    }
}