/* Reset and Base Styles - Memphis/Du Pasquier Inspired */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(45deg, #ffeaa7 0%, #fab1a0 25%, #fd79a8 50%, #fdcb6e 75%, #e17055 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    min-height: 100vh;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Memphis-style geometric patterns */
.geometric-pattern {
    position: relative;
    overflow: hidden;
}

.geometric-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20px 30px, #ff6b6b 2px, transparent 2px),
        radial-gradient(circle at 60px 70px, #4ecdc4 3px, transparent 3px),
        linear-gradient(45deg, transparent 40%, #ffe66d 40%, #ffe66d 60%, transparent 60%);
    background-size: 80px 100px, 120px 140px, 200px 200px;
    opacity: 0.1;
    pointer-events: none;
}

/* Navigation - Memphis Style */
.navbar {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #ffe66d);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 6px solid #2c3e50;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h2 {
    color: #2c3e50;
    font-weight: 900;
    font-size: 1.8rem;
    text-shadow: 3px 3px 0px #fff;
    transform: rotate(-2deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 25px;
    border: 3px solid transparent;
    transform: rotate(1deg);
}

.nav-link:hover,
.nav-link.active {
    background: #ffe66d;
    border-color: #2c3e50;
    transform: rotate(-1deg) scale(1.1);
    box-shadow: 5px 5px 0px #2c3e50;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: #ff6b6b;
    padding: 10px;
    border-radius: 10px;
    border: 3px solid #2c3e50;
}

.bar {
    width: 25px;
    height: 4px;
    background: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    margin-top: 80px;
}

/* Hero Section - Memphis Style */
.hero {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 25%, #fdcb6e 50%, #e17055 75%, #d63031 100%);
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

/* Toned down hero for About page */
.about .hero {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.3) 0%, rgba(78, 205, 196, 0.3) 50%, rgba(255, 230, 109, 0.3) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, #fff 20px, transparent 20px),
        radial-gradient(circle at 80% 80%, #2c3e50 15px, transparent 15px),
        radial-gradient(circle at 40% 40%, #ff6b6b 25px, transparent 25px);
    background-size: 200px 200px, 300px 300px, 250px 250px;
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 30px;
    font-weight: 900;
    text-shadow: 4px 4px 0px #fff;
    transform: rotate(-1deg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.9);
    padding: 15px 25px;
    border-radius: 30px;
    border: 4px solid #2c3e50;
    display: inline-block;
    transform: rotate(1deg);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 20px;
    border: 3px solid #2c3e50;
}

.hero-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.cv-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 4px solid #2c3e50;
    transform: rotate(-1deg);
    position: relative;
}

.btn-primary {
    background: #ff6b6b;
    color: #2c3e50;
    box-shadow: 6px 6px 0px #2c3e50;
}

.btn-primary:hover {
    background: #4ecdc4;
    transform: rotate(1deg) translateY(-3px);
    box-shadow: 8px 8px 0px #2c3e50;
}

.btn-secondary {
    background: #ffe66d;
    color: #2c3e50;
    box-shadow: 6px 6px 0px #2c3e50;
}

.btn-secondary:hover {
    background: #ff9ff3;
    transform: rotate(-2deg) translateY(-3px);
    box-shadow: 8px 8px 0px #2c3e50;
}

.hero-image {
    text-align: center;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: #fff;
    border-radius: 50%;
    z-index: -1;
    transform: rotate(3deg);
    border: 6px solid #2c3e50;
    box-shadow: 10px 10px 0px rgba(44, 62, 80, 0.2);
}

.hero-image::after {
    content: '';
    position: absolute;
    top: -35px;
    left: -35px;
    right: -35px;
    bottom: -35px;
    background: #ffe66d;
    border-radius: 50%;
    z-index: -2;
    transform: rotate(-4deg);
    border: 4px solid #2c3e50;
}

.profile-img {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid #2c3e50;
    box-shadow: 8px 8px 0px rgba(44, 62, 80, 0.3);
    transform: rotate(-2deg);
    position: relative;
    z-index: 2;
}

/* Sections - Memphis Style */
section {
    padding: 100px 0;
    position: relative;
}

section h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: #2c3e50;
    font-weight: 900;
    text-shadow: 3px 3px 0px #fff;
    transform: rotate(-1deg);
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Make About Me more visible */
.about h2 {
    color: #2c3e50;
    text-shadow: 2px 2px 0px #fff, 4px 4px 0px rgba(255, 107, 107, 0.3);
    background: none;
    -webkit-text-fill-color: #2c3e50;
}

/* About Section */
.about {
    background: rgba(255, 255, 255, 0.9);
    border-top: 8px solid #ff6b6b;
    border-bottom: 8px solid #4ecdc4;
}

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

.about-text {
    background: rgba(255, 230, 109, 0.3);
    padding: 40px;
    border-radius: 30px;
    border: 4px solid #2c3e50;
    transform: rotate(1deg);
}

.about-text p {
    margin-bottom: 25px;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 500;
}

.skills {
    background: rgba(78, 205, 196, 0.3);
    padding: 40px;
    border-radius: 30px;
    border: 4px solid #2c3e50;
    transform: rotate(-1deg);
}

.skills h3 {
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.tag {
    background: #fff;
    color: #2c3e50;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 700;
    border: 3px solid #2c3e50;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
}

.tag:hover {
    background: #ff6b6b;
    transform: rotate(2deg) scale(1.1);
}

/* Projects Section */
.projects {
    background: rgba(255, 159, 243, 0.2);
    border-top: 8px solid #ffe66d;
    border-bottom: 8px solid #ff6b6b;
}

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

.project-card {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    border: 5px solid #2c3e50;
    box-shadow: 10px 10px 0px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
    transform: rotate(-1deg);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: #ff6b6b;
    border-radius: 50%;
    border: 3px solid #2c3e50;
    z-index: 1;
}

.project-card:hover {
    transform: rotate(1deg) translateY(-10px);
    background: #ffeaa7;
}

.project-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.6rem;
    font-weight: 800;
    position: relative;
    z-index: 2;
}

.project-date {
    color: #ff6b6b;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    background: rgba(255, 107, 107, 0.2);
    padding: 8px 15px;
    border-radius: 15px;
    display: inline-block;
}

/* Timeline - Memphis Style */
.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(to bottom, #ff6b6b, #4ecdc4, #ffe66d, #ff9ff3);
    transform: translateX(-50%);
    border-radius: 4px;
}

.timeline-item {
    display: flex;
    margin-bottom: 80px;
    position: relative;
    justify-content: center;
}

.timeline-item:nth-child(1) { margin-bottom: 120px; }
.timeline-item:nth-child(2) { margin-bottom: 70px; }
.timeline-item:nth-child(3) { margin-bottom: 100px; }
.timeline-item:nth-child(4) { margin-bottom: 90px; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border: 3px solid #2c3e50;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.timeline-item:nth-child(odd)::before {
    top: 35px;
}

.timeline-item:nth-child(even)::before {
    top: 45px;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even)::before {
    background: #4ecdc4;
}

.timeline-item:nth-child(3)::before {
    background: #ffe66d;
    width: 25px;
    height: 25px;
}

.timeline-item:nth-child(4)::before {
    background: #ff9ff3;
    width: 18px;
    height: 18px;
}

.timeline-content {
    flex: 1;
    background: #fff;
    padding: 35px;
    border: 4px solid #2c3e50;
    box-shadow: 8px 8px 0px rgba(44, 62, 80, 0.2);
    margin: 0 30px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

.timeline-item:nth-child(1) .timeline-content {
    max-width: 420px;
    border-radius: 25px 5px 25px 25px;
    transform: rotate(-1.2deg);
    padding: 40px;
}

.timeline-item:nth-child(2) .timeline-content {
    max-width: 380px;
    border-radius: 15px 30px 15px 30px;
    transform: rotate(0.8deg);
    padding: 30px;
}

.timeline-item:nth-child(3) .timeline-content {
    max-width: 450px;
    border-radius: 5px 25px 35px 5px;
    transform: rotate(-0.3deg);
    padding: 45px;
    border-width: 5px;
}

.timeline-item:nth-child(4) .timeline-content {
    max-width: 390px;
    border-radius: 20px 10px 40px 15px;
    transform: rotate(1.1deg);
    padding: 38px;
}

.timeline-item:nth-child(5) .timeline-content {
    max-width: 410px;
    border-radius: 30px 15px 20px 40px;
    transform: rotate(-0.7deg);
    padding: 42px;
}

.timeline-item:nth-child(1) .timeline-content:hover {
    transform: rotate(0.8deg);
    background: #ffeaa7;
}

.timeline-item:nth-child(2) .timeline-content:hover {
    transform: rotate(-0.5deg);
    background: #ffeaa7;
}

.timeline-item:nth-child(3) .timeline-content:hover {
    transform: rotate(0.6deg);
    background: #ffeaa7;
}

.timeline-item:nth-child(4) .timeline-content:hover {
    transform: rotate(-0.8deg);
    background: #ffeaa7;
}

.timeline-item:nth-child(5) .timeline-content:hover {
    transform: rotate(0.4deg);
    background: #ffeaa7;
}

.timeline-content h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

.timeline-content h4 {
    color: #ff6b6b;
    margin-bottom: 8px;
    font-weight: 700;
}

.timeline-period {
    color: #4ecdc4;
    font-weight: 800;
    font-size: 1rem;
    background: rgba(78, 205, 196, 0.2);
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 15px;
    border: 2px solid #4ecdc4;
}

/* Page Headers - Memphis Style */
.page-header {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #ffe66d 50%, #ff9ff3 75%, #54a0ff 100%);
    color: #2c3e50;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 10px solid #2c3e50;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        polygon(30% 0%, 0% 100%, 100% 100%),
        polygon(70% 0%, 100% 0%, 100% 70%);
    background-color: rgba(255, 255, 255, 0.1);
    background-size: 300px 300px;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    font-weight: 900;
    text-shadow: 4px 4px 0px #fff;
    transform: rotate(-1deg);
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.4rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 40px;
    border-radius: 30px;
    border: 4px solid #2c3e50;
    display: inline-block;
    transform: rotate(1deg);
    position: relative;
    z-index: 2;
}

/* Events Page - Memphis Style */
.events-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.9);
}

.events-grid {
    display: grid;
    gap: 50px;
}

.event-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 6px solid #2c3e50;
    box-shadow: 15px 15px 0px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 420px 1fr;
    min-height: 350px;
    transform: rotate(-0.5deg);
}

.event-card:hover {
    transform: rotate(0.5deg) translateY(-10px);
    box-shadow: 20px 20px 0px rgba(44, 62, 80, 0.4);
}

.event-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d);
}

