:root {
    --card-bg: rgba(255, 252, 247, 0.92);
    --text-primary: #2d3436;
    --text-secondary: #6d5f5e;
    --accent-color: #e6a17c;
    --accent-secondary: #b5838d;
    --sky-color: rgba(135, 206, 235, 0.3);
    --mountain-color: #a8c7dc;
    --grass-color: #7ec983;
    --font-primary: 'ITC Avant Garde Gothic Std', 'Avant Garde', 'Century Gothic', 'Helvetica Neue', sans-serif;
    --transition-speed: 0.3s;
}

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

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&display=swap');
@import url('https://fonts.cdnfonts.com/css/itc-avant-garde-gothic-std');

body {
    font-family: var(--font-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--sky-color);
    color: var(--text-primary);
    padding: 20px;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Ghibli-inspired Background Animation */
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

/* Base Background Image */
.aurora-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(1px);
    transform: scale(1.1);
    animation: none;
    will-change: transform;
}

/* Atmospheric Overlay */
.aurora-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(230, 161, 124, 0.12),
        rgba(255, 255, 255, 0.08)
    );
    animation: none;
    will-change: opacity, transform;
}

/* Gentle Cloud Layer */
.aurora:nth-child(1) {
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 25%,
        rgba(255, 255, 255, 0.4) 75%,
        rgba(255, 255, 255, 0) 100%);
    filter: blur(30px);
    animation: moveCloud 40s infinite linear;
    opacity: 0.8;
    will-change: transform;
}

/* Wind Layer 1 - This is the existing wind that gets cleared */
.aurora:nth-child(2) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 40% 50%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%),
        radial-gradient(circle at 80% 60%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 60%);
    background-size: 100% 100%;
    filter: blur(25px);
    opacity: 0.6;
    will-change: transform, opacity;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
    z-index: 1;
}

/* Wind Layer 2 - This is the existing wind that gets cleared */
.aurora:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%),
        radial-gradient(circle at 90% 50%, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 50%);
    background-size: 100% 100%;
    filter: blur(20px);
    opacity: 0.5;
    will-change: transform, opacity;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
    z-index: 1;
}

/* Ripple effect for wind clearing - this is the visual feedback when clearing wind */
.ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 1.5s ease-out;
    pointer-events: none;
    z-index: 2;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

@keyframes moveCloud {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(33.33%);
    }
}

/* Card Layout */
.card {
    background: var(--card-bg);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 1000px;
    width: 95%;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(45, 52, 54, 0.1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 1rem auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 3rem;
    will-change: transform;
}

.card:hover {
    transform: none;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-secondary));
    border-radius: 24px 24px 0 0;
    opacity: 0.8;
}

/* Profile Section */
.profile-section {
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(230, 161, 124, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    width: 100%;
}

.profile-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-color);
    box-shadow: 0 4px 12px rgba(230, 161, 124, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.profile-image:hover {
    transform: scale(1.05);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.name {
    font-size: 1.8rem;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: -0.3rem 0 0 0;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: auto;
    padding-top: 2rem;
}

.social-button {
    width: 44px;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 161, 124, 0.1);
    color: var(--text-primary);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.2rem;
    transform: rotate(-45deg);
    will-change: transform;
}

.social-button i {
    transform: rotate(45deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.social-button::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 2px;
    background: linear-gradient(45deg, var(--accent-color), var(--accent-secondary));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-button:hover {
    transform: rotate(-45deg) scale(1.1);
    background: rgba(230, 161, 124, 0.15);
    color: var(--accent-color);
}

.social-button:hover::before {
    opacity: 1;
}

.social-button:hover i {
    transform: rotate(45deg) scale(1.1);
}

/* Sections Layout */
.sections {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

section {
    background: rgba(230, 161, 124, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(230, 161, 124, 0.1);
}

section h2 {
    font-size: 1.3rem;
    margin: 0 0 1.2rem;
    color: var(--accent-color);
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(230, 161, 124, 0.2);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Entry Styling */
.entries-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.entry {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(230, 161, 124, 0.02);
    border: 1px solid rgba(230, 161, 124, 0.05);
    will-change: transform;
}

.entry:hover {
    transform: scale(1.02) translateY(-3px);
    background: rgba(230, 161, 124, 0.08);
    box-shadow: 0 4px 20px rgba(230, 161, 124, 0.1);
}

.entry:not(:last-child) {
    margin-bottom: 0.8rem;
}

.entry-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    transition: transform 0.3s ease;
    will-change: transform;
}

.entry:hover .entry-icon {
    transform: scale(1.1);
}

.entry-title h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.entry-title p {
    font-size: 0.9rem;
    margin: 0.2rem 0 0;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-weight: 400;
}

.entry-date {
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    font-family: var(--font-primary);
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Category Cards */
.experience-card, .education-card {
    background: rgba(230, 161, 124, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 16px;
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    border: 1px solid rgba(230, 161, 124, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    will-change: transform;
}

.experience-card:hover, .education-card:hover {
    transform: scale(1.02) translateY(-3px);
    box-shadow: 0 4px 20px rgba(230, 161, 124, 0.1);
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2.5rem;
    }

    .profile-section {
        padding: 2rem 1.5rem;
        border-right: none;
        border-bottom: 1px solid rgba(230, 161, 124, 0.2);
    }

    .profile-content {
        gap: 1rem;
    }

    .social-links {
        padding-top: 1.5rem;
    }

    .social-button {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 1.5rem;
        margin: 0.5rem;
    }

    .profile-section {
        padding: 1.5rem 1rem;
    }

    .profile-image {
        width: 130px;
        height: 130px;
    }

    .name {
        font-size: 1.6rem;
    }

    .social-button {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .entry {
        grid-template-columns: auto 1fr;
        gap: 0.8rem;
    }

    .entry-date {
        grid-column: 2;
        justify-self: start;
        margin-top: 0.3rem;
    }

    .entry-icon {
        width: 36px;
        height: 36px;
    }
} 