/* ========== GLOBAL STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Georgia', serif;
    margin: 0;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #f3d6c3 0%, #d8895e 100%);
    color: #2a2318;
}

/* ========== HEADER / NAVIGATION ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    background: rgba(236, 113, 51, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.logo img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-item a:hover {
    color: #4b2514;
    transition: color 0.3s ease-in-out;
}

/* ========== SECTIONS ========== */
section {
    min-height: 100vh;
    padding: 100px 2rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

section h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ec7133;
    margin-bottom: 2rem;
    text-align: left;
    letter-spacing: 1px;
}

/* ========== HOME SECTION ========== */
#Home {
    background: linear-gradient(135deg, #f3d6c3 0%, #fef5e7 50%, #d8895e 100%);
}

.home-content {
    width: 100%;
    max-width: 1400px;
}

.middle-home-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(236, 113, 51, 0.15);
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.picture-container {
    flex: 1;
    max-width: 500px;
}

.profile-pic {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-pic:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.intro-text {
    flex: 1;
    text-align: left;
    color: #2a2318;
}

.intro-text h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #d4a954;
    margin-bottom: 0.5rem;
    text-align: left;
}

.intro-text h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    color: #ec7133;
    margin-bottom: 1rem;
    font-weight: 700;
    align-items: left;
}

.pronounciation-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(212, 169, 84, 0.1);
    border-radius: 10px;
    border-left: 4px solid #d4a954;
}

.audio-pronounce {
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.audio-pronounce:hover {
    transform: scale(1.1);
}

.name-things h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #ec7133;
    margin-bottom: 0.25rem;
}

.name-things h4 {
    font-size: .85rem;
    font-style: italic;
    opacity: 0.7;
}

.intro-text h5 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem 0;
    color: #d4a954;
}
.intro-text h6 {
    font-size: 1rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem 0;
    font-style:italic;
    color: #7e746b;
}

.intro-text p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #4a3f2f;
}

/* Tech Stack Icons */
.tech-stack-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.tech-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(20%);
}

.tech-icon:hover {
    transform: translateY(-10px) scale(1.1);
    filter: grayscale(0%) drop-shadow(0 10px 20px rgba(236, 113, 51, 0.3));
}

/* ========== PROJECTS SECTION ========== */
#Projects {
    background: linear-gradient(135deg, #fef5e7 0%, #f3d6c3 100%);
}

.projects-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    width: 100%;
    padding: 2rem 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-decoration: none;
    color: #2a2318;
    border: 2px solid rgba(236, 113, 51, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ec7133, #d4a954);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(236, 113, 51, 0.25);
    border-color: #ec7133;
    background: rgba(255, 255, 255, 0.9);
}

.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: .5rem;
    transition: transform 0.4s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card h3 {
    font-size: 1.5rem;
    color: #ec7133;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card:hover h3 {
    color: #d4a954;
}

.project-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a3f2f;
}

/* ========== ART SECTION ========== */
#Art {
    background: linear-gradient(135deg, #d8895e 0%, #ec7133 100%);
    color: white;
}

#Art h2 {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 7rem;
}

.tour-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #ec7133;
    background: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tour-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 169, 84, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.tour-button:hover::before {
    width: 300px;
    height: 300px;
}

.tour-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: #2a2318;
}

/* ========== CONTACT SECTION ========== */
#Contact {
    background: linear-gradient(135deg, #fef5e7 0%, #f3d6c3 100%);
    display: flex;
    flex-direction: row;
    align-items: right;
    justify-content: center;
    gap: 4rem;
}

.contact-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.contact-content h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a3f2f;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #ec7133;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.social-icon {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.social-icon:hover {
    transform: translateY(-10px) scale(1.15);
    filter: drop-shadow(0 10px 25px rgba(236, 113, 51, 0.4));
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablets */
@media (max-width: 1024px) {
    header {
        padding: 0 2rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    .middle-home-section {
        padding: 2rem;
    }
}

/* Mobile landscape and small tablets */
@media (max-width: 768px) {
    header {
        height: auto;
        padding: 1rem;
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .nav-item a {
        font-size: 0.9rem;
    }
    
    section {
        padding: 80px 1.5rem 3rem;
    }
    
    .middle-home-section {
        flex-direction: column;
        padding: 2rem 1.5rem;
    }
    
    .intro-text {
        text-align: center;
    }
    
    .pronounciation-header {
        justify-content: center;
    }
    
    .tech-stack-icons {
        gap: 1.5rem;
    }
    
    .tech-icon {
        width: 50px;
        height: 50px;
    }
    
    .projects-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #Contact {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-content {
        text-align: center;
    }
    
    .contact-content h2 {
        text-align: center;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Mobile portrait */
@media (max-width: 480px) {
    header {
        flex-direction: column;
        height: auto;
        padding: 1rem 0.5rem;
    }
    
    .logo img {
        height: 30px;
    }
    
    nav ul {
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-item a {
        font-size: 0.85rem;
    }
    
    section {
        padding: 100px 1rem 2rem;
    }
    
    section h2 {
        font-size: 1.8rem;
    }
    
    .middle-home-section {
        padding: 1.5rem 1rem;
        gap: 2rem;
    }
    
    .intro-text h1 {
        font-size: 2.5rem;
    }
    
    .tech-icon {
        width: 45px;
        height: 45px;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-card img {
        height: 150px;
    }
    
    .tour-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .contact-content p {
        font-size: 1rem;
        padding: 1.5rem;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .tech-stack-icons {
        gap: 1rem;
    }
    
    .tech-icon {
        width: 40px;
        height: 40px;
    }
}