:root {
    --bg-color: #120C0A;
    /* Deep Espresso */
    --text-primary: #F3E5DC;
    /* Steamed Milk */
    --text-secondary: #B09B88;
    /* Latte */
    --accent: #D4A373;
    /* Caramel */
    --accent-light: #E6C7A8;
    /* Light Foam */
    --accent-dark: #8B5E3C;
    /* Roast */
    --accent-gradient: linear-gradient(135deg, #D4A373 0%, #8B5E3C 100%);
    --glass: rgba(243, 229, 220, 0.03);
    --glass-warm: rgba(212, 163, 115, 0.05);
    --border: rgba(243, 229, 220, 0.1);
    --border-accent: rgba(212, 163, 115, 0.3);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Custom cursor */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    position: relative;
}

/* Noise Texture Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 999;
    opacity: 0.07;
}

/* Custom Cursor */
.cursor {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: exclusion;
}

.cursor-follower {
    width: 50px;
    height: 50px;
    border: 1px solid var(--accent);
    background: rgba(212, 163, 115, 0.05);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: normal;
    background: linear-gradient(to bottom, rgba(18, 12, 10, 0.8), transparent);
    backdrop-filter: blur(2px);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--accent);
}

.nav-items a {
    color: var(--text-primary);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 400;
    position: relative;
    transition: 0.3s;
}

.nav-items a:hover {
    color: var(--accent);
}

.btn-nav {
    border: 1px solid var(--accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--accent) !important;
}

.btn-nav:hover {
    background: var(--accent);
    color: var(--bg-color) !important;
    box-shadow: 0 0 15px rgba(212, 163, 115, 0.4);
}

/* Hero */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-dark) 0%, transparent 70%);
    filter: blur(100px);
    opacity: 0.3;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: bloom 10s infinite alternate;
}

@keyframes bloom {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.2;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.4;
    }
}

.subtitle {
    letter-spacing: 4px;
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
}