.event-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-img {
    transform: scale(1.1);
}

.event-status {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    border: 3px solid #2c3e50;
    transform: rotate(-5deg);
}

.event-card.upcoming .event-status {
    background: #ff6b6b;
    color: #2c3e50;
}

.event-card.current .event-status {
    background: #4ecdc4;
    color: #2c3e50;
}

.event-card.research .event-status {
    background: #ffe66d;
    color: #2c3e50;
}

.event-card.past .event-status {
    background: #ddd;
    color: #2c3e50;
}

.event-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1), rgba(78, 205, 196, 0.1));
}

.event-date {
    color: #ff6b6b;
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 1.2rem;
    background: rgba(255, 107, 107, 0.2);
    padding: 8px 15px;
    border-radius: 15px;
    display: inline-block;
    border: 2px solid #ff6b6b;
}

.event-content h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.8rem;
    font-weight: 900;
    transform: rotate(-1deg);
}

.event-location {
    color: #4ecdc4;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 700;
    font-size: 1.1rem;
}

.event-description {
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.event-highlights {
    margin: 25px 0;
    background: rgba(255, 255, 255, 0.8);
    padding: 20px;
    border-radius: 15px;
    border: 3px solid #2c3e50;
}

.event-highlights ul {
    list-style: none;
    padding-left: 0;
}

.event-highlights li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
    font-weight: 600;
}

