/* ===================================
   MAHDY ABRAR SHARZY - PORTFOLIO CSS
   =================================== */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', 'Georgia', serif;
    background-color: #0a0a0a;
    color: #e8e4df;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Noise Texture Overlay */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============ HEADER ============ */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, #0a0a0a 80%, transparent);
}

.logo {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(232, 228, 223, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #e8e4df;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    border-color: #e8e4df;
    transform: rotate(180deg);
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: #e8e4df;
    text-decoration: none;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 1;
}

/* ============ HERO SECTION ============ */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(232, 228, 223, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.circle-1 { 
    width: 80vw; 
    height: 80vw; 
    max-width: 800px; 
    max-height: 800px; 
}

.circle-2 { 
    width: 60vw; 
    height: 60vw; 
    max-width: 600px; 
    max-height: 600px; 
}

.circle-3 { 
    width: 40vw; 
    height: 40vw; 
    max-width: 400px; 
    max-height: 400px; 
}

.hero-subtitle {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 30px;
    opacity: 0.4;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(48px, 10vw, 90px);
    font-weight: 200;
    color: #e8e4df;
    margin-bottom: 0;
    line-height: 0.9;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 10;
}

.hero h2 {
    font-size: clamp(48px, 10vw, 90px);
    font-weight: 200;
    font-style: italic;
    color: #e8e4df;
    opacity: 0.6;
    margin-bottom: 40px;
    line-height: 0.9;
    letter-spacing: -0.04em;
    position: relative;
    z-index: 10;
}

.hero-description {
    font-size: 14px;
    opacity: 0.5;
    margin-bottom: 60px;
    max-width: 450px;
    font-weight: 300;
    position: relative;
    z-index: 10;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 0.6;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(232, 228, 223, 0.3), transparent);
}

/* ============ PHILOSOPHY SECTION ============ */
.philosophy {
    padding: 150px 0;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.section-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 60px;
    opacity: 0.3;
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: start;
}

.philosophy h3 {
    font-size: 36px;
    color: #e8e4df;
    font-weight: 200;
    line-height: 1.2;
}

.philosophy h4 {
    font-size: 36px;
    font-style: italic;
    opacity: 0.6;
    font-weight: 200;
    margin-bottom: 40px;
    line-height: 1.2;
}

.philosophy p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.6;
    margin-bottom: 25px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 200;
    color: #e8e4df;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
}

.highlight-box {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 8px;
    background: rgba(232, 228, 223, 0.02);
}

.highlight-box p {
    font-size: 14px;
    opacity: 0.5;
    margin-bottom: 0;
}

/* ============ SKILLS SECTION ============ */
.skills {
    padding: 100px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.skill-category h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    font-size: 13px;
    opacity: 0.4;
    margin-bottom: 8px;
    font-weight: 300;
}

.skill-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 50%;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.skill-category:hover .skill-icon {
    border-color: rgba(232, 228, 223, 0.3);
    opacity: 0.8;
    transform: scale(1.1);
}

