/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #FAFAFA; /* Light Beige */
    color: #333333; /* Dark Charcoal text color */
}

/* Navbar Styles */
header {
    background-color: #007BFF; /* Bright Blue */
    color: #ffffff; /* White text */
    padding: 1rem 0;
    border-radius: 0 0 10px 10px; /* Rounded corners for bottom */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    position: sticky; /* Sticky navbar */
    top: 0; /* Sticks to the top of the viewport */
    z-index: 1000; /* Ensure it stays on top */
}

.navbar-container {
    display: flex;
    justify-content: center; /* Center the entire navbar container */
    align-items: center;
    position: relative; /* Necessary for absolute positioning of the dropdown */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center the items in the navbar */
    flex-wrap: wrap; /* Allow items to wrap */
}

nav ul li {
    margin: 0 1rem; /* Space between navbar items */
}

nav ul li a {
    color: #ffffff; /* White text color for links */
    text-decoration: none;
    font-size: 1.2rem;
    padding: 10px 15px; /* Add padding for clickable area */
    border-radius: 5px; /* Rounded corners for links */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

nav ul li a:hover {
    background-color: #00BFFF; /* Sky Blue on hover */
    color: #ffffff; /* Keep text color white on hover */
}

nav ul li a.active {
    background-color: #0056b3; /* Darker Blue for active link */
    color: #ffffff; /* White text for active link */
}

/* Hamburger Menu */
.hamburger {
    display: none; /* Hidden by default */
    font-size: 2rem;
    cursor: pointer;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide navbar links by default on mobile */
        position: absolute;
        top: 60px; /* Below the header */
        left: 0;
        width: 100%;
        background-color: #007BFF; /* Navbar background */
        flex-direction: column; /* Stack the links vertically */
        align-items: center;
        text-align: center;
    }

    .nav-links.show {
        display: flex; /* Show the navbar when hamburger is clicked */
    }

    .nav-links li {
        margin: 1rem 0; /* Add margin between links */
    }

    .hamburger {
        display: block;
        margin-left: 25px; /* Show hamburger menu on mobile */
    }

    nav ul {
        display: none; /* Hide the original navbar links */
    }
}

/* Hero Section Styles */
.hero {
    background-image: url('../images/your-graphic-background.jpg'); /* Add your graphic image */
    background-size: cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333333; /* Dark text color for hero section */
}

.hero-img {
    border-radius: 50%; /* Make it round if it's a profile picture */
    width: 25vw; /* Responsive width */
    max-width: 200px; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
    margin-bottom: 1rem;
    border: 4px solid #00BFFF; /* Sky Blue border */
}

.hero h1 {
    font-size: 4vw; /* Responsive font size */
}

.hero p {
    font-size: 2vw; /* Responsive font size */
    margin: 1rem 0;
}

.learn-more {
    display: inline-flex; /* Flex display for alignment */
    align-items: center; /* Center align text and icon */
    background-color: #00BFFF; /* Sky Blue */
    color: #ffffff; /* White text */
    padding: 10px 20px; /* Padding for the button */
    border-radius: 5px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    font-size: 1.2rem; /* Increase font size */
    margin-top: 1rem; /* Add some space on top */
    transition: background-color 0.3s ease; /* Smooth transition */
}

.learn-more i {
    margin-left: 8px; /* Space between text and icon */
    font-size: 1.2rem; /* Match font size of the button */
    transition: transform 0.3s ease; /* Smooth transition for rotation */
}

/* Hover Effect */
.learn-more:hover {
    background-color: #0056b3; /* Darker Blue on hover */
}

.learn-more:hover i {
    transform: translateY(2px); /* Slight downward movement */
}

/* Social Links Section */
.social-links {
    display: flex; /* Aligns icons in a row */
    justify-content: center; /* Centers the icons */
    margin: 1rem 0; /* Space above and below the icons */
}

.social-link {
    color: #007BFF; /* Bright Blue for icons */
    font-size: 1.5rem; /* Size of the icons */
    margin: 0 15px; /* Space between the icons */
    text-decoration: none; /* Remove underline */
    transition: color 0.3s ease; /* Smooth transition for color change */
}

.social-link:hover {
    color: #0056b3; /* Darker Blue on hover */
}

