/* ============================================
   شركة العالم الجديد الاول - Classic Old Theme
   One CSS File - Clean Vintage Design
   New Navy & Gold Color Scheme
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --color-cream: #f4f6f8;
    --color-parchment: #e9edf2;
    --color-parchment-dark: #d5dde5;
    --color-navy-dark: #1a2a3a;
    --color-navy-medium: #2c3e50;
    --color-navy-light: #5c6b7a;
    --color-navy-accent: #3a6b8c;
    --color-gold: #c19a5b;
    --color-gold-light: #d4b483;
    --color-gold-dark: #8c6a3d;
    --color-white: #ffffff;
    --color-shadow: rgba(26, 42, 58, 0.15);
    --color-shadow-light: rgba(26, 42, 58, 0.08);
    --font-heading: 'Amiri', serif;
    --font-body: 'Cairo', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --border-ornamental: 2px solid var(--color-gold-light);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-cream);
    color: var(--color-navy-dark);
    line-height: 1.8;
    overflow-x: hidden;
    direction: rtl;
    /* Subtle vintage paper texture */
    background-image: 
        radial-gradient(ellipse at center, rgba(200, 210, 220, 0.06) 0%, transparent 70%),
        repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(180, 190, 200, 0.02) 3px, rgba(180, 190, 200, 0.02) 4px);
}

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-navy-dark);
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Ornamental Divider ---------- */
.ornamental-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 10px 0;
    background-color: var(--color-cream);
    position: relative;
    z-index: 2;
}

.ornamental-divider .divider-line {
    flex: 0 1 180px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold-light), transparent);
}

.ornamental-divider .divider-symbol {
    color: var(--color-gold);
    font-size: 1.4rem;
    line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
    background: linear-gradient(to bottom, #f8fafc 0%, #eef2f6 50%, #f4f6f8 100%);
    border-bottom: 2px solid var(--color-gold-light);
    border-top: 3px solid var(--color-gold);
    padding: 18px 0;
    position: relative;
    z-index: 100;
    box-shadow: 0 4px 20px var(--color-shadow-light);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-gold-light) 0px,
        var(--color-gold-light) 12px,
        transparent 12px,
        transparent 20px
    );
    opacity: 0.5;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

/* Logo */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 6px var(--color-shadow));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.company-sub {
    font-size: 0.85rem;
    color: var(--color-navy-medium);
    font-weight: 400;
}

/* Navigation */
.main-nav {
    position: relative;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid var(--color-gold);
    border-radius: 4px;
    padding: 8px 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.nav-toggle:hover {
    background-color: var(--color-gold-light);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background-color: var(--color-navy-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.nav-toggle.open .hamburger-line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open .hamburger-line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 10px;
}

.nav-link {
    display: block;
    padding: 8px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-navy-medium);
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    border: 1px solid transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-gold-dark);
    background-color: rgba(193, 154, 91, 0.08);
    border-color: rgba(193, 154, 91, 0.25);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ---------- Hero Section ---------- */
.hero {
    background: linear-gradient(to bottom, #f4f6f8 0%, #e8edf2 40%, #edf1f5 60%, #f4f6f8 100%);
    padding: 80px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(193, 154, 91, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(193, 154, 91, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-ornament-top,
.hero-ornament-bottom {
    font-size: 2.8rem;
    color: var(--color-gold);
    line-height: 1;
    margin: 10px 0;
    opacity: 0.7;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px var(--color-shadow-light);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--color-navy-medium);
    margin-bottom: 20px;
    font-weight: 400;
}

.hero-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 20px 0;
}

.hero-divider .line {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold));
}

.hero-divider .line:last-child {
    background: linear-gradient(to left, transparent, var(--color-gold));
}

.hero-divider-icon {
    color: var(--color-gold);
    font-size: 1.2rem;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: var(--color-navy-medium);
    line-height: 2;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-body);
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold-dark);
    box-shadow: 0 4px 15px rgba(193, 154, 91, 0.35);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 91, 0.45);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-gold-dark);
    border-color: var(--color-gold);
    box-shadow: 0 4px 15px rgba(193, 154, 91, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(193, 154, 91, 0.1);
    transform: translateY(-2px);
    border-color: var(--color-gold-dark);
}

.btn-submit {
    background-color: var(--color-gold);
    color: var(--color-white);
    border-color: var(--color-gold-dark);
    width: 100%;
    box-shadow: 0 4px 15px rgba(193, 154, 91, 0.3);
}

.btn-submit:hover {
    background-color: var(--color-gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 154, 91, 0.4);
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.section-divider .line {
    width: 60px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold));
}

