/* ===================================
   Global Styles & Variables
   =================================== */

:root {
    --primary-color: #A2482E;
    --secondary-color: #141311;
    --accent-color: #FF6B35;
    --light-color: #B7B7B6;
    --dark-color: #0F0E0B;
    --success-color: #4CAF50;
    --error-color: #f44336;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    background-color: var(--secondary-color);
    color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Typography
   =================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: #FFFFFF;
}

h2 {
    font-size: 2.2rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
}

p {
    font-size: 1rem;
    color: var(--light-color);
    margin-bottom: 1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #FF8555;
    text-decoration: underline;
}

/* ===================================
   Header & Navigation
   =================================== */

header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1917 100%);
    border-bottom: 2px solid var(--primary-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-hero {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-bottom: 1px solid rgba(162, 72, 46, 0.3);
}

.header-content h1 {
    margin-bottom: 0.5rem;
    animation: slideInDown 0.6s ease-out;
}

.header-subtitle {
    font-size: 1.2rem;
    color: var(--accent-color);
    animation: slideInUp 0.6s ease-out;
}

/* Navbar Styles */
.navbar {
    background-color: var(--secondary-color);
    padding: 15px 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    transition: var(--transition);
}

.navbar-brand:hover {
    color: #FF8555;
    transform: scale(1.05);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--light-color);
    transition: var(--transition);
    padding-bottom: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-color);
}

.nav-link.active::after,
.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), transparent);
    animation: slideInLeft 0.3s ease-out;
}

.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.navbar-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--accent-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   Main Content
   =================================== */

.main-content {
    min-height: calc(100vh - 300px);
    padding: 40px 0;
}

/* ===================================
   Hero Section
   =================================== */

.hero-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1917 50%, var(--secondary-color) 100%);
}

.hero-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--light-color);
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInRight 0.8s ease-out;
}

.floating-box {
    width: 300px;
    height: 300px;
    position: relative;
}

.box {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.box::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #FF8555);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
}

.btn-accent {
    background: var(--primary-color);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-color);
    text-decoration: none;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
}

/* ===================================
   Featured Section
   =================================== */

.featured-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1917 0%, var(--secondary-color) 100%);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.featured-project {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(162, 72, 46, 0.2);
}

.featured-image {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.featured-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
}

.featured-image:hover img {
    transform: scale(1.05);
}

.featured-content h2 {
    margin-bottom: 0.5rem;
}

.featured-content .subtitle {
    font-size: 0.8em;
    color: var(--light-color);
    display: block;
}

.grade-display {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 107, 53, 0.1);
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.grade-label {
    font-weight: 600;
    color: #FFFFFF;
}

.grade-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
}

.detail {
    color: var(--light-color);
}

.featured-cta {
    margin-top: 20px;
}

/* ===================================
   Quicklinks Section
   =================================== */

.quicklinks-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.quicklink-card {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(162, 72, 46, 0.2);
    color: inherit;
}

.quicklink-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(255, 107, 53, 0.1) 100%);
    color: var(--accent-color);
}

.quicklink-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.quicklink-card h3 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.quicklink-card p {
    font-size: 0.9rem;
    color: var(--light-color);
}

/* ===================================
   Projects Section
   =================================== */

.projects-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1917 0%, var(--secondary-color) 100%);
}

.projects-header {
    text-align: center;
    margin-bottom: 60px;
}

.projects-header h2 {
    margin-bottom: 20px;
}

.filter-section {
    text-align: center;
    margin-bottom: 60px;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.filter-btn {
    padding: 10px 25px;
    border-radius: 50px;
    background: transparent;
    color: var(--light-color);
    border: 2px solid var(--light-color);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(162, 72, 46, 0.2);
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1) rotate(2deg);
}

.project-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    color: #FFFFFF;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.project-title a {
    color: inherit;
}

.project-title a:hover {
    color: var(--accent-color);
}

