/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-image: url("1080 White.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Navigation */
nav {
    background-color: #2c3e50;
    padding: 1rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4CAF50;
    transition: width 0.3s;
}

nav ul li a:hover {
    color: #4CAF50;
}

nav ul li a:hover::after {
    width: 100%;
}

/* Nav logo on far left */
.nav-logo {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    height: 56px;
    max-height: 56px;
    width: auto;
    max-width: 30vw;
    display: block;
    object-fit: contain;
    z-index: 2;
    pointer-events: none; /* don't block link clicks under the image */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    padding: 0 10%;
    padding-top: 80px;
    background-color: transparent;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    text-align: left;
    background-color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.hero h2 {
    font-size: 1.5rem;
    color: #7f8c8d;
    font-weight: 400;
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: left;
    padding-left: 0;
    margin-left: 0;
}

.profile-picture {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-picture img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #2c3e50;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Hover Effect */
.profile-picture::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

.profile-picture:hover::before {
    opacity: 0.7;
    transform: scale(1.05);
    filter: blur(10px);
}

.profile-picture:hover img {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
    border-color: #4CAF50;
}

/* Sections */
section {
    padding: 5rem 10%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: transparent;
    margin: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-content {
    width: 100%;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #2c3e50;
    text-align: center;
}

/* About Section */
#about {
    background-color: transparent;
}

.about-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Skills Section */
#skills {
    background-color: transparent;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;

}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hobbies Section */
#hobbies {
    background-color: transparent;
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.hobby {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    transition: transform 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hobby:hover {
    transform: translateY(-5px);
}

.hobby i {
    font-size: 2.5rem;
    color: #3498db;
    margin-bottom: 1rem;
}

/* Social Section */

/* Social Section */
#social {
    text-align: center;
    padding: 5rem 10%;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-icons a {
    color: #2c3e50;
    transition: transform 0.3s, color 0.3s;
    text-decoration: none;
}

.social-icons a:hover {
    transform: translateY(-5px);
    color: #3498db;
}

.social-icons i {
    font-size: 3.5rem;
}

#social h6 {
    margin-top: 3rem;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-container {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-info {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2c3e50;
}

.contact-info i {
    color: #2c3e50;
    width: 20px;
}

.contact-form {
    flex: 2;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2c3e50;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.submit-btn {
    background-color: #2c3e50;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #2c3e50;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    color: #2c3e50;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4CAF50;
}

.copyright {
    text-align: center;
    margin-top: 2rem;
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 1rem;
}

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

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #4CAF50;
}

.copyright {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #2c3e50;
    padding: 0 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-logo {
        height: 40px;
        max-height: 40px;
        max-width: 40vw;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
    }
    /* Keep navbar single-line and scrollable on small screens */
    nav {
        padding: 0.5rem 3%;
    }
    nav ul {
        flex-direction: row;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
    }
    nav ul::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }
    nav ul li {
        margin: 0 1rem;
        flex: 0 0 auto;
    }
    nav ul li a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        padding-right: 0;
        margin-top: 2rem;
    }

    .profile-picture {
        margin-bottom: 2rem;
    }

    .profile-picture img {
        width: 250px;
        height: 250px;
    }

    .social-links a {
        font-size: 1.2rem;
        margin: 0 8px;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}