
:root {
    --primary-color: #212e60;
    --secondary-color: #192245;
    --accent-color: #fed742;
    --light-bg: #FFFFF0;
    --text-color: #131921;
}

/* Base Styles */
body {
    font-family: "Tajawal", sans-serif;
    background-color: #f9f9f9;
    color: var(--text-color);
    padding-top: 130px;
    line-height: 1.6;
}

/* Header Styles */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
}

.header-content {
    background-color: var(--primary-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    margin-right: 0;
}

.logo-container img {
    max-height: 60px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin: 2px;
}

.logo-container img:hover {
    transform: scale(1.05);
}

.store-info {
    margin-right: 10px;
    text-align: right;
    width: 100%;
}

.store-info h1 {
    font-size: 1.5rem;
    margin: 0;
    font-family: "Tajawal", sans-serif !important;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

.header-btn.header-btn-phone {
    font-size: 1.3rem;
}

.social-links a:hover {
    transform: scale(1.1);
    color: var(--accent-color);
}

.search-bar {
    display: flex;
    align-items: center;
    flex-grow: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-bar input {
    font-family: "Tajawal", sans-serif !important;
    flex-grow: 1;
    padding: 6px 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
}

.search-bar button {
    background-color: var(--accent-color);
    border: none;
    padding: 12px 12px;
    cursor: pointer;
    border-radius: 4px 0 0 4px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Styles */
.about-container {
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.about-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--accent-color);
}

.about-header img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    margin-bottom: 20px;
}

.about-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.about-section {
    margin-bottom: 40px;
    padding: 0 15px;
}

.about-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.contact-item {
    flex: 1;
    min-width: 250px;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
    text-align: center;
}

.contact-item p {
    text-align: center;
    font-size: 1.1rem;
    margin: 0;
}

.phone-number {
    font-weight: bold;
    color: var(--primary-color);
}

.map-container {
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.map-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.map-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
}

.map-link:hover {
    background: var(--secondary-color);
}

.social-links-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.social-links-list li {
    flex: 1;
    min-width: 120px;
    max-width: 200px;
}

.social-links-list a {
    display: block;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-links-list a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

/* Footer Styles */
.footer-about-wrapper {
    margin-top: 50px;
}

.footer-about-container {
    background: var(--primary-color);
    padding: 25px;
    text-align: center;
    color: white;
    border-top: 3px solid var(--accent-color);
}

.footer-about-container img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    cursor: pointer;
}

.footer-about-container h1 {
    color: var(--accent-color);
    font-size: 1.3rem;
    margin: 10px 0;
}

.footer-about-container p {
    font-size: 0.9rem;
    margin: 8px 0;
    color: var(--light-bg);
}

.social-links-horizontal {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.social-links-horizontal a {
    color: white;
    background: var(--secondary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-horizontal a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Scroll to Top Button */
#scroll-to-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    font-size: 22px;
    border: none;
    outline: none;
    background-color: rgba(128, 128, 128, 0.7);
    color: white;
    cursor: pointer;
    padding: 12px 15px;
    border-radius: 50%;
    transition: background-color 0.3s;
}

#scroll-to-top:hover {
    background-color: var(--accent-color);
}

#scroll-to-top.show {
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 150px;
    }
    
    .header-content {
        padding: 10px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .store-info h1 {
        font-size: 1.2rem;
    }

    .social-links a {
        font-size: 1rem;
    }

    .header-btn.header-btn-phone {
        font-size: 0.8rem;
    }

    .search-bar {
        order: 2;
        width: 100%;
        margin: 4px 0 0 0;
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .about-header h1 {
        font-size: 1.8rem;
    }
    
    .about-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        min-width: 100%;
    }
    
    .footer-about-container {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 170px;
    }
    
    .about-header img {
        width: 120px;
        height: 120px;
    }
    
    .about-header h1 {
        font-size: 1.6rem;
    }
    
    .social-links-list li {
        min-width: 100%;
    }
}

a {
text-decoration: none;
}


.btn-info {
    flex: 1;
    min-width: 120px;
    padding: 4px;
    color: white;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    
    font-size:0.8rem;
}



/* Info Table Styles */
.info-table-container {
    margin: 30px auto;
    max-width: 800px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-family: "Tajawal", sans-serif;
}

.info-row {
width: 100%;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.info-label {
    padding: 15px 20px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: right;
    width: 50%;
    vertical-align: middle;
text-align: center;
}

.info-label i {
    margin-left: 10px;
    color: var(--accent-color);
    width: 20px;
    text-align: center;
}

.info-value {
    padding: 15px 20px;
    color: var(--text-color);
    text-align: right;
    vertical-align: middle;
    width: 50%;
text-align: center;
}

.info-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
}

.info-value a:hover {
    color: var(--accent-color);
    text-decoration: underline;
    background-color: rgba(0,0,0,0.03);
}

#scroll-to-top:hover {
    background-color: var(--accent-color);
}


#to-home {
position: fixed;
    bottom: 75px;
    right: 20px;
    z-index: 99;
    font-size: 22px;
    border: none;
    outline: none;
    background-color: rgba(128, 128, 128, 0.7);
    color: white;
    cursor: pointer;
    padding: 12px 12px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, opacity 0.3s;
    text-decoration: none;

}

#to-home:hover {
    background-color: var(--accent-color);
}