.project-subtitle {
    color: var(--light-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-description {
    color: var(--light-color);
    margin-bottom: 15px;
    flex: 1;
}

.project-meta {
    color: var(--light-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.grade-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    margin: 10px 0;
}

.project-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 15px 0;
}

.tech-badge {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-highlight {
    color: var(--light-color);
    font-size: 0.9rem;
    font-style: italic;
    margin: 10px 0;
}

.project-date {
    color: var(--light-color);
    font-size: 0.85rem;
    margin-top: auto;
}

.no-projects {
    text-align: center;
    padding: 60px 20px;
    color: var(--light-color);
}

/* ===================================
   Games Section
   =================================== */

.games-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.game-card {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    color: inherit;
    border: 1px solid rgba(162, 72, 46, 0.3);
}

.game-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.3) 0%, rgba(255, 107, 53, 0.2) 100%);
}

.game-card h3 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.game-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1917 0%, var(--secondary-color) 100%);
}

.about-intro {
    text-align: center;
    margin-bottom: 60px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.about-box {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
}

.about-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.about-box h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* ===================================
   Skills Section
   =================================== */

.skills-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.skill-category {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(162, 72, 46, 0.2);
}

.skill-category h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: rgba(255, 107, 53, 0.2);
    color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.skill-tag:hover {
    background: rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

/* ===================================
   Timeline Section
   =================================== */

.timeline-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1917 0%, var(--secondary-color) 100%);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.timeline-item {
    margin-bottom: 50px;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    top: 0;
    z-index: 2;
    box-shadow: 0 0 0 4px var(--primary-color);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 20px 30px;
    border-radius: 10px;
    border: 1px solid rgba(162, 72, 46, 0.2);
}

.timeline-content h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    color: #FFFFFF;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--light-color);
    font-size: 0.9rem;
}

/* ===================================
   Interests Section
   =================================== */

.interests-section {
    padding: 80px 20px;
    background: var(--secondary-color);
}

.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.interest-card {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(162, 72, 46, 0.2);
}

.interest-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: var(--shadow-lg);
}

.interest-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.interest-card h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1917 0%, var(--secondary-color) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: linear-gradient(135deg, rgba(162, 72, 46, 0.1) 0%, rgba(255, 107, 53, 0.1) 100%);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid rgba(162, 72, 46, 0.2);
}

.contact-form-wrapper h2,
.contact-info-wrapper h2 {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #FFFFFF;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: #FFFFFF;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.success-message,
.error-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.success-message {
    background: rgba(76, 175, 80, 0.2);
    border-left: 4px solid var(--success-color);
    color: #4CAF50;
}

.error-message {
    background: rgba(244, 67, 54, 0.2);
    border-left: 4px solid var(--error-color);
    color: #f44336;
}

.contact-info {
    margin-bottom: 30px;
}

.contact-info h3 {
    color: var(--accent-color);
    margin-bottom: 10px;
}

.contact-info p {
    color: var(--light-color);
}

.social-list {
    list-style: none;
}

.social-list li {
    margin-bottom: 12px;
}

.social-list a {
    color: var(--accent-color);
    transition: var(--transition);
}

.social-list a:hover {
    color: #FF8555;
    transform: translateX(5px);
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* ===================================
   Footer
   =================================== */

footer {
    background-color: var(--dark-color);
    border-top: 2px solid var(--primary-color);
    padding: 60px 20px 30px;
    margin-top: 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: var(--light-color);
    font-size: 0.9rem;
}

.social-links {
    list-style: none;
}

.social-links li {
    margin-bottom: 10px;
}

.social-links a {
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(162, 72, 46, 0.3);
    padding-top: 30px;
    text-align: center;
    color: var(--light-color);
    font-size: 0.9rem;
}

/* ===================================
   Animations
   =================================== */

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-section .container,
    .featured-project {
        grid-template-columns: 1fr;
    }
    
    .hero-visual {
        margin-top: 40px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        text-align: left;
    }
    
    .timeline-marker {
        left: 14px;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .navbar-menu {
        gap: 15px;
    }
    
    .navbar-toggle {
        display: flex;
    }
    
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .floating-box {
        width: 200px;
        height: 200px;
    }
    
    .featured-project,
    .about-content,
    .skills-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .quicklinks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .navbar-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .navbar-menu {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .quicklinks-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