.event-highlights li::before {
    content: '●';
    color: #4ecdc4;
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.5rem;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: auto;
}

/* Blog Page - Memphis Style */
.blog-section {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.9);
}

.blog-grid {
    display: grid;
    gap: 50px;
    margin-bottom: 80px;
}

.blog-post {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    border: 6px solid #2c3e50;
    box-shadow: 12px 12px 0px rgba(44, 62, 80, 0.3);
    transition: all 0.3s ease;
    transform: rotate(-0.5deg);
}

.blog-post:hover {
    transform: rotate(0.5deg) translateY(-8px);
    box-shadow: 15px 15px 0px rgba(44, 62, 80, 0.4);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 520px 1fr;
    min-height: 450px;
    transform: rotate(0deg);
}

.blog-post.featured:hover {
    transform: rotate(-0.3deg) translateY(-10px);
}

.post-image {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #ffe66d, #ff9ff3);
}

.blog-post:not(.featured) .post-image {
    height: 280px;
}

.post-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post:hover .post-img {
    transform: scale(1.05);
}

.post-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b6b;
    color: #2c3e50;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 800;
    border: 3px solid #2c3e50;
    transform: rotate(-3deg);
}

.post-content {
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 230, 109, 0.1), rgba(255, 159, 243, 0.1));
}

