/* ============================================
   AL ITIZAN AL MITHALI - CLASSIC VINTAGE THEME
   Main Stylesheet (Single CSS File)
   ============================================ */

/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

body {
    font-family: 'Cairo', 'Traditional Arabic', 'Segoe UI', sans-serif;
    background: #f7f3ef;
    color: #2c2418;
    line-height: 1.7;
    scroll-behavior: smooth;
}

/* ---------- ELEGANT COLOR SCHEME ---------- */
:root {
    --primary-dark: #8B5A2B;
    --primary: #A0522D;
    --primary-light: #CD853F;
    --secondary: #D2B48C;
    --accent: #C4A27A;
    --bg-warm: #FDF8F0;
    --bg-paper: #FFF9EF;
    --text-dark: #3E2A1F;
    --text-muted: #7A5B3E;
    --border-color: #E3D5C0;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.1);
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, .section-title, .company-name {
    font-family: 'Playfair Display', 'Times New Roman', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    color: var(--primary-dark);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
}

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
}

/* ---------- HEADER (CLASSIC ELEGANT) ---------- */
.vintage-header {
    text-align: center;
    padding: 3rem 0 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    position: relative;
}

.vintage-header::before {
    content: '⚡';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.3;
    letter-spacing: 20px;
}

.company-name {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.company-tagline {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 400;
}

.company-email {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--primary);
    font-family: monospace;
}

/* ---------- NAVIGATION (CLASSIC BORDER) ---------- */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0 3rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- HERO SECTION ---------- */
.hero {
    background: linear-gradient(135deg, var(--bg-paper) 0%, #F5EDE3 100%);
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.hero h1 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ---------- SECTIONS (CLASSIC CARDS) ---------- */
section {
    background: var(--bg-warm);
    padding: 3rem;
    margin-bottom: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    box-shadow: var(--shadow-md);
}

/* ---------- ACTIVITIES GRID (LONG LIST) ---------- */
.activities-wrapper {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 1rem;
}

.activities-wrapper::-webkit-scrollbar {
    width: 6px;
}

.activities-wrapper::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 10px;
}

.activities-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 10px;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    list-style: none;
}

.activity-grid li {
    background: white;
    padding: 1rem 1.25rem;
    border-right: 4px solid var(--primary);
    border-radius: 12px;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.activity-grid li::before {
    content: '✦';
    color: var(--primary-light);
    font-size: 1.1rem;
}

.activity-grid li:hover {
    transform: translateX(-5px);
    background: #FFF;
    box-shadow: var(--shadow-sm);
    border-right-color: var(--accent);
}

/* ---------- IMAGE GALLERY (PLACEHOLDER) ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.img-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    text-align: center;
    border: 1px solid var(--border-color);
}

.img-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.img-card .img-placeholder {
    height: 180px;
    background: linear-gradient(135deg, #E8DDD0, #D9CBB8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.img-card .img-placeholder::after {
    content: '🖼️';
    position: absolute;
    font-size: 3rem;
    opacity: 0.3;
}

.img-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.img-card span {
    display: block;
    padding: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    background: white;
}

/* ---------- CONTACT FORM (ELEGANT) ---------- */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    width: 100%;
    max-width: 250px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(139, 90, 43, 0.3);
}

/* ---------- INFO SECTION ---------- */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ---------- FOOTER ---------- */
.footer {
    background: linear-gradient(135deg, #2c2418, #3E2A1F);
    color: #D2B48C;
    padding: 3rem 0 2rem;
    margin-top: 4rem;
    border-radius: 20px 20px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #CD853F;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    line-height: 1.6;
    color: #D2B48C;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(210, 180, 140, 0.2);
    font-size: 0.8rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .company-name {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .nav-links {
        gap: 1.5rem;
        flex-wrap: wrap;
    }
    
    section {
        padding: 1.5rem;
    }
    
    .activity-grid {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .company-name {
        font-size: 1.4rem;
    }
}