/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    background: #000;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Jokerman', cursive;
    font-size: 3rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.2);
}

.desktop-nav {
    display: flex;
    gap: 2.5rem; /* Increased gap */
}

.desktop-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem; /* Larger nav items */
    transition: all 0.3s;
}

.desktop-nav a:hover {
    transform: scale(1.2);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.burger-menu .line {
    width: 30px;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

/* Mobile Navigation */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    gap: 2.5rem; /* Increased gap */
    padding: 130px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem; /* Larger mobile nav items */
    padding: 0.5rem 0;
}

/* Hero Section */
.hero {
    padding: 160px 2rem 80px; /* Increased padding */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem; /* Increased gap */
    align-items: center;
    text-align: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* More space between phrases */
}

.hero-left, .hero-right {
    font-family: 'Abril Fatface', cursive;
    font-size: 3rem; /* Larger text */
    margin: 0;
    line-height: 1.3;
    transition: transform 0.3s;
}

.hero-image {
    width: 100%;
    max-width: 380px; /* Slightly larger image */
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin: 0 auto; /* Better centering */
}

/* Sections */
.section {
    padding: 5rem 2rem; /* More padding */
    scroll-margin-top: 130px; /* More space below header */
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-family: 'Abril Fatface', cursive;
    font-size: 2.8rem; /* Larger section titles */
    margin-bottom: 3rem;
    text-align: center;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; /* Increased gap */
    align-items: start;
}

.about-text p {
    margin-bottom: 2rem; /* More spacing between paragraphs */
    font-size: 1.1rem;
    line-height: 1.7;
}

.about-image {
    width: 100%;
    max-width: 280px; /* Smaller than main image */
    border-radius: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin: 0 auto;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Larger cards */
    gap: 2.5rem; /* Increased gap */
    padding: 0 1.5rem;
}

.project-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem; /* More padding */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-8px); /* Larger hover effect */
}

.project-card img {
    width: 100%;
    height: 220px; /* Taller images */
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Larger items */
    gap: 2.5rem; /* Increased gap */
    padding: 0 1.5rem;
}

.skill-item {
    text-align: center;
    padding: 1.5rem; /* More padding */
}

.skill-item img {
    width: 90px; /* Larger icons */
    height: 90px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: #000;
    color: white;
    padding: 3rem 2rem; /* More padding */
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem; /* Increased gap */
    margin-bottom: 1.5rem;
}

.social-links img {
    width: 45px; /* Larger icons */
    height: 45px;
    transition: transform 0.3s;
}

.social-links img[alt="Email"] {
    filter: grayscale(80%) brightness(0.8);
}

.social-links img:hover {
    transform: scale(1.25); /* Larger hover effect */
}

.cv-button {
    background: white;
    color: #000;
    padding: 0.75rem 1.5rem; /* Larger button */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}

.cv-button:hover {
    background: #ccc; /* Darker gray on hover */
    transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        order: -1;
        gap: 2rem;
        margin-bottom: 3rem;
    }
    
    .hero-image {
        max-width: 340px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .hero {
        padding: 120px 2rem 60px; /* Adjusted for mobile */
    }
    
    .hero-left, .hero-right {
        font-size: 2.2rem; /* Larger mobile text */
    }
    
    .section h2 {
        font-size: 2.4rem; /* Larger mobile titles */
    }
}