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

body {
    font-family: 'Vazirmatn', sans-serif;
    background-color: #1E1E1EFF;
    color: #ffffff;
    line-height: 1.6;
    padding-top: 80px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #C7A46C, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C7A46C;
}

.lead {
    font-size: 1.25rem;
    color: #b8b8b8;
    font-weight: 300;
}

/* Navigation */
.navbar {
    background-color: rgba(30, 30, 30, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(199, 164, 108, 0.3);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.8rem !important;
    color: #C7A46C !important;
    font-weight: 700;
}

.nav-link {
    color: #ffffff !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #C7A46C !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #C7A46C;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

/* Magic Music Button */
.btn-magic {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    border: none;
    color: #1E1E1EFF;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3);
}

.btn-magic:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(199, 164, 108, 0.4);
    background: linear-gradient(45deg, #b8935a, #C7A46C);
}

.btn-magic.playing {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(199, 164, 108, 0.6); }
    100% { box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3); }
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #1E1E1EFF 0%, #2a2a2a 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(199, 164, 108, 0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-buttons {
    margin-top: 2rem;
}

.btn-primary {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(199, 164, 108, 0.4);
    background: linear-gradient(45deg, #b8935a, #C7A46C);
}

.btn-outline-light {
    border: 2px solid #C7A46C;
    color: #C7A46C;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background-color: #C7A46C;
    border-color: #C7A46C;
    transform: translateY(-3px);
}

/* Page Headers */
.page-header {
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, #1E1E1EFF 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.music-header {
    background: linear-gradient(135deg, #1E1E1EFF 0%, #3a2a2a 100%);
}

.education-header {
    background: linear-gradient(135deg, #1E1E1EFF 0%, #2a3a2a 100%);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #C7A46C;
    margin-bottom: 3rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #C7A46C, #b8935a);
}

/* Cards */
.skill-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.skill-icon {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.skill-card h4 {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.skill-card p {
    color: #b8b8b8;
    margin-bottom: 1.5rem;
}

/* Progress Bars */
.progress {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    transition: width 1.5s ease;
    border-radius: 10px;
}

/* Language Cards */
.lang-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.lang-card i {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.lang-card h4 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

/* Design Cards */
.design-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.design-card i {
    color: #C7A46C;
}

.design-card h4 {
    color: #C7A46C;
}

.skill-tags {
    margin-top: 1rem;
}

.badge {
    margin: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
}

/* Cloud Cards */
.cloud-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cloud-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.cloud-card i {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.cloud-card h4 {
    color: #C7A46C;
}

/* Certificate Cards */
.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.certificate-icon {
    color: #C7A46C;
    margin-left: 1.5rem;
}

.certificate-content h4 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

/* About Section */
.about-image {
    text-align: center;
}

.image-placeholder {
    background: linear-gradient(45deg, rgba(199, 164, 108, 0.2), rgba(199, 164, 108, 0.1));
    border-radius: 20px;
    padding: 4rem 2rem;
    border: 2px solid rgba(199, 164, 108, 0.3);
}

.image-placeholder i {
    color: #C7A46C;
}

.skill-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(199, 164, 108, 0.1);
    transform: translateY(-3px);
}

.skill-item i {
    color: #C7A46C;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.skill-item h5 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

/* Stats Section */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.stat-card h3 {
    color: #C7A46C;
    font-size: 2.5rem;
    font-weight: 700;
}

.stat-card p {
    color: #b8b8b8;
    margin: 0;
}

/* Music Stats */
.music-stats {
    margin-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(199, 164, 108, 0.1);
    transform: translateX(5px);
}

.stat-item i {
    color: #C7A46C;
    margin-left: 1rem;
    font-size: 1.5rem;
}

/* Setar Image */
.setar-image {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(199, 164, 108, 0.2);
}

/* Artist Cards */
.artist-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.artist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(199, 164, 108, 0.2);
    padding-bottom: 1rem;
}

.artist-header h3 {
    color: #C7A46C;
    margin: 0;
}

.genre-tag {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    color: #1E1E1EFF;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.artist-content p {
    color: #b8b8b8;
    margin-bottom: 1.5rem;
}

.popular-tracks h5 {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.track-list {
    list-style: none;
    padding: 0;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.track-item:hover {
    background: rgba(199, 164, 108, 0.1);
    transform: translateX(5px);
}

.track-item i {
    color: #C7A46C;
    margin-left: 1rem;
}

/* Genre Cards */
.genre-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.genre-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.genre-card i {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.genre-card h4 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

/* Concert Card */
.concert-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.concert-header {
    margin-bottom: 2rem;
}

.concert-header i {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.concert-header h3 {
    color: #C7A46C;
}

.concert-content p {
    color: #b8b8b8;
    margin-bottom: 1.5rem;
}

.concert-highlights {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(199, 164, 108, 0.1);
    border-radius: 20px;
}

.highlight-item i {
    color: #C7A46C;
    margin-left: 0.5rem;
}

/* CS50 Badge */
.cs50-badge {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(199, 164, 108, 0.2);
}

.cs50-badge i {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.cs50-badge h2 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

.cs50-badge p {
    color: #b8b8b8;
    margin: 0;
}

.cs50-highlights {
    margin-top: 2rem;
}

.cs50-highlights .highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.cs50-highlights .highlight-item:hover {
    background: rgba(199, 164, 108, 0.1);
    transform: translateX(5px);
}

.cs50-highlights .highlight-item i {
    color: #C7A46C;
    margin-left: 1rem;
}

/* Timeline */
.english-timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 2rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(199, 164, 108, 0.3);
}

.timeline-marker i {
    color: #1E1E1EFF;
    font-size: 1.5rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    flex: 1;
    backdrop-filter: blur(10px);
}

.timeline-content h4 {
    color: #C7A46C;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: #b8b8b8;
    margin-bottom: 0.5rem;
}

.timeline-content .text-muted {
    color: #888888;
    font-size: 0.9rem;
}

/* Skill Level */
.skill-level {
    margin-top: 1rem;
}

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

.level-item span {
    display: block;
    margin-bottom: 0.5rem;
    color: #b8b8b8;
}

.communication-skills {
    margin-top: 1rem;
}

.skill-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(199, 164, 108, 0.1);
    transform: translateX(5px);
}

.skill-item i {
    color: #C7A46C;
    margin-left: 1rem;
}

/* Goal Cards */
.goal-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.goal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.goal-icon {
    color: #C7A46C;
    margin-bottom: 1.5rem;
}

.goal-card h4 {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.goal-card p {
    color: #b8b8b8;
}

/* Method Cards */
.method-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(199, 164, 108, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(199, 164, 108, 0.2);
    border-color: #C7A46C;
}

.method-card h4 {
    color: #C7A46C;
    margin-bottom: 1rem;
}

.method-card i {
    color: #C7A46C;
    margin-left: 1rem;
}

.method-card p {
    color: #b8b8b8;
    margin: 0;
}

/* Footer */
footer {
    background: rgba(30, 30, 30, 0.95);
    border-top: 1px solid rgba(199, 164, 108, 0.3);
    margin-top: 4rem;
}

footer p {
    color: #b8b8b8;
    margin: 0;
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    color: #1E1E1EFF;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(199, 164, 108, 0.4);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Background Sections */
.bg-light {
    background-color: rgba(255, 255, 255, 0.02) !important;
}

.py-5 {
    padding: 5rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

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

    .hero-buttons {
        text-align: center;
    }

    .hero-buttons .btn {
        display: block;
        margin: 0.5rem auto;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-marker {
        margin: 0 auto 1rem auto;
    }

    .concert-highlights {
        flex-direction: column;
        align-items: center;
    }

    .cs50-highlights .highlight-item {
        flex-direction: column;
        text-align: center;
    }

    .cs50-highlights .highlight-item i {
        margin: 0 0 0.5rem 0;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 70px;
    }

    .navbar-brand {
        font-size: 1.5rem !important;
    }

    .btn-magic {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }

    .skill-card,
    .artist-card,
    .genre-card,
    .goal-card {
        padding: 1.5rem;
    }

    .page-header {
        padding: 4rem 0 2rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1E1E1EFF;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #C7A46C, #b8935a);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #b8935a, #C7A46C);
}

/* Selection */
::selection {
    background-color: rgba(199, 164, 108, 0.3);
    color: #ffffff;
}

/* Focus States */
.btn:focus,
.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 164, 108, 0.3);
}