/* ============ PROJECTS SECTION ============ */
.projects {
    padding: 150px 0;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.project {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 80px 0;
    border-bottom: 1px solid rgba(232, 228, 223, 0.05);
    align-items: start;
}

.project-meta {
    position: sticky;
    top: 120px;
}

.project-year {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.3;
    margin-bottom: 15px;
}

.project h3 {
    font-size: 36px;
    color: #e8e4df;
    font-weight: 200;
    margin-bottom: 20px;
    line-height: 1.1;
    transition: transform 0.3s ease;
}

.project:hover h3 {
    transform: translateX(10px);
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    border: 1px solid rgba(232, 228, 223, 0.2);
    border-radius: 20px;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.project:hover .tag {
    opacity: 0.7;
    border-color: rgba(232, 228, 223, 0.4);
}

.project-details h4 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
    margin-bottom: 15px;
    font-weight: 400;
}

.project-details p {
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.project-details ul {
    list-style: none;
    margin-bottom: 30px;
}

.project-details li {
    font-size: 14px;
    opacity: 0.5;
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    font-weight: 300;
}

.project-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    opacity: 0.3;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.metric {
    padding: 20px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 8px;
    background: rgba(232, 228, 223, 0.02);
    transition: all 0.3s ease;
}

.metric:hover {
    border-color: rgba(232, 228, 223, 0.2);
    transform: translateY(-5px);
}

.metric-value {
    font-size: 24px;
    font-weight: 200;
    color: #e8e4df;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
}

/* ============ AVAILABILITY SECTION ============ */
.availability {
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.availability-card {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 50px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 12px;
    background: rgba(232, 228, 223, 0.02);
    transition: all 0.3s ease;
}

.availability-card:hover {
    border-color: rgba(232, 228, 223, 0.2);
    transform: translateY(-10px);
}

.availability h3 {
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 20px;
}

.availability p {
    font-size: 15px;
    opacity: 0.5;
    line-height: 1.8;
    margin-bottom: 30px;
}

.availability-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.detail-item h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 10px;
}

.detail-item p {
    font-size: 15px;
    opacity: 0.7;
    margin: 0;
}

/* ============ PRINCIPLES SECTION ============ */
.principles {
    padding: 150px 0;
    text-align: center;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.principle {
    font-size: clamp(20px, 4vw, 32px);
    opacity: 0.7;
    margin-bottom: 60px;
    font-weight: 200;
    transition: all 0.3s ease;
}

.principle:hover {
    opacity: 1;
    transform: scale(1.05);
}

.principle:nth-child(3) { opacity: 0.5; }
.principle:nth-child(4) { opacity: 0.3; }

/* ============ CONTACT SECTION ============ */
.contact {
    padding: 150px 0 100px 0;
    text-align: center;
    position: relative;
    background: linear-gradient(to bottom, transparent, rgba(26, 26, 24, 0.5) 50%, #1a1a18 100%);
}

.contact h2 {
    font-size: clamp(32px, 6vw, 52px);
    color: #e8e4df;
    font-weight: 200;
    line-height: 1.1;
}

.contact h3 {
    font-size: clamp(32px, 6vw, 52px);
    font-style: italic;
    opacity: 0.6;
    font-weight: 200;
    margin-bottom: 60px;
    line-height: 1.1;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.contact-link {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e8e4df;
    text-decoration: none;
    padding: 18px 35px;
    border: 1px solid rgba(232, 228, 223, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.contact-link:hover {
    opacity: 1;
    border-color: rgba(232, 228, 223, 0.6);
    background: rgba(232, 228, 223, 0.05);
    transform: translateY(-3px);
}

/* ============ TESTIMONIALS SECTION ============ */
.testimonials {
    padding: 150px 0;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.testimonial-card {
    padding: 40px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 12px;
    background: rgba(232, 228, 223, 0.02);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: rgba(232, 228, 223, 0.3);
    transform: translateY(-10px);
}

.testimonial-content p {
    font-size: 15px;
    line-height: 1.8;
    opacity: 0.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.author-info h5 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 5px;
    opacity: 0.8;
}

.author-info span {
    font-size: 12px;
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonial-rating {
    font-size: 16px;
    color: #e8e4df;
    opacity: 0.5;
}

/* ============ PROCESS SECTION ============ */
.process {
    padding: 150px 0;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.process-intro {
    max-width: 700px;
    margin: 0 auto 80px auto;
    text-align: center;
}

.process-intro h3 {
    font-size: 36px;
    font-weight: 200;
    margin-bottom: 20px;
    color: #e8e4df;
}

.process-intro p {
    font-size: 16px;
    opacity: 0.5;
    line-height: 1.8;
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.process-step {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 40px;
    padding: 40px 0;
    border-bottom: 1px solid rgba(232, 228, 223, 0.05);
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateX(10px);
}

.step-number {
    font-size: 48px;
    font-weight: 200;
    opacity: 0.2;
    line-height: 1;
}

.step-content h4 {
    font-size: 24px;
    font-weight: 200;
    margin-bottom: 15px;
    color: #e8e4df;
}

.step-content p {
    font-size: 15px;
    opacity: 0.6;
    line-height: 1.8;
    margin-bottom: 15px;
}

.step-duration {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid rgba(232, 228, 223, 0.2);
    border-radius: 20px;
}

/* ============ PRICING INFO ============ */
.pricing-info {
    margin: 50px 0;
    padding: 40px;
    border-top: 1px solid rgba(232, 228, 223, 0.1);
    border-bottom: 1px solid rgba(232, 228, 223, 0.1);
}

.pricing-info h4 {
    font-size: 20px;
    font-weight: 200;
    text-align: center;
    margin-bottom: 30px;
    opacity: 0.8;
}

.pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-tier {
    padding: 25px;
    border: 1px solid rgba(232, 228, 223, 0.1);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.pricing-tier:hover {
    border-color: rgba(232, 228, 223, 0.3);
    transform: translateY(-5px);
}

.tier-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.4;
    margin-bottom: 10px;
}

.tier-price {
    font-size: 24px;
    font-weight: 200;
    color: #e8e4df;
    margin-bottom: 15px;
}

.tier-desc {
    font-size: 13px;
    opacity: 0.5;
    line-height: 1.6;
}

.pricing-note {
    font-size: 12px;
    opacity: 0.4;
    text-align: center;
    font-style: italic;
}

/* ============ FAQ SECTION ============ */
.faq {
    padding: 150px 0;
    border-top: 1px solid rgba(232, 228, 223, 0.05);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
}

.faq-item h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #e8e4df;
    opacity: 0.8;
}

.faq-item p {
    font-size: 14px;
    opacity: 0.5;
    line-height: 1.8;
}

/* ============ PROJECT PREVIEW ============ */
.project-preview {
    margin: 30px 0;
}

.preview-placeholder {
    padding: 60px 40px;
    border: 2px dashed rgba(232, 228, 223, 0.1);
    border-radius: 12px;
    text-align: center;
    background: rgba(232, 228, 223, 0.02);
    transition: all 0.3s ease;
}

.preview-placeholder:hover {
    border-color: rgba(232, 228, 223, 0.2);
}

.preview-placeholder span {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
    opacity: 0.4;
}

.preview-placeholder p {
    font-size: 13px;
    opacity: 0.3;
    margin: 0;
}

/* ============ LINK BADGES ============ */
.link-badge {
    font-size: 9px;
    margin-left: 8px;
    padding: 3px 8px;
    border: 1px solid rgba(232, 228, 223, 0.3);
    border-radius: 10px;
    opacity: 0.5;
}

.contact-link:hover .link-badge {
    opacity: 1;
}

/* ============ RESPONSIVE - NEW SECTIONS ============ */
@media (max-width: 968px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-step {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }

    .step-number {
        font-size: 32px;
    }

    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .testimonial-card {
        padding: 30px 20px;
    }

    .process-step {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step-number {
        font-size: 24px;
    }

    .pricing-info {
        padding: 30px 20px;
    }
}
footer {
    background-color: #1a1a18;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.2;
    align-items: center;
}

/* ============ ANIMATIONS ============ */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 968px) {
    .philosophy-content,
    .project {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-meta {
        position: relative;
        top: 0;
    }

    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .availability-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .metric-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 30px;
    }

    nav {
        gap: 20px;
    }

    .availability-card {
        padding: 40px 30px;
    }
}

@media (max-width: 640px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
    }

    footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .container {
        padding: 0 20px;
    }

    header {
        padding: 20px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}