h1 {
    font-size: 8vw;
    line-height: 0.9;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.first-name,
.gradient-text {
    display: inline-block;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.role {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections */
section {
    padding: 4rem 2rem;
    /* Reduced padding since we have 100vh */
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Skills - White Theme */
#skills {
    background-color: #FFFBF7;
    /* Cream White */
    color: #120C0A;
}

#skills h2 {
    color: #120C0A;
}

.skills-category {
    margin-bottom: 3rem;
}

.skills-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #8B5E3C;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.2rem;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D4A373, transparent);
    margin: 0.5rem auto 0;
}

.skills-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.skill-tag {
    padding: 1rem 2rem;
    border-radius: 100px;
    font-size: 1.1rem;
    transition: 0.3s;
    background: #FFF;
    border: 1px solid #E6D7C3;
    color: #8B5E3C;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.skill-tag.filled {
    background: #D4A373;
    color: #FFF;
    border: none;
}

.skill-tag:hover {
    transform: translateY(-5px);
    background: #120C0A;
    color: #FFF;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* About */
#about {
    background: linear-gradient(rgba(18, 12, 10, 0.9), rgba(18, 12, 10, 0.9)),
        url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="%23D4A373" opacity="0.2"/></svg>');
}

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

.lead {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.text-block p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    color: var(--accent);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-primary .arrow {
    margin-left: 10px;
    transition: 0.3s;
}

.cta-primary:hover .arrow {
    margin-left: 15px;
}

.visual-block {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Moka Pot Decoration */
.visual-block::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 450px;
    background: url('assets/coffee-pot.svg') no-repeat center center;
    background-size: contain;
    opacity: 0.1;
    z-index: 1;
    transform: rotate(5deg);
}

.card-glass {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    position: absolute;
    width: 250px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    z-index: 5;
}

.card-glass:hover {
    background: var(--glass-warm);
    border-color: var(--accent);
    transform: scale(1.02) !important;
    z-index: 10;
}

.card-glass h3 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.card-glass:first-child {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
}

.card-glass.right {
    bottom: 0;
    right: 0;
    transform: rotate(5deg);
}

/* Contact */
#contact {
    background: linear-gradient(rgba(18, 12, 10, 0.7), rgba(18, 12, 10, 0.8)),
        url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?q=80&w=2574&auto=format&fit=crop');
    /* Dark Coffee Background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem;
    background: rgba(18, 12, 10, 0.65);
    /* Semi-transparent dark overlay */
    backdrop-filter: blur(12px);
    /* Frosted glass effect */
    border-radius: 30px;
    border: 1px solid rgba(243, 229, 220, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Floating Beans Animation */
.floating-bean {
    position: absolute;
    width: 40px;
    height: 40px;
    background: url('assets/coffee-bean.svg') no-repeat;
    background-size: contain;
    opacity: 0.8;
    /* Made clearly visible */
    pointer-events: none;
    z-index: 0;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    /* Added shadow for depth */
}

.bean-1 {
    top: 10%;
    left: 10%;
    animation: float 6s ease-in-out infinite;
}

.bean-2 {
    bottom: 20%;
    right: 15%;
    animation: float 8s ease-in-out infinite reverse;
    width: 60px;
    height: 60px;
    opacity: 0.6;
}

.bean-3 {
    top: 40%;
    right: 5%;
    animation: float 10s ease-in-out infinite;
    width: 30px;
    height: 30px;
    opacity: 0.7;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.input-group {
    position: relative;
    margin-bottom: 2.5rem;
    z-index: 2;
}

input,
textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-family: var(--font-main);
    transition: border 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-bottom: 1px solid var(--accent);
}

.bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: 0.4s;
}

input:focus+.bar,
textarea:focus+.bar {
    width: 100%;
}

button {
    background: var(--accent);
    color: #120C0A;
    border: none;
    padding: 1rem 3rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 1rem;
    transition: 0.3s;
    cursor: none;
    position: relative;
    z-index: 2;
}

button:hover {
    transform: scale(1.05);
    background: var(--text-primary);
    box-shadow: 0 0 30px rgba(212, 163, 115, 0.4);
}

/* Contact Links (No Form) */
.contact-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    font-weight: 300;
    position: relative;
    z-index: 2;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.contact-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 0;
}

.contact-card:hover::before {
    opacity: 0.1;
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent);
    background: var(--glass-warm);
    box-shadow: 0 20px 40px rgba(212, 163, 115, 0.2);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-accent);
    transition: all 0.4s;
    position: relative;
    z-index: 1;
}

.contact-card:hover .contact-icon {
    background: var(--accent);
    border-color: var(--accent);
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(212, 163, 115, 0.3);
}

.contact-icon svg {
    color: var(--accent);
    transition: color 0.4s;
}

.contact-card:hover .contact-icon svg {
    color: var(--bg-color);
}

.contact-text {
    text-align: left;
    position: relative;
    z-index: 1;
}

.contact-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.contact-footer {
    margin-top: 2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    position: relative;
    z-index: 2;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--bg-color), #0A0706);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    position: relative;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--accent);
}

.footer-content {
    text-align: center;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 300;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
}

.footer-links a::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

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

/* Responsive */
@media (max-width: 768px) {
    .split {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 15vw;
    }

    nav {
        padding: 1.5rem;
    }

    .nav-items {
        display: none;
    }

    /* Contact Section Mobile */
    .contact-box {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .contact-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-card {
        padding: 1.5rem;
        flex-direction: row;
        gap: 1rem;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-text h3 {
        font-size: 1.1rem;
    }

    .contact-text p {
        font-size: 0.85rem;
    }

    .contact-footer {
        font-size: 0.85rem;
        margin-top: 1.5rem;
    }

    #contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    /* Footer Mobile */
    footer {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-logo {
        font-size: 1.2rem;
    }

    .footer-tagline {
        font-size: 0.9rem;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }

    .footer-links {
        justify-content: center;
        gap: 1rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }
}

/* Coffee Toast (Right-click message) */
.coffee-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: var(--bg-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(212, 163, 115, 0.4);
    pointer-events: none;
    cursor: none;
}