/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --light-gold: #F4E4B7;
    --black: #0A0A0A;
    --dark-gray: #1A1A1A;
    --medium-gray: #2A2A2A;
    --light-gray: #E8E8E8;
    --white: #FFFFFF;
    --shadow: rgba(212, 175, 55, 0.3);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-dark: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--white);
    color: var(--black);
    line-height: 1.6;
    direction: rtl;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(212, 175, 55, 0.2);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
}

.logo-icon {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.hero-text {
    animation: fadeInRight 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-highlight {
    color: var(--gold);
    position: relative;
    display: inline-block;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 0;
    width: 100%;
    height: 15px;
    background: rgba(212, 175, 55, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-gold);
    font-weight: 500;
}

.feature-icon {
    font-size: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gradient-gold);
    color: var(--black);
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px var(--shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow);
}

.cta-button.large {
    padding: 1.3rem 4rem;
    font-size: 1.4rem;
}

.hero-image {
    animation: fadeInLeft 1s ease-out;
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient-dark);
    border-radius: 20px;
    border: 3px solid var(--gold);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.sewing-illustration {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sewing-machine {
    width: 150px;
    height: 120px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--dark-gold) 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
}

.sewing-machine::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 20px;
    width: 40px;
    height: 60px;
    background: var(--gold);
    border-radius: 5px 5px 0 0;
}

.sewing-machine::after {
    content: '';
    position: absolute;
    bottom: -20px;
    right: 10px;
    width: 20px;
    height: 30px;
    background: var(--medium-gray);
    border-radius: 0 0 5px 5px;
}

.fabric-rolls {
    position: absolute;
    top: 50px;
    left: 50px;
    display: flex;
    gap: 15px;
}

.fabric-roll {
    width: 60px;
    height: 80px;
    border-radius: 10px;
    opacity: 0.8;
}

.fabric-roll:nth-child(1) {
    background: linear-gradient(180deg, #8B4513 0%, #654321 100%);
}

.fabric-roll:nth-child(2) {
    background: linear-gradient(180deg, #CD853F 0%, #8B4513 100%);
}

.fabric-roll:nth-child(3) {
    background: linear-gradient(180deg, #DEB887 0%, #CD853F 100%);
}

.scissors-icon,
.thread-icon {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.scissors-icon {
    top: 80px;
    right: 60px;
    animation-delay: 0s;
}

.thread-icon {
    bottom: 80px;
    left: 80px;
    animation-delay: 1.5s;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--white);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
}

/* ===== Courses Section ===== */
.courses-section {
    padding: 6rem 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 1.5rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.3);
}

.course-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.course-image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    position: relative;
}

.course-bg-1 {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" fill="%23D4AF37" opacity="0.1">✂</text></svg>');
    background-size: cover, 50px 50px;
    background-position: center;
}

.course-bg-2 {
    background: linear-gradient(135deg, rgba(184, 148, 31, 0.3) 0%, rgba(10, 10, 10, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" fill="%23D4AF37" opacity="0.1">👗</text></svg>');
    background-size: cover, 50px 50px;
    background-position: center;
}

.course-bg-3 {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.4) 0%, rgba(26, 26, 26, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" fill="%23D4AF37" opacity="0.1">🤵</text></svg>');
    background-size: cover, 50px 50px;
    background-position: center;
}

.course-bg-4 {
    background: linear-gradient(135deg, rgba(184, 148, 31, 0.4) 0%, rgba(10, 10, 10, 0.9) 100%),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="60" fill="%23D4AF37" opacity="0.1">⚙</text></svg>');
    background-size: cover, 50px 50px;
    background-position: center;
}

.course-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 0.5rem 1rem;
    background: var(--gradient-gold);
    color: var(--black);
    font-weight: 700;
    border-radius: 20px;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.course-badge.new {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    color: var(--white);
}

.course-content {
    padding: 2rem;
}

.course-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.course-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #555;
    font-size: 0.9rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.course-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.price-current {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: 800;
}

.course-button {
    padding: 0.8rem 1.8rem;
    background: var(--gradient-gold);
    color: var(--black);
    text-decoration: none;
    font-weight: 700;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.course-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px var(--shadow);
}

/* ===== About Section ===== */
.about-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.instructor-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient-gold);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.instructor-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 5px solid rgba(0, 0, 0, 0.2);
}

.instructor-frame::before {
    content: '👨‍🏫';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
}

.about-text .section-title {
    color: var(--gold);
    text-align: right;
}

.instructor-name {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.instructor-title {
    color: var(--light-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-description {
    color: var(--light-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.instructor-achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.achievement-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.achievement-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.achievement-label {
    color: var(--light-gray);
    font-size: 1rem;
}

.instructor-expertise {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.instructor-expertise li {
    color: var(--light-gray);
    font-size: 1.05rem;
    padding: 0.5rem;
}

/* ===== Testimonials Section ===== */
.testimonials-section {
    padding: 6rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--black);
}

.author-name {
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.3rem;
}

.author-course {
    color: #888;
    font-size: 0.9rem;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 6rem 0;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.03) 35px, rgba(212, 175, 55, 0.03) 70px);
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.3rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
.footer {
    background: var(--black);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--light-gray);
    line-height: 1.6;
}

.footer-heading {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links,
.footer-contact {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: #888;
}

/* ===== Animations ===== */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .image-placeholder {
        height: 350px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .instructor-placeholder {
        height: 350px;
    }

    .instructor-achievements {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .achievement-number {
        font-size: 1.8rem;
    }

    .achievement-label {
        font-size: 0.85rem;
    }

    .instructor-expertise {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }

    .cta-button.large {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }

    .courses-grid {
        grid-template-columns: 1fr;
    }

    .course-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .course-button {
        text-align: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .instructor-achievements {
        grid-template-columns: 1fr;
    }
}
