/* ============================================================ */
/* STYLE.CSS - Classic Old Theme for شركة الفخامة                */
/* Single CSS file - no extra files                              */
/* Complete version with all styles                              */
/* ============================================================ */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Times New Roman', 'Traditional Arabic', 'Arabic Typesetting', serif;
    background: #e8e0d3;
    color: #2c2b28;
    line-height: 1.7;
    padding: 24px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================ */
/* REVEAL EFFECT (class added by JavaScript)                    */
/* ============================================================ */
[data-reveal] {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================ */
/* TYPOGRAPHY                                                   */
/* ============================================================ */
h1, h2, h3, h4 {
    font-weight: normal;
    letter-spacing: 0.3px;
}

h1 {
    font-size: 2.4rem;
    color: #3d3224;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    color: #3d3224;
}

h3 {
    font-size: 1.3rem;
    color: #4d3e2e;
}

h4 {
    font-size: 1.1rem;
    color: #4d3e2e;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.2rem;
    color: #3d3224;
    margin-bottom: 0.3rem;
    padding-right: 18px;
    border-right: 6px solid #b8a78b;
    display: inline-block;
}

.section-sub {
    color: #6f6558;
    font-style: italic;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
}

a {
    color: #4d3e2e;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #7d6b56;
}

/* ============================================================ */
/* BUTTONS                                                      */
/* ============================================================ */
.btn {
    display: inline-block;
    padding: 10px 32px;
    border: none;
    font-family: inherit;
    font-size: 1.05rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    text-align: center;
}

.btn-primary {
    background: #4d3e2e;
    color: #fcf9f2;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background: #2b1f13;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
    color: #fcf9f2;
}

.btn-secondary {
    background: transparent;
    color: #4d3e2e;
    border: 2px solid #b8a78b;
}

.btn-secondary:hover {
    background: #b8a78b;
    color: #fcf9f2;
    transform: scale(1.02);
}

/* ============================================================ */
/* HEADER                                                       */
/* ============================================================ */
.header {
    background: #fcf9f2;
    padding: 18px 0 16px;
    border-bottom: 3px double #d6cdbc;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.brand h1 {
    font-size: 2.2rem;
    border-bottom: none;
    display: block;
    color: #3d3224;
    line-height: 1.1;
}

.brand span {
    display: block;
    font-size: 1.1rem;
    color: #7b6b58;
    letter-spacing: 2px;
    margin-top: -2px;
}

.brand small {
    display: block;
    font-size: 0.85rem;
    color: #9b8a74;
    margin-top: 2px;
    font-style: italic;
}

.nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #4d3e2e;
    font-size: 1.1rem;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.25s, color 0.25s;
}

.nav a:hover {
    border-bottom-color: #b8a78b;
    color: #2b1f13;
}

/* ============================================================ */
/* HERO SECTION                                                 */
/* ============================================================ */
.hero {
    background: #fcf9f2;
    padding: 40px 0 50px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 340px;
}

.hero-content h2 {
    font-size: 2.5rem;
    color: #3d3224;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #4f4437;
    margin-bottom: 14px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 20px;
}

/* ===== HERO FIGURE (replaces image) ===== */
.hero-figure {
    flex: 1 1 280px;
    text-align: center;
}

