@import url('https://fonts.googleapis.com/css2?family=Arizonia&family=Dancing+Script:wght@400..700&display=swap');
/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #f0f0f0;
    background-color: #1a1a1a;
    position: relative;
}

/* Header and Navigation */
header {
    background-color: #000000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.dancing-script {
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 50px !important; 
  }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.nav-left {
    display: flex;
    min-width: 50%;
}

nav .icon {
    width: 100%;
    max-width: 70px;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 10000;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    margin: 6px 0;
    transition: all 0.3s ease;
}

main {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    position: relative;
    z-index: 10000;
    margin-left: 10px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0 2rem;
    position: relative;
    z-index: 10000;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
    opacity: 0.9;
    position: relative;
    z-index: 10000;
}

.nav-links a:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-links a.active {
    color: #ffffff;
    opacity: 1;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    z-index: 10000;
}

.artist-info {
    text-align: right;
    color: #ffffff;
    padding-left: 2rem;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.artist-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.artist-info p {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    opacity: 0.9;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: opacity 0.3s ease;
}

.social-link:hover{
    opacity: 0.8;
}

.social-link i{
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        margin: 0;
        padding: 2rem;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .nav-links a {
        font-size: 1.5rem;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-size: cover;
    background-position: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Gallery Section */
.gallery {
    padding: 5rem 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding-top: 70px;

}

.gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #f0f0f0;
}

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

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
    page-break-inside: avoid;
    background-color: #2a2a2a;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    display: block;
}

.artwork-info {
    padding: 1rem;
    background-color: rgba(42, 42, 42, 0.95);
    color: #f0f0f0;
}

.artwork-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.artwork-info p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #cccccc;
}

/* About Section */
.about {
    padding: 5rem 1rem;
    background-color: #2a2a2a;
    margin-top: -70px;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #f0f0f0;
}

/* Contact Section */
.contact {
    padding: 5rem 1rem;
    background-color: #1a1a1a;
    margin-top: -70px;
    padding-top: 70px;
    position: relative;
    z-index: 1;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: #f0f0f0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.social-link {
    color: #f0f0f0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #ffffff;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #f0f0f0;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background-color: #444;
    border-radius: 4px;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.email-link:hover {
    background-color: #555;
    transform: translateY(-2px);
}

.email-link i {
    font-size: 1.2rem;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-status {
    margin-top: 1rem;
    font-size: 1rem;
    min-height: 1.5em;
}

.contact-status--success {
    color: #4caf50;
}

.contact-status--error {
    color: #f44336;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #2a2a2a;
    color: #f0f0f0;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.contact-form button {
    padding: 1rem 2rem;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #555;
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #2a2a2a;
    color: #f0f0f0;
}



/* Resume Page Styles */
.resume-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('images/background.jpg');

    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    margin-bottom: 50px;
    z-index: 1;
}



.resume-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.resume-hero-left {
    text-align: left;
    flex: 1;
}

.resume-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.resume-hero p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.artist-info {
    text-align: right;
    color: #ffffff;
    padding-left: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 250px;
}

.artist-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.artist-info p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}


/* Responsive Design for Resume Page */
@media (max-width: 768px) {
    .resume-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .resume-hero-left {
        text-align: center;
    }

    .artist-info {
        text-align: center;
        padding-left: 0;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-top: 20px;
    }

    .resume-hero h1 {
        font-size: 2.5rem;
    }

    .resume-hero p {
        font-size: 1.2rem;
    }
}

.resume-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.resume-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 C30,10 30,30 50,30 C70,30 70,10 90,10" fill="none" stroke="%23ffffff" stroke-width="1.5"/><path d="M10,50 C30,50 30,70 50,70 C70,70 70,50 90,50" fill="none" stroke="%23ffffff" stroke-width="1.5"/><path d="M10,90 C30,90 30,70 50,70 C70,70 70,90 90,90" fill="none" stroke="%23ffffff" stroke-width="1.5"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23ffffff" stroke-width="1.5"/><circle cx="50" cy="50" r="10" fill="none" stroke="%23ffffff" stroke-width="1.5"/></svg>'); */
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 0;
}

.resume-section {
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.resume-section::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M10,10 Q50,0 90,10 T90,90 Q50,100 10,90 T10,10" fill="none" stroke="%23ffffff" stroke-width="1.5"/><path d="M20,20 Q50,10 80,20 T80,80 Q50,90 20,80 T20,20" fill="none" stroke="%23ffffff" stroke-width="1.5"/><path d="M30,30 Q50,20 70,30 T70,70 Q50,80 30,70 T30,30" fill="none" stroke="%23ffffff" stroke-width="1.5"/><circle cx="50" cy="50" r="10" fill="%23ffffff" opacity="0.3"/></svg>');
    background-repeat: repeat;
    opacity: 0.15;
    z-index: 0;
    border-radius: 10px;
}

.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
}

.timeline-date {
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.timeline-content h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.expertise-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item i {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.expertise-item h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.expertise-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.arabic-text {
    font-family: 'Arizonia', cursive;
    text-align: right;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #f0f0f0;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        margin-bottom: 1rem;
    }

    .gallery-item img {
        max-height: 300px;
    }

    .artwork-info h3 {
        font-size: 1rem;
    }

    .artwork-info p {
        font-size: 0.8rem;
    }
}
