/* ============================================
   style.css – صدى التقنية الرقمى
   Classic vintage theme – single CSS file
   (updated for Font Awesome icons)
   ============================================ */

/* ---------- Reset & Base ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: #f7f2e9;
    color: #3e2e1f;
    line-height: 1.7;
    direction: rtl;
    text-align: right;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: 0.03em;
}

h2 {
    font-size: 2.2rem;
    color: #4d3425;
    margin-bottom: 0.25rem;
}

.section-desc {
    font-size: 1.1rem;
    color: #6f5a47;
    margin-top: 0.5rem;
}

.ornament {
    font-size: 1.2rem;
    color: #b8956e;
    letter-spacing: 0.6rem;
    margin: 0.3rem 0 1.2rem;
}

/* ---------- Header ---------- */
.site-header {
    background: #f0e8dc;
    border-bottom: 3px solid #dac09a;
    padding: 1rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 3.2rem;
    color: #4d3425;
    background: #dac09a;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #b8956e;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #3e2e1f;
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.9rem;
    color: #6f5a47;
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: #4d3425;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.4rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.main-nav a:hover {
    border-bottom-color: #b8956e;
    color: #7a5f47;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: #dac09a url('/img/hero-bg.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #f7f2e9;
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(62, 46, 31, 0.6);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-divider {
    width: 80px;
    height: 3px;
    background: #f0e8dc;
    margin: 1.2rem auto;
    border-radius: 2px;
}

.hero-tagline {
    font-size: 1.3rem;
    font-style: italic;
    opacity: 0.9;
}

.hero-tagline i {
    margin-left: 0.5rem;
    color: #f0e8dc;
}

/* ---------- Section Common ---------- */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

/* ---------- About ---------- */
.about {
    background: #fcf8f2;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.15rem;
    text-align: center;
    line-height: 2;
    background: #fffcf7;
    padding: 2.5rem 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    border: 1px solid #e8dccc;
}

.about-content strong {
    color: #7a5f47;
}

/* ---------- Activities ---------- */
.activities {
    background: #f7f2e9;
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.activity-card {
    background: #fffcf7;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    border: 1px solid #e8dccc;
    transition: transform 0.25s, box-shadow 0.25s;
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.activity-icon {
    height: 160px;
    background: #f0e8dc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4.5rem;
    color: #4d3425;
    border-bottom: 2px solid #dac09a;
}

.activity-icon i {
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.1));
    transition: transform 0.3s;
}

.activity-card:hover .activity-icon i {
    transform: scale(1.08);
}

.activity-body {
    padding: 1.5rem 1.8rem 2rem;
}

.activity-body h3 {
    font-size: 1.4rem;
    color: #4d3425;
    margin-bottom: 0.7rem;
    border-bottom: 2px dotted #dac09a;
    padding-bottom: 0.5rem;
}

.activity-body p {
    color: #4d3e30;
    font-size: 0.98rem;
    line-height: 1.8;
}

/* ---------- Contact ---------- */
.contact {
    background: #fcf8f2;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: #fffcf7;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid #e8dccc;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    border-bottom: 1px dashed #e0d3c4;
    padding-bottom: 1rem;
}

.contact-label {
    display: block;
    font-weight: 700;
    font-size: 0.9rem;
    color: #7a5f47;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-label i {
    width: 1.6rem;
    color: #b8956e;
    margin-left: 0.3rem;
}

.contact-value {
    display: block;
    font-size: 1.2rem;
    color: #3e2e1f;
    margin-top: 0.2rem;
}

.contact-note {
    background: #f7f2e9;
    padding: 1.2rem;
    border-radius: 8px;
    font-style: italic;
    color: #4d3425;
    margin-top: 0.5rem;
}

.contact-note i {
    color: #b8956e;
    margin-left: 0.3rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #4d3425;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.form-group label i {
    width: 1.4rem;
    color: #7a5f47;
    margin-left: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border: 1px solid #dac09a;
    border-radius: 6px;
    background: #fdfbf7;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: #3e2e1f;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b8956e;
    box-shadow: 0 0 0 3px rgba(184, 149, 110, 0.2);
}

.btn-submit {
    background: #4d3425;
    color: #f7f2e9;
    border: none;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.25s, transform 0.1s;
    font-family: 'Georgia', serif;
    letter-spacing: 0.04em;
    margin-top: 0.5rem;
}

.btn-submit i {
    margin-left: 0.5rem;
}

.btn-submit:hover {
    background: #3e2e1f;
}

.btn-submit:active {
    transform: scale(0.97);
}

/* ---------- Footer ---------- */
.site-footer {
    background: #3e2e1f;
    color: #e8dccc;
    padding: 2.5rem 0 0;
    border-top: 4px solid #b8956e;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 2rem;
    padding-bottom: 2rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-icon {
    font-size: 2.2rem;
    color: #b8956e;
    margin-bottom: 0.3rem;
}

.footer-logo-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f0e8dc;
}

.footer-logo-sub {
    font-size: 0.9rem;
    color: #c9b8a6;
}

.footer-about {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #dacfc2;
}

.footer-col h4 {
    color: #f0e8dc;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #5f4a38;
    padding-bottom: 0.4rem;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    color: #dacfc2;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul a:hover {
    color: #f0e8dc;
    text-decoration: underline;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #dacfc2;
    font-size: 0.95rem;
}

.footer-contact i {
    width: 1.6rem;
    color: #b8956e;
}

.footer-bottom {
    background: #2f2217;
    text-align: center;
    padding: 1.2rem 0;
    font-size: 0.9rem;
    color: #b8a692;
    border-top: 1px solid #5f4a38;
}

.footer-bottom i {
    margin: 0 0.4rem;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .logo {
        justify-content: center;
    }

    .logo-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-icon {
        height: 130px;
        font-size: 3.5rem;
    }

    .about-content {
        padding: 1.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .contact-wrapper {
        padding: 1.5rem;
    }

    .logo-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .activity-body h3 {
        font-size: 1.2rem;
    }
}