.figure-box {
    background: #f5f0e7;
    border: 8px solid #e8dfd0;
    border-radius: 4px;
    padding: 30px 20px;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.figure-icon {
    font-size: 3.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.figure-icon:hover {
    transform: scale(1.15) rotate(-5deg);
}

.figure-text {
    width: 100%;
    font-size: 1.1rem;
    color: #4d3e2e;
    font-weight: bold;
    margin-top: 10px;
    letter-spacing: 1px;
}

/* ============================================================ */
/* ABOUT SECTION                                                */
/* ============================================================ */
.about {
    background: #f8f4ec;
    padding: 50px 0 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.about-grid {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.about-text {
    flex: 1 1 320px;
}

.about-text p {
    margin-bottom: 14px;
    font-size: 1.05rem;
    color: #3d3224;
}

.about-features {
    list-style: none;
    margin-top: 16px;
}

.about-features li {
    padding: 6px 0;
    font-size: 1rem;
    color: #4d3e2e;
    border-bottom: 1px dashed #e3d9cb;
}

.about-features li:last-child {
    border-bottom: none;
}

/* ===== ABOUT FIGURE (replaces image) ===== */
.about-figure {
    flex: 1 1 260px;
    text-align: center;
    background: #f5f0e7;
    border: 8px solid #e3d9cb;
    border-radius: 4px;
    padding: 30px 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.about-icon-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-icon {
    font-size: 3rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.about-icon:hover {
    transform: scale(1.15) rotate(5deg);
}

.about-figure-text {
    font-size: 1.2rem;
    color: #4d3e2e;
    font-weight: bold;
    border-top: 2px solid #d6cdbc;
    padding-top: 12px;
    margin-top: 4px;
}

/* ============================================================ */
/* ACTIVITIES SECTION                                           */
/* ============================================================ */
.activities {
    background: #fcf9f2;
    padding: 50px 0 30px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 20px 0 24px;
}

.activity-item {
    background: #f5f0e7;
    padding: 16px 18px;
    border-right: 4px solid #b8a78b;
    border-radius: 2px;
    font-size: 1rem;
    color: #2c2b28;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
    transition: background 0.2s, border-color 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.activity-item:hover {
    background: #efe8db;
    border-right-color: #8f7b61;
}

.activity-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.activity-name {
    flex: 1;
}

.legacy-note {
    margin-top: 24px;
    font-size: 0.95rem;
    color: #6f6558;
    border-top: 1px dashed #d6cdbc;
    padding-top: 18px;
    text-align: center;
}

/* ============================================================ */
/* CONTACT SECTION                                              */
/* ============================================================ */
.contact {
    background: #fcf9f2;
    padding: 50px 0 40px;
    border-radius: 4px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.contact-form {
    flex: 2 1 340px;
    background: #f6f1e8;
    padding: 30px 28px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px #e3d9cb;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    color: #4d3e2e;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.form-group .required {
    color: #a05252;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d6cdbc;
    border-radius: 4px;
    background: #fefcf7;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #9b8a74;
    box-shadow: 0 0 0 3px rgba(155, 138, 116, 0.15);
}

.submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1.15rem;
    border-radius: 40px;
    letter-spacing: 1px;
}

.form-note {
    font-size: 0.85rem;
    color: #6f6558;
    margin-top: 12px;
    text-align: center;
}

.contact-info {
    flex: 1 1 240px;
}

.info-card {
    background: #f6f1e8;
    padding: 20px 22px;
    border-radius: 4px;
    margin-bottom: 20px;
    box-shadow: inset 0 0 0 1px #e3d9cb;
}

.info-card p {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #3d3224;
}

.info-card strong {
    color: #2b1f13;
}

/* ===== CONTACT FIGURE (replaces image) ===== */
.contact-figure {
    background: #f5f0e7;
    border: 8px solid #e3d9cb;
    border-radius: 4px;
    padding: 25px 20px;
    margin-top: 20px;
    text-align: center;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.contact-icon-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-icon {
    font-size: 2.8rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.contact-icon:hover {
    transform: scale(1.15) translateY(-3px);
}

.contact-figure-text {
    font-size: 1.1rem;
    color: #4d3e2e;
    font-weight: bold;
    border-top: 2px solid #d6cdbc;
    padding-top: 10px;
    margin-top: 2px;
}

/* ============================================================ */
/* FOOTER                                                       */
/* ============================================================ */
.footer {
    background: #3d3224;
    color: #e8dfd0;
    padding: 40px 0 16px;
    border-radius: 4px;
    margin-top: 10px;
}

.footer a {
    color: #d6cdbc;
}

.footer a:hover {
    color: #fcf9f2;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid #5a4e3f;
}

.footer-col h4 {
    color: #d6cdbc;
    font-size: 1.1rem;
    margin-bottom: 12px;
    border-bottom: 1px solid #5a4e3f;
    padding-bottom: 8px;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 6px;
    color: #c3b5a2;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col ul li a {
    font-size: 0.95rem;
    color: #c3b5a2;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: #fcf9f2;
}

.footer-email {
    color: #b8a78b;
    font-size: 1rem;
    margin-top: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #9b8a74;
}

.footer-bottom p {
    margin-bottom: 4px;
}

/* ============================================================ */
/* RESPONSIVE                                                   */
/* ============================================================ */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .nav ul {
        gap: 16px;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h2 {
        font-size: 2.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.8rem;
        padding-right: 12px;
    }

    .activity-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Figure responsive updates */
    .figure-box {
        min-height: 150px;
        padding: 20px;
    }
    
    .figure-icon {
        font-size: 2.8rem;
    }
    
    .about-figure {
        min-height: 140px;
        padding: 20px;
    }
    
    .about-icon {
        font-size: 2.5rem;
    }
    
    .contact-figure {
        min-height: 120px;
        padding: 20px;
    }
    
    .contact-icon {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 8px 22px;
        font-size: 0.95rem;
    }

    .contact-form {
        padding: 20px 16px;
    }

    .figure-box {
        min-height: 120px;
        padding: 15px;
    }

    .figure-icon {
        font-size: 2.2rem;
    }

    .about-figure {
        min-height: 120px;
        padding: 15px;
    }

    .about-icon {
        font-size: 2rem;
    }

    .contact-figure {
        min-height: 100px;
        padding: 15px;
    }

    .contact-icon {
        font-size: 1.8rem;
    }
}