.post-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1rem;
    font-weight: 700;
}

.blog-post.featured h2 {
    font-size: 2.3rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 900;
    transform: rotate(-1deg);
}

.blog-post h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 800;
    transform: rotate(-0.5deg);
}

.post-excerpt {
    line-height: 1.7;
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 500;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.read-more {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    background: #4ecdc4;
    padding: 12px 25px;
    border-radius: 25px;
    border: 3px solid #2c3e50;
    transform: rotate(-1deg);
    display: inline-block;
}

.read-more:hover {
    background: #ff6b6b;
    transform: rotate(1deg) scale(1.05);
}

/* Newsletter Signup - Memphis Style */
.newsletter-signup {
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 25%, #ffe66d 50%, #ff9ff3 75%, #54a0ff 100%);
    border-radius: 30px;
    padding: 60px;
    text-align: center;
    color: #2c3e50;
    border: 8px solid #2c3e50;
    box-shadow: 15px 15px 0px rgba(44, 62, 80, 0.3);
    transform: rotate(-1deg);
    position: relative;
    overflow: hidden;
}

.newsletter-signup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.1) 40%, transparent 40%);
    background-size: 100px 100px;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.newsletter-signup h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 900;
    text-shadow: 3px 3px 0px #fff;
    position: relative;
    z-index: 2;
}

.newsletter-signup p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    border-radius: 20px;
    border: 3px solid #2c3e50;
    display: inline-block;
    position: relative;
    z-index: 2;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter-form input {
    flex: 1;
    padding: 18px 25px;
    border: 4px solid #2c3e50;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #fff;
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.5);
    background: #ffeaa7;
}

/* Contact Section - Memphis Style */
.contact {
    background: rgba(255, 230, 109, 0.3);
    border-top: 8px solid #ff6b6b;
    border-bottom: 8px solid #4ecdc4;
}

.contact-content {
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.contact-item {
    text-align: center;
    padding: 40px;
    background: #fff;
    border-radius: 25px;
    border: 5px solid #2c3e50;
    box-shadow: 10px 10px 0px rgba(44, 62, 80, 0.3);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: #4ecdc4;
    border-radius: 50%;
    border: 3px solid #2c3e50;
}

.contact-item:hover {
    transform: rotate(1deg) translateY(-5px);
    background: #ffeaa7;
}

.contact-item h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 800;
}

