:root {
    --primary-color: #ff007a;
    --secondary-color: #00d4ff;
    --bg-light: #f8f9fa;
    --bg-card: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --accent-gradient: linear-gradient(135deg, #ff007a, #7000ff);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.logo::before {
    content: 'F';
    background: var(--accent-gradient);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 122, 0.3);
}

.logo span {
    color: var(--primary-color);
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}

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

.nav-links a:hover::after {
    width: 100%;
}

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

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('https://images.unsplash.com/photo-1514525253361-bee213601569?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), var(--bg-light));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 1rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -2px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: float 3s ease-in-out infinite;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-main);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    margin: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 10px 20px rgba(255, 0, 122, 0.2);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(255, 0, 122, 0.4);
}

.btn-secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* About Section */
.about {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-info {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    border-left: 5px solid var(--primary-color);
}

.info-item {
    margin-bottom: 1rem;
    display: flex;
    gap: 10px;
}

.about-img img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: rotate(-2deg) scale(1.02);
}

/* Projects Section */
.projects {
    background: #fdfdfd;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.project-card {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    background: white;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.project-img-wrapper {
    position: relative;
    height: 450px;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(255, 0, 122, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

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

/* Contact Section */
.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.05);
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 15px;
    color: var(--text-main);
    font-family: inherit;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    padding: 5rem 2rem;
    background: white;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

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

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.reveal-text, .fade-in, .project-card, .about-text, .about-img {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.active {
    opacity: 1;
    transform: translateY(0);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile */
@media (max-width: 768px) {
    .burger { display: block; }
    .hero h1 { font-size: 3rem; }
    .about-grid { grid-template-columns: 1fr; }
    .nav-links {
        position: absolute;
        right: 0px;
        height: 92vh;
        top: 8vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        padding-top: 5rem;
        box-shadow: -10px 0 20px rgba(0,0,0,0.05);
    }
    .nav-links li { margin: 2rem 0; }
    .nav-active { transform: translateX(0%); }
}