/* About, Skills, Projects, Contact Sections */
.about, .skills, .projects, .contact {
    padding: 2rem;
    background-color: #ffffff; /* White background for sections */
    margin: 2rem 0;
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

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

.profile {
    display: flex;
    align-items: center;
    margin-top: 1rem;
}

.profile-img {
    border-radius: 50%;
    width: 150px; /* Adjust size as needed */
    height: 150px; /* Adjust size as needed */
    margin-right: 1rem;
    border: 4px solid #00BFFF; /* Sky Blue border */
}

.skill-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.skill {
    text-align: center;
    margin: 5rem;
}

.skill i {
    font-size: 3rem;
    color: #007BFF; /* Bright Blue */
    margin-bottom: 0.5rem;
}

.skill p {
    margin-top: 0.5rem;
    font-size: 1.2rem;
}

/* Updated Project Section Styles */
.project-list {
    display: flex;
    flex-wrap: wrap; /* Allow cards to wrap on smaller screens */
    justify-content: center; /* Center align the project cards */
}

.project {
    background-color: #f9f9f9;
    padding: 1rem; /* Reduced padding */
    border-radius: 5px;
    width: 80%; /* Reduced width for better fit */
    max-width: 300px; /* Limit max width for larger screens */
    margin: 1rem; /* Add some margin around each card */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    text-align: center; /* Center the content */
}

.project-img {
    width: 100%; /* Make images responsive */
    height: auto;
    border-radius: 5px;
    margin-bottom: 1rem;
    aspect-ratio: 12 / 16; /* Maintain a vertical ratio */
    object-fit: cover; /* Cover the entire container without stretching */
}

/* Button Style for View Project Links */
.view-project-btn {
    display: inline-block; /* Allows padding and margins */
    background-color: #007BFF; /* Bright Blue background */
    color: #ffffff; /* White text color */
    padding: 10px 20px; /* Padding for the button */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
    font-size: 1rem; /* Font size */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transition */
    cursor: pointer; /* Pointer cursor on hover */
    margin-top: 10px; /* Add some space above the button */
}

/* Hover Effect for View Project Buttons */
.view-project-btn:hover {
    background-color: #0056b3; /* Darker Blue on hover */
    transform: translateY(-2px); /* Slight upward movement */
}

.contact {
    background-color: #ffffff; /* White background for contact */
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #007BFF; /* Bright Blue */
}

.contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Spacing between fields */
}

.form-group {
    display: flex;
    flex-direction: column; /* Stack label and input vertically */
}

.form-group label {
    margin-bottom: 0.5rem; /* Spacing between label and input */
    color: #34495E; /* Dark Charcoal */
}

.contact form input, 
.contact form textarea {
    padding: 0.75rem; /* Increased padding for better touch targets */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease; /* Smooth transition for focus */
}

.contact form input:focus, 
.contact form textarea:focus {
    border-color: #00BFFF; /* Sky Blue on focus */
    outline: none; /* Remove outline */
}

.contact form button {
    padding: 0.75rem;
    background-color: #00BFFF; /* Sky Blue */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 1rem; /* Increase button font size */
}

.contact form button:hover {
    background-color: #0056b3; /* Darker Blue on hover */
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #007BFF; /* Bright Blue */
    color: #ffffff;
    margin-top: 2rem;
}

/* Media Queries for Responsiveness */

/* Styles for mobile screens (max-width: 768px) */
@media (max-width: 768px) {
    /* Adjust hero image size */
    .hero-img {
        width: 40vw; /* Larger width on smaller screens */
    }

    .hero h1 {
        font-size: 6vw; /* Responsive font size */
    }

    .hero p {
        font-size: 4vw; /* Responsive font size */
    }

    /* Adjust button sizes */
    .learn-more {
        font-size: 1rem; /* Responsive font size */
        padding: 8px 16px; /* Adjust padding */
    }

    /* Stack profile image and description vertically */
    .profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-img {
        margin-bottom: 1rem;
    }

    /* Make the project cards take full width */
    .project {
        width: 90%;
    }

    /* Reduce social link icon size */
    .social-link {
        font-size: 1.2rem;
        margin: 0 10px;
    }
}
