* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

:root {
    --bg-color: #000000;
    --card-bg: rgba(22, 22, 23, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-color: #f5f5f7;
    --accent-color: #ff2525; 
    --secondary-color: #86868b;
    --nav-bg: rgba(0, 0, 0, 0.75);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.reveal {
    opacity: 0;
    transform: scale(0.98) translateY(15px);
    transition: opacity 1s cubic-bezier(0.15, 1, 0.3, 1), 
                transform 1s cubic-bezier(0.15, 1, 0.3, 1);
}

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

nav {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10%;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    height: 52px;
}

.logo {
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

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

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    height: 100%;
}

.nav-links li {
    margin-left: 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: -0.1px;
    opacity: 0.8;
    transition: opacity 0.3s, color 0.3s;
    font-weight: 400;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 18px;
    height: 11px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 1.5px;
    background-color: var(--text-color);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}


#hero {
    height: 85vh;
    width: 100vw;       
    max-width: none;    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 10% 40px 10%;
    position: relative;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), var(--bg-color)), 
                url('images/background.jpg') center/cover no-repeat;
}

#hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 15px;
}

#hero h1 span {
    background: linear-gradient(90deg, #ff2525, #ff6b6b);
    -webkit-background-clip: text; 
    background-clip: text;         
    -webkit-text-fill-color: transparent;
}

#hero p {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
    letter-spacing: -0.4px;
    font-weight: 400;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--text-color);
    color: var(--bg-color);
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1), background-color 0.3s;
}

.btn:hover {
    transform: scale(1.02);
    background-color: #ffffff;
}

section {
    padding: 80px 10%; 
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 40px;
    text-align: center;
    width: 100%;
}

.section-desc {
    color: var(--secondary-color);
    margin: -25px auto 40px auto;
    max-width: 600px;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.5;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.about-text {
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
}

.about-text p {
    color: var(--secondary-color);
    font-size: 1.15rem;
    line-height: 1.6;
    letter-spacing: -0.1px;
    margin-bottom: 15px;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.skill-card {
    background: var(--card-bg);
    padding: 35px 25px;
    border-radius: 18px;
    text-align: center;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.4s cubic-bezier(0.15, 1, 0.3, 1), border-color 0.4s;
}

.skill-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.15);
}

.skill-card icon {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 15px;
}

.skill-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    margin-bottom: 8px;
}

.skill-card p {
    font-size: 0.9rem;
    color: var(--secondary-color);
    line-height: 1.4;
}

.drive-container {
    width: 100%;
    background: var(--card-bg);
    border-radius: 20px;
    padding: 16px;
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #0d0d0d;
}

.drive-iframe {
    display: block;
    width: 100%;
    height: 550px;
    border: none;
}

#contact {
    text-align: center;
    background: transparent;
    padding-bottom: 120px;
}

#contact p {
    color: var(--secondary-color);
    font-size: 1.25rem;
    letter-spacing: -0.2px;
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

#contact .btn {
    background: var(--accent-color);
    color: white;
}

#contact .btn:hover {
    background: #e01b1b;
}

footer {
    padding: 40px 0;
    text-align: center;
    font-size: 0.8rem;
    color: var(--secondary-color);
    border-top: 1px solid var(--card-border);
}

@media (max-width: 992px) {
    #hero h1 { font-size: 3.5rem; }
    .skills-grid { grid-template-columns: 1fr; gap: 15px; }
    .skill-card { padding: 25px; text-align: left; display: flex; align-items: center; gap: 20px; }
    .skill-card icon { margin-bottom: 0; font-size: 2rem; }
}

@media (max-width: 768px) {
    section { padding: 50px 6%; }
    .section-title { font-size: 2rem; margin-bottom: 30px; }
    .section-desc { margin-bottom: 30px; font-size: 0.95rem; }
    
    #hero { min-height: 75vh; }
    #hero h1 { font-size: 2.6rem; }
    #hero p { font-size: 1.1rem; margin-bottom: 25px; }

    .menu-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        right: 0;
        top: 52px;
        height: calc(100vh - 52px);
        background: rgba(0, 0, 0, 0.96);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: flex-start;
        width: 100%;
        transform: translateY(-100%);
        opacity: 0;
        transition: transform 0.4s cubic-bezier(0.15, 1, 0.3, 1), opacity 0.3s ease;
        padding-top: 20px;
        border-top: 1px solid var(--card-border);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-links li {
        margin: 12px 0;
        width: 100%;
        justify-content: center;
        height: auto;
    }

    .nav-links a {
        font-size: 1.05rem;
        width: 100%;
        padding: 10px;
    }

    .menu-toggle.toggle-active span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }
    .menu-toggle.toggle-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.toggle-active span:nth-child(3) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .drive-iframe { height: 440px; }
}

@media (max-width: 480px) {
    #hero h1 { font-size: 2.1rem; }
    .drive-iframe { height: 380px; }
}