/* 
 * Classic Old Theme Style
 * Company: التاج الطبي
 * Single CSS File - No Additional Files
 */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800&display=swap');

body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f9f5f0;
    color: #3a2c1b;
    line-height: 1.6;
    font-size: 16px;
    direction: rtl;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #2c1810;
    letter-spacing: -0.02em;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
    text-align: center;
    color: #8b4513;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #d4a373, #8b4513, #d4a373);
}

/* ===== HEADER & NAVIGATION (Classic Style) ===== */
.header {
    background: linear-gradient(135deg, #2c1810 0%, #4a2c1a 100%);
    color: #f0e6d8;
    padding: 1.2rem 0;
    border-bottom: 5px solid #b87c4b;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-placeholder {
    width: 80px;
    height: 80px;
    background-color: #f0e6d8;
    border-radius: 50%;
    border: 3px solid #b87c4b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(184, 124, 75, 0.5);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.company-name h1 {
    font-size: 1.8rem;
    color: #f0e6d8;
    margin-bottom: 0.2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.company-name .subtitle {
    font-size: 1rem;
    color: #d4a373;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav ul li a {
    color: #f0e6d8;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.5rem 0.8rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
}

.nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #b87c4b;
    transition: width 0.3s ease;
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 80%;
}

.nav ul li a:hover,
.nav ul li a.active {
    color: #d4a373;
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f0e6d8 0%, #e6d5b8 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(184, 124, 75, 0.03) 20px,
        rgba(184, 124, 75, 0.03) 40px
    );
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #2c1810;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #5a3e2b;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #2c1810, #4a2c1a);
    color: #f0e6d8;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid #b87c4b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.btn:hover {
    background: linear-gradient(135deg, #4a2c1a, #2c1810);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: #d4a373;
}

.btn-primary {
    background: linear-gradient(135deg, #b87c4b, #8b4513);
}

.hero-img {
    width: 100%;
    height: 400px;
    background-color: #d4a373;
    border-radius: 20px 20px 20px 0;
    box-shadow: 20px 20px 0 #2c1810;
    border: 4px solid #b87c4b;
    object-fit: cover;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: 5rem 0;
    background-color: #fff9f0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    color: #3a2c1b;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-img {
    width: 100%;
    height: 400px;
    background-color: #b87c4b;
    border-radius: 0 20px 20px 20px;
    box-shadow: -20px 20px 0 #2c1810;
    border: 4px solid #d4a373;
    object-fit: cover;
}

/* ===== ACTIVITIES SECTION ===== */
.activities {
    padding: 5rem 0;
    background: linear-gradient(135deg, #e6d5b8 0%, #f0e6d8 100%);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.activity-card {
    background: #fff9f0;
    padding: 2rem;
    border-radius: 20px 20px 20px 0;
    box-shadow: 8px 8px 0 #2c1810;
    border: 2px solid #b87c4b;
    transition: all 0.3s ease;
    position: relative;
}

.activity-card:hover {
    transform: translate(-5px, -5px);
    box-shadow: 15px 15px 0 #2c1810;
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #b87c4b, #8b4513);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid #2c1810;
}

.activity-icon i {
    font-size: 2rem;
    color: #f0e6d8;
}

.activity-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #8b4513;
    font-weight: 700;
}

.activity-card p {
    color: #5a3e2b;
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 5rem 0;
    background-color: #fff9f0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, #2c1810, #4a2c1a);
    padding: 2.5rem;
    border-radius: 30px 30px 30px 0;
    border: 4px solid #b87c4b;
    color: #f0e6d8;
}

.info-item {
    text-align: center;
    margin-bottom: 2rem;
}

.info-item i {
    font-size: 2.5rem;
    color: #d4a373;
    margin-bottom: 1rem;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #d4a373;
}

.info-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.contact-form {
    background: #f0e6d8;
    padding: 2.5rem;
    border-radius: 30px 30px 0 30px;
    border: 4px solid #b87c4b;
    box-shadow: 15px 15px 0 #2c1810;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c1810;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #b87c4b;
    background-color: #fff;
    border-radius: 10px;
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b4513;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

/* Captcha Styles */
.captcha-group {
    background: #e6d5b8;
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid #b87c4b;
}

.captcha-container {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.captcha-box {
    flex: 1;
    display: flex;
    gap: 1rem;
    align-items: center;
    background: #fff;
    padding: 0.5rem;
    border-radius: 10px;
    border: 2px solid #8b4513;
}

.captcha-box span {
    font-size: 1.5rem;
    font-weight: 800;
    color: #2c1810;
    min-width: 120px;
    padding: 0 1rem;
}

.captcha-box input {
    flex: 1;
    border: none;
    border-right: 2px solid #b87c4b;
    border-radius: 0;
    padding: 0.5rem;
}

.refresh-captcha {
    background: linear-gradient(135deg, #2c1810, #4a2c1a);
    color: #f0e6d8;
    border: 2px solid #b87c4b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-captcha:hover {
    transform: rotate(180deg);
    background: linear-gradient(135deg, #4a2c1a, #2c1810);
}

.btn-block {
    width: 100%;
    font-size: 1.2rem;
    padding: 1.2rem;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #2c1810, #1a0f09);
    color: #f0e6d8;
    padding: 4rem 0 2rem;
    border-top: 5px solid #b87c4b;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        90deg,
        #b87c4b,
        #b87c4b 20px,
        #d4a373 20px,
        #d4a373 40px
    );
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo img {
    width: 150px;
    height: 150px;
    background-color: #f0e6d8;
    border-radius: 50%;
    border: 4px solid #b87c4b;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-links h3,
.footer-social h3 {
    color: #d4a373;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: #f0e6d8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #d4a373;
    padding-right: 10px;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: #3a2c1b;
    border: 2px solid #b87c4b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f0e6d8;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #b87c4b;
    transform: translateY(-5px);
    border-color: #f0e6d8;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 2px solid #b87c4b;
    opacity: 0.8;
}

/* ===== REVEAL ON SCROLL EFFECT ===== */
.reveal {
    position: relative;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .hero .container,
    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .nav ul {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 1rem;
    }
    
    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .captcha-container {
        flex-direction: column;
    }
    
    .captcha-box {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
    }
    
    .activity-card {
        padding: 1.5rem;
    }
    
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }
}