.contact-item a {
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #4ecdc4;
    text-decoration: underline;
}

/* Footer - Memphis Style */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #fff;
    text-align: center;
    padding: 50px 0;
    border-top: 8px solid #ff6b6b;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, #ff6b6b 10px, transparent 10px),
        radial-gradient(circle at 80% 50%, #4ecdc4 8px, transparent 8px);
    background-size: 200px 200px, 150px 150px;
    opacity: 0.2;
}

footer p {
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* Responsive Design - Memphis Style */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #ffe66d);
        width: 100%;
        text-align: center;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.2);
        border-bottom: 6px solid #2c3e50;
        z-index: 999;
        padding: 30px 0;
        gap: 20px;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-item {
        margin: 10px 0;
    }

    .nav-link {
        transform: rotate(0deg);
        margin: 0 20px;
        display: block;
        padding: 15px 30px;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.95);
        border: 3px solid #2c3e50;
        font-size: 1.2rem;
    }

    .nav-link:hover,
    .nav-link.active {
        background: #ffe66d;
        transform: scale(1.05);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: column;
        margin-left: 60px;
        justify-content: flex-start;
    }
    
    .timeline-item:nth-child(even) {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 30px;
        transform: translateX(-50%);
        top: 25px;
    }
    
    .timeline-content {
        margin: 15px 0;
        max-width: none;
    }
    
    .event-card {
        grid-template-columns: 1fr;
    }
    
    .blog-post.featured {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .skill-tags {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    section {
        padding: 80px 0;
    }
    
    section h2 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .project-card {
        padding: 30px;
    }
    
    .event-content,
    .post-content {
        padding: 30px;
    }
    
    .newsletter-signup {
        padding: 40px 20px;
    }
    
    .contact-item {
        padding: 30px;
    }
}

/* Blog Modal Styles */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.blog-modal-content {
    background: white;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
}

.blog-modal-header {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    padding: 20px;
    position: relative;
}

.blog-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.blog-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.blog-modal-body {
    padding: 40px;
    overflow-y: auto;
    max-height: calc(90vh - 80px);
}

.blog-post-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #ff6b6b;
}

.blog-post-header .post-category {
    background: #4ecdc4;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.blog-post-header .post-title {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 2.2rem;
    line-height: 1.3;
}

.blog-post-header .post-meta {
    margin-bottom: 20px;
    color: #7f8c8d;
    font-size: 0.95rem;
}

.blog-post-header .post-meta span {
    margin-right: 20px;
}

.blog-post-header .post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-post-content {
    line-height: 1.8;
    color: #34495e;
}

.blog-post-content h1,
.blog-post-content h2,
.blog-post-content h3 {
    color: #2c3e50;
    margin: 30px 0 15px 0;
    line-height: 1.3;
}

.blog-post-content h1 {
    font-size: 2rem;
    border-bottom: 3px solid #ff6b6b;
    padding-bottom: 10px;
}

.blog-post-content h2 {
    font-size: 1.6rem;
    color: #e74c3c;
}

.blog-post-content h3 {
    font-size: 1.3rem;
    color: #3498db;
}

.blog-post-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-post-content strong {
    color: #2c3e50;
    font-weight: bold;
}

.blog-post-content em {
    color: #e74c3c;
    font-style: italic;
}

.blog-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block;
}

.read-more.disabled {
    color: #bdc3c7;
    cursor: not-allowed;
}

.read-more.disabled:hover {
    color: #bdc3c7;
    transform: none;
}

@media (max-width: 768px) {
    .blog-modal {
        padding: 10px;
    }
    
    .blog-modal-body {
        padding: 20px;
    }
    
    .blog-post-header .post-title {
        font-size: 1.8rem;
    }
    
    .blog-post-content h1 {
        font-size: 1.6rem;
    }
    
    .blog-post-content h2 {
        font-size: 1.4rem;
    }
    
    .blog-post-content h3 {
        font-size: 1.2rem;
    }
}