* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* رنگ‌های ایرانی */
    --lajvardi: #1e3a8a;
    --lajvardi-light: #3b5b9d;
    --firuze: #0ea5e9;
    --firuze-light: #38bdf8;
    --krem: #f5f1e8;
    --krem-dark: #e8e0d0;
    --tala: #d4af37;
    --tala-light: #f4d03f;
    --choobi: #8b6f47;
    --choobi-dark: #6b5435;
    
    /* رنگ‌های تکمیلی */
    --text-dark: #2c2c2c;
    --text-light: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-dark: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--krem);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

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

/* الگوهای اسلیمی */
.section-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, var(--lajvardi) 10px, var(--lajvardi) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, var(--firuze) 10px, var(--firuze) 20px);
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(245, 241, 232, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 20px var(--shadow);
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lajvardi);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-icon {
    font-size: 1.5rem;
    color: var(--tala);
}

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

.nav-menu a {
    color: var(--choobi);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1rem;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--firuze), var(--tala));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--lajvardi);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-menu a.active {
    color: var(--lajvardi);
    font-weight: 600;
}

.nav-menu a.active::before {
    width: 100%;
}

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

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

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

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

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

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

.hero-image-side {
    position: relative;
    animation: fadeInLeft 1s ease;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    display: block;
    object-fit: cover;
    max-height: 90vh;
    object-position: center;
}

.hero-text-side {
    animation: fadeInRight 1s ease;
    padding: 2rem 0;
}

.hero-name {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--lajvardi);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.hero-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--choobi-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.8;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--choobi-dark);
    font-style: italic;
    line-height: 2;
    padding-top: 1.5rem;
    border-top: 2px solid var(--tala);
    margin-top: 2rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.hero-scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--lajvardi);
    border-radius: 25px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--firuze);
    border-radius: 50%;
    animation: scrollDown 2s infinite;
}

/* Section Styles */
section {
    position: relative;
    padding: 6rem 0;
}

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

.section-title {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--lajvardi);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.title-decoration {
    width: 150px;
    height: 4px;
    margin: 1rem auto;
    background: linear-gradient(90deg, transparent, var(--firuze), var(--tala), var(--firuze), transparent);
    border-radius: 2px;
    position: relative;
}

.title-decoration::before,
.title-decoration::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--tala);
    font-size: 1.2rem;
}

.title-decoration::before {
    right: -30px;
}

.title-decoration::after {
    left: -30px;
}

/* About Section */
.about {
    background: var(--krem);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2.2;
    text-align: justify;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 2rem;
}

.about-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--lajvardi);
    line-height: 2.5;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border-right: 4px solid var(--tala);
    margin-bottom: 2.5rem;
}

/* Certificate Section */
.certificate {
    background: linear-gradient(135deg, var(--krem-dark) 0%, var(--krem) 100%);
}

.certificate-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.certificate-frame {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 40px;
    background: linear-gradient(135deg, var(--tala) 0%, var(--tala-light) 100%);
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.frame-corner {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid var(--lajvardi);
}

.frame-corner.top-left {
    top: 10px;
    right: 10px;
    border-left: none;
    border-bottom: none;
    border-radius: 0 15px 0 0;
}

.frame-corner.top-right {
    top: 10px;
    left: 10px;
    border-right: none;
    border-bottom: none;
    border-radius: 15px 0 0 0;
}

.frame-corner.bottom-left {
    bottom: 10px;
    right: 10px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 0 15px;
}

.frame-corner.bottom-right {
    bottom: 10px;
    left: 10px;
    border-right: none;
    border-top: none;
    border-radius: 0 0 15px 0;
}

.certificate-image-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.certificate-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Performances & Gallery Sections */
.performances {
    background: var(--krem);
}

.gallery {
    background: linear-gradient(135deg, var(--krem-dark) 0%, var(--krem) 100%);
}

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

.gallery-item {
    position: relative;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.4s ease;
    aspect-ratio: 4/3;
    background: var(--krem);
}

.gallery-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px var(--shadow-dark);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9), rgba(14, 165, 233, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: var(--text-light);
}

.overlay-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.overlay-text {
    font-size: 1.3rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, var(--lajvardi) 0%, var(--lajvardi-light) 50%, var(--firuze) 100%);
    color: var(--text-light);
}

.contact .section-title {
    color: var(--text-light);
}

.contact .title-decoration {
    background: linear-gradient(90deg, transparent, var(--tala-light), var(--tala), var(--tala-light), transparent);
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 4rem 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-icon-wrapper {
    margin-bottom: 2rem;
}

.icon-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--tala), var(--tala-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

.phone-icon {
    width: 50px;
    height: 50px;
    color: var(--lajvardi);
}

.contact-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--tala-light);
    font-family: 'Noto Nastaliq Urdu', serif;
}

.contact-phone {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.contact-phone a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    display: inline-block;
}

.contact-phone a:hover {
    color: var(--tala-light);
    transform: scale(1.05);
}

.contact-note {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 2;
}

.contact-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-call {
    background: var(--text-light);
    color: var(--lajvardi);
}

.btn-call:hover {
    background: var(--tala-light);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--text-light);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: var(--choobi-dark);
    color: var(--text-light);
    text-align: center;
    padding: 2.5rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--tala-light);
}

.footer-subtext {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@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 bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 10px;
    }
    50% {
        opacity: 0.5;
        top: 25px;
    }
    100% {
        opacity: 0;
        top: 35px;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-image-side {
        order: 2;
    }
    
    .hero-text-side {
        order: 1;
        text-align: center;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 1.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: rgba(245, 241, 232, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px var(--shadow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        padding: 3rem 2rem;
    }
    
    .contact-phone {
        font-size: 1.8rem;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .certificate-frame {
        padding: 20px;
    }
    
    .frame-corner {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .about-text {
        font-size: 1rem;
    }
    
    .about-text .lead {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
}