.section-divider .line:last-child {
    background: linear-gradient(to left, transparent, var(--color-gold));
}

.section-divider-icon {
    color: var(--color-gold);
    font-size: 1.3rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--color-navy-medium);
    font-weight: 400;
}

/* ---------- About Section ---------- */
.about-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #f4f6f8, #e9edf2);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-navy-medium);
    line-height: 2;
}

.about-text strong {
    color: var(--color-gold-dark);
    font-weight: 700;
}

.about-card {
    background: var(--color-parchment);
    border: 2px solid var(--color-gold-light);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 25px var(--color-shadow);
    transition: var(--transition-smooth);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--color-shadow);
    border-color: var(--color-gold);
}

.about-card-inner {
    text-align: center;
}

.about-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 15px;
}

.about-card h3 {
    font-size: 1.4rem;
    color: var(--color-navy-dark);
    margin-bottom: 12px;
}

.about-card p {
    color: var(--color-navy-medium);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ---------- Activities Section ---------- */
.activities-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #e9edf2, #f4f6f8);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.activity-card {
    background: var(--color-white);
    border: 2px solid var(--color-parchment-dark);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--color-shadow-light);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-gold-light));
    opacity: 0;
    transition: var(--transition-smooth);
}

.activity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px var(--color-shadow);
    border-color: var(--color-gold-light);
}

.activity-card:hover::before {
    opacity: 1;
}

.activity-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

.activity-content p {
    color: var(--color-navy-medium);
    font-size: 0.95rem;
    line-height: 1.9;
}

/* ---------- Contact Section ---------- */
.contact-section {
    padding: 70px 0;
    background: linear-gradient(to bottom, #f4f6f8, #e9edf2);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--color-white);
    border: 2px solid var(--color-gold-light);
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 12px var(--color-shadow-light);
}

.contact-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--color-shadow);
    border-color: var(--color-gold);
}

.contact-info-icon {
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 10px;
}

.contact-info-card h3 {
    font-size: 1.15rem;
    color: var(--color-navy-dark);
    margin-bottom: 8px;
}

.contact-info-card p {
    color: var(--color-navy-medium);
    font-size: 0.95rem;
    word-break: break-all;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border: 2px solid var(--color-gold-light);
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 8px 30px var(--color-shadow);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-navy-dark);
}

.required {
    color: #c0392b;
    font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 18px;
    border: 2px solid var(--color-parchment-dark);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-navy-dark);
    background-color: var(--color-cream);
    transition: var(--transition-smooth);
    outline: none;
    direction: rtl;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(193, 154, 91, 0.15);
    background-color: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8895a0;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235c6b7a' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 15px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

/* ---------- Footer ---------- */
.site-footer {
    background: linear-gradient(to bottom, #e9edf2, #d5dde5);
    border-top: 3px solid var(--color-gold);
    padding: 40px 0 25px;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 7px;
    background: repeating-linear-gradient(
        90deg,
        var(--color-gold-light) 0px,
        var(--color-gold-light) 15px,
        transparent 15px,
        transparent 25px
    );
    opacity: 0.4;
}

.footer-divider {
    background: transparent;
    padding: 0;
    margin-bottom: 25px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-svg {
    width: 50px;
    height: 50px;
    margin-bottom: 12px;
}

.footer-company-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-navy-dark);
    margin-bottom: 3px;
}

.footer-company-sub {
    font-size: 0.85rem;
    color: var(--color-navy-medium);
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    color: var(--color-navy-medium);
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid var(--color-parchment-dark);
    padding-top: 15px;
    color: var(--color-navy-light);
    font-size: 0.85rem;
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    will-change: opacity, transform;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered reveal variants */
.reveal[data-delay="100"].revealed {
    transition-delay: 0.1s;
}

.reveal[data-delay="200"].revealed {
    transition-delay: 0.2s;
}

.reveal[data-delay="300"].revealed {
    transition-delay: 0.3s;
}

/* ---------- Responsive Design ---------- */
@media screen and (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .activities-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .logo-wrapper {
        justify-content: center;
        text-align: center;
    }

    .company-name {
        font-size: 1.25rem;
    }

    .nav-toggle {
        display: block;
        margin: 0 auto;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 15px 0;
        background-color: var(--color-parchment);
        border-radius: 8px;
        margin-top: 10px;
        width: 100%;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-link {
        width: 100%;
        text-align: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .activity-number {
        font-size: 1.8rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .footer-contact {
        flex-direction: column;
        gap: 8px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }

    .activities-grid {
        grid-template-columns: 1fr;
    }

    .activity-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }

    .ornamental-divider .divider-line {
        flex: 0 1 80px;
    }
}