/*
Theme Name: Amir Ahmed
Theme URI: https://amirahmed.com
Author: Amir Ahmed
Author URI: https://amirahmed.com
Description: A custom theme for Amir Ahmed - Interdisciplinary Artist & Creative Strategist
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amir-ahmed
Tags: portfolio, creative, artist, custom-logo, custom-menu, featured-images
*/

/* ==========================================================================
   CSS Variables - Brand Colors
   ========================================================================== */
:root {
    --color-primary: #FFEB66;
    --color-dark: #1D1A1A;
    --color-white: #FFFFFF;
    --color-gray: #f5f5f5;
    --color-gray-dark: #333333;
    --font-primary: 'Elza', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 4rem; }
h2 { font-size: 3rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-primary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-fluid {
    width: 100%;
    padding: 0 60px;
}

.section {
    padding: 100px 0;
}

.section-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.section-yellow {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--color-white);
    padding: 20px 0;
    transition: var(--transition);
}

.site-header.scrolled {
    background-color: var(--color-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.site-header.dark-header {
    background-color: var(--color-dark);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
}

.logo-text span {
    display: block;
    font-weight: 400;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item a::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 2;
}

.hero-tagline {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: var(--color-gray-dark);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title span {
    color: var(--color-primary);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary);
    z-index: -1;
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Hero Background Shapes */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border: 2px solid rgba(29, 26, 26, 0.1);
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    transform: rotate(45deg);
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 40%;
    right: 5%;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-dark);
}

.btn-dark {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--color-dark);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.btn-outline:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-arrow {
    background-color: var(--color-primary);
    border-radius: 50px;
    padding: 15px 30px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.btn-arrow svg {
    transition: var(--transition);
}

.btn-arrow:hover svg {
    transform: translateX(5px);
}

/* ==========================================================================
   Services/Skills Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: 40px 30px;
    background-color: var(--color-white);
    border-radius: 10px;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Portfolio Section
   ========================================================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.portfolio-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(29, 26, 26, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-category {
    color: var(--color-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.portfolio-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0;
}

/* Portfolio Filter */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: none;
    border: 2px solid var(--color-dark);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 10px;
}

.about-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background-color: var(--color-primary);
    border-radius: 10px;
    z-index: -1;
}

.about-text h2 {
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin: 0;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.testimonial-item {
    padding: 40px;
}

.testimonial-text {
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    margin: 0;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-info h2 {
    margin-bottom: 30px;
}

.contact-details {
    margin-top: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-text h4 {
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: var(--color-gray-dark);
}

/* Contact Form */
.contact-form {
    background-color: var(--color-gray);
    padding: 50px;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid transparent;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 80px 0 30px;
}

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

.footer-about .site-logo {
    margin-bottom: 20px;
}

.footer-about .logo-text {
    color: var(--color-white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--color-white);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

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

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--color-primary);
    color: var(--color-dark);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Page Header
   ========================================================================== */
.page-header {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/images/pattern.svg') repeat;
    opacity: 0.05;
}

.page-title {
    font-size: 4rem;
    margin-bottom: 20px;
}

.page-title span {
    color: var(--color-primary);
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb span {
    color: var(--color-primary);
}

/* ==========================================================================
   Press Room / Blog
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.post-card {
    background-color: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.post-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-image {
    height: 220px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.post-card:hover .post-image img {
    transform: scale(1.1);
}

.post-content {
    padding: 30px;
}

.post-meta {
    display: flex;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--color-gray-dark);
    margin-bottom: 15px;
}

.post-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.post-title a:hover {
    color: var(--color-primary);
}

.post-excerpt {
    color: var(--color-gray-dark);
    margin-bottom: 20px;
}

.read-more {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Music/Podcast Player
   ========================================================================== */
.tracks-list {
    background-color: var(--color-dark);
    border-radius: 10px;
    overflow: hidden;
}

.track-item {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.track-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.track-item:last-child {
    border-bottom: none;
}

.track-number {
    width: 40px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.track-play {
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.track-play:hover {
    transform: scale(1.1);
}

.track-info {
    flex-grow: 1;
}

.track-title {
    color: var(--color-white);
    font-weight: 600;
    margin-bottom: 5px;
}

.track-artist {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.track-duration {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* ==========================================================================
   Downloads Section
   ========================================================================== */
.downloads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-item {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.download-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.download-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background-color: var(--color-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-title {
    margin-bottom: 15px;
}

.download-description {
    color: var(--color-gray-dark);
    margin-bottom: 25px;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-subtitle {
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.section-description {
    color: var(--color-gray-dark);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    .container-fluid {
        padding: 0 40px;
    }

    h1, .hero-title { font-size: 3rem; }
    h2, .section-title { font-size: 2.5rem; }
}

@media (max-width: 992px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .portfolio-grid,
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-menu {
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        height: 100vh;
        background-color: var(--color-white);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.2rem;
    }

    h1, .hero-title { font-size: 2.5rem; }
    h2, .section-title { font-size: 2rem; }
    .page-title { font-size: 2.5rem; }

    .section {
        padding: 60px 0;
    }

    .container-fluid {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .portfolio-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    h1, .hero-title { font-size: 2rem; }
    h2, .section-title { font-size: 1.8rem; }

    .btn {
        padding: 12px 25px;
        font-size: 0.85rem;
    }

    .hero-section {
        min-height: auto;
        padding: 120px 0 60px;
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* Delay classes */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-dark { color: var(--color-dark); }
.text-white { color: var(--color-white); }

.bg-primary { background-color: var(--color-primary); }
.bg-dark { background-color: var(--color-dark); }
.bg-white { background-color: var(--color-white); }
.bg-gray { background-color: var(--color-gray); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }
.d-block { display: block; }

.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }
