/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth; /* Add smooth scrolling */
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FDFAF6;
}

.container {
    background-color: #FDFAF6;
}

.chat-container {
    background-color: #FDFAF6;
}

.message-container {
    background-color: #FDFAF6;
}

.input-container {
    background-color: #FDFAF6;
}

/* Navigation */
header {
    position: fixed;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto auto; /* Logo, nav-links, translate-btn, hamburger */
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    justify-content: flex-end; /* Align links to the right */
    padding-right: 2rem; /* Add some space before translate button */
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #007bff;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger span:first-child {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 9px;
}

.hamburger span:last-child {
    top: 18px;
}

/* Hamburger Animation */
.hamburger.active span:first-child {
    transform: rotate(45deg);
    top: 9px;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:last-child {
    transform: rotate(-45deg);
    top: 9px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/1920x1080/?media-production');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    padding: 2rem;
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.dynamic-text {
    color: #fff;
}

.typing-text {
    color: #007bff;
    border-right: 3px solid #007bff;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #007bff; }
}

@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 20px); opacity: 0; }
}

/* Portfolio Section */
.portfolio {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.portfolio-item:hover .overlay {
    transform: translateY(0);
}

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

/* YFF Section */
.yff {
    padding: 5rem 2rem;
    background: #FDFAF6;
}

.yff h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

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

.yff-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #f0f0f0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.yff-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

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

.yff-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.yff-item:hover .overlay {
    transform: translateY(0);
}

.yff-description {
    max-width: 800px;
    margin: 3rem auto 0;
    text-align: center;
}

.yff-description p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: #FDFAF6;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.profile-img {
    width: 100%;
    border-radius: 10px;
}

.skills ul {
    list-style: none;
    margin-top: 1rem;
}

.skills li {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 20px;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact h2 {
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.2rem;
}

.contact-item i {
    color: #007bff;
    font-size: 1.5rem;
}

.contact-item a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #007bff;
}

/* Update existing social links styles */
.social-links {
    margin-top: 2rem;
}

.social-links a {
    color: #333;
    font-size: 1.8rem;
    margin: 0 1rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #007bff;
}

/* Add responsive styles if needed */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav {
        grid-template-columns: auto auto auto; /* Logo, translate-btn, hamburger */
    }

    .nav-links {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-content: center;
        padding-right: 0;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: 200px; /* Smaller width */
        background: white;
        display: flex;
        flex-direction: column;
        padding: 1rem 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 1.5rem;
        font-size: 1.1rem;
    }

    .nav-links a:hover {
        background: #f5f5f5;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }

    .contact-item {
        font-size: 1.1rem;
    }

    .yff-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .yff-description {
        padding: 0 1rem;
    }

    .translate-btn {
        margin-left: 0.5rem;
    }
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: #333;
    color: white;
}

/* Add this to your navigation styles */
.nav-right {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.translate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    background: transparent;
    color: #333;
    border: 2px solid #007bff;
    cursor: pointer;
}

.translate-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.translate-btn i {
    font-size: 1rem;
}

/* Update mobile styles */
@media (max-width: 768px) {
    .nav-right {
        gap: 1rem;
    }
    
    .translate-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
} 