/* General Styles */
html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    box-sizing: border-box; /* Ensure consistent sizing */
}

body {
    text-align: center; /* remove this if it doesn't look good */
    font-family: "roboto-flex", serif;
    margin: 0;
    padding: 0;
    background-color: #fdf5e6; /* 4. Light cream color for the background */
    color: #878585;
}

/* Header Styling */
header {
    background-color: #000000; /* 4. Black background for the header */
    color: white; /* White text */
    padding: 20px 10px;
    margin-bottom: 20px;
    text-align: center; /* change this if style doesn't work how you want */
}

.header-container {
    display: flex; /* Flexbox layout */
    justify-content: center;
    align-items: center; /* Center vertically */
    gap: 10px; /* Space between photo and text */
}

.header-pic {
    width: 250px; /* Set the size of the profile picture */
    height: 350px;
    border-radius: 15px; /* Rounded corners */
    object-fit: cover; /* Ensure the image fits the circle */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for focus */
}

.header-text h1 {
    margin: 0;
    font-size: 1.5rem; /* Large name text */
    font-weight: bold;
    color: #f1f1f1;
}

.header-text .title {
    margin: 5px 0 0;
    font-size: 1rem; /* Smaller title text */
    font-style: italic;
    color: #f1f1f1; /* Accent yellow for the title */
}

/* section {
   /* margin: 40px 0; /* Add space between sections */
   /* padding: 20px;
    max-width: 800px; /* Limit width for better readability */
   /* text-align: center; /* Center-align the content */
/* } */


/* 3. Section Headers */
h1, h2 {
    text-align: center;
    color: #020202;
    font-size: 2.2rem; /* Larger font size */
    font-weight: bold; /* Make headers bolder */
}

/* About Me Section */
#about {
    margin: 40px auto; /* Add space above and below the section */
    padding: 20px; /* Internal padding */
    max-width: 800px; /* Restrict width for readability -- change back to 1000px if it doesn't look good */
    text-align: center; /* Align text to the left */
    font-family: Arial, sans-serif; /* Set a readable font */
    color: #878585; /* Black text for readability */
    line-height: 1.6; /* Add line spacing for better readability */
}

/* About Me Image */
.about-pic {
    float: left; /* Align image to the right -- revery if you don't like positioning */
    width: 200px; /* Set a fixed width */
    height: auto; /* Maintain aspect ratio */
    margin-right: 5px; /* Add spacing around the image, change this back to 20px if changes don't look good */
    /* border-radius: 8px; /* Optional: Rounded corners */
    object-fit: cover; /* Ensure the image is cropped appropriately */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow */
}


/* Style for the Quotes Section */
.audiowide-regular {
    font-family: "Audiowide", serif;
    font-weight: 400;
    font-style: bold;
}

#Quotes {
    max-width: 800px; /* Align with other sections */
    margin: 40px auto; /* Add vertical spacing and center horizontally */
    padding: 20px; /* Ensure consistent padding */
    text-align: center; /* Center-align the text */
    font-size: 1.2rem; /* Maintain readability */
    color: #333; /* Keep consistent text color */
}


/* Style for the Blockquote */
#Quotes #cQuote {
    font-family: "Audiowide", serif;
    font-style: bold;
    color: #666; 
    font-size: 1.7rem;
    text-align: center;
}

/* 2. Projects Carousel */
.swiper {
    width: 100%; /* Full width of container */
    max-width: 800px; /* Limit max width */
    margin: 20px auto; /* Center carousel */
    overflow: hidden; /* Prevent overflow issues */
    padding: 20px 0; /* Padding for visual space */
}

.swiper-slide {
    text-align: left;
    padding: 10px; /* Reduce padding for tighter spacing */
    line-height: 1.4; /* Adjust line spacing for better readability */
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* display: flex; reassign this if webpage looks different */ 
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
}

.swiper-slide h3 {
    margin-top: 0;
    color: #444;
}

.swiper-slide ul {
    padding-left: 20px;
}

.swiper-slide ul li {
    margin-bottom: 8px;
    list-style: disc;
}

.swiper-pagination {
    margin-top: 10px;
}

.swiper-button-next,
.swiper-button-prev {
    color: transparent; /* Keep the arrows visible, adjust as needed */
    background-color: transparent; /* Ensure no background color */
    border: none; /* Remove any borders */
    font-size: 16px; /* Reduce the font size of the arrows */
    width: 30px; /* Adjust the arrow button width */
    height: 30px; /* Adjust the arrow button height */
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #555; /* Change color on hover for visibility */
}

/* Navigation Bar */
.navbar {
    background-color: #000000; /* 4. Black background for the navbar */
    color: white;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps the nav bar on top */
    width: 100%; /* Full width of the page */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow */
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    padding: 10px 15px;
    transition: background-color 0.3s;
}

.navbar ul li a:hover {
    background-color: #555;
    border-radius: 5px;
}

/* styling for the companies section */
#companies {
    margin: 40px auto; /* Add space above and below the section */
    padding: 20px; /* Internal padding */
    max-width: 800px; /* Restrict width for readability -- change back to 1000px if it doesn't look good */
    text-align: center; /* Align text to the left */
    font-family: Arial, sans-serif; /* Set a readable font */
    color: #000000; /* Black text for readability */
    line-height: 1.6; /* Add line spacing for better readability */
}

/* Container for Company Logos */
.company-logos {
    display: flex; /* Use Flexbox for alignment */
    justify-content: center; /* Center the images horizontally */
    gap: 20px; /* Add spacing between logos */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    margin: 20px auto; /* Center the container and add vertical spacing */
}

/* Individual Company Logos */
.company-logo {
    width: 150px; /* Fixed width */
    height: 150px; /* Fixed height */
    margin: 10px; /* Add spacing around each logo */
    object-fit: contain; /* Ensures the image fits without distortion */
    display: block;
}
    
/* Contact Section */
#contact {
    padding: 40px 20px;
   /* background-color: #f9f9f; /* Light gray background */
   /* border-top: 1px solid #ddd; */
   /* border-bottom: 1px solid #ddd; */
    text-align: center; /* Center-align the section header */
}

#contact h2 {
    font-size: 2rem; /* Larger font for section header */
    margin-bottom: 20px;
}

/* Flex Container for Photo and Form */
.contact-container {
    display: flex; /* Use Flexbox for horizontal alignment */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Align items vertically */
    gap: 20px; /* Add space between the photo and the form */
    max-width: 1200px; /* Limit the width */
    margin: 0 auto; /* Center the container */
    text-align: left; /* Align text inside the container */
}

/* Contact Photo */
.contact-photo {
    width: 250px; /* Set a fixed width for the image */
    height: 250px; /* Set a fixed height for the image */
    border-radius: 50%; /* Make the image circular */
    object-fit: cover; /* Maintain aspect ratio and crop if necessary */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
}

/* Form Styling */
form {
    flex: 1; /* Allow the form to take up remaining space */
    max-width: 600px; /* Limit the width of the form */
    padding: 20px;
    background-color: transparent; /* White background */
    border: 1px solid #ddd; /* Subtle border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
}

.form-group {
    margin-bottom: 15px;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

form input[type="text"],
form input[type="email"],
form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.submit-button {
    background-color: #000; /* Black background */
    color: white; /* White text */
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: #444; /* Darker on hover */
}

/* Mobile Responsiveness  and Settings to change for Mobile compatability */
@media (max-width: 768px) {
    header {
        padding: 15px 10px; /* Reduce padding */
    }

    .header-container {
        flex-direction: column; /* Stack header elements */
        text-align: center; /* Center-align text and content */
    }

    .header-pic {
        width: 80px; /* Smaller image for mobile */
        height: auto; /* Maintain aspect ratio */
        margin: 10px auto; /* Center the image with space below */
    }

    .header-text h1 {
        font-size: 1.2rem; /* Smaller font for the name */
    }

    .header-text .title {
        font-size: 0.9rem; /* Adjust title font size */
    }
    
    .navbar ul {
        flex-direction: block;
        gap: 10px;
    }

    .about-pic {
        float: none; /* Remove floating on small screens */
        display: block; /* Ensure it behaves like a block element */
        margin: 20px auto; /* Center the image */
        width: 80%; /* Resize the image for mobile */
    }

    .navbar ul li a {
        font-size: 16px;
        padding: 8px 12px;
    }

    .swiper {
        max-width: 100%;
        padding: 10px 0;
    }

    .swiper-slide {
        padding: 15px;
        font-size: 14px;
    }

      #contact {
        padding: 20px;
        font-size: 14px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none; /* Hide arrows on mobile devices */
    }

.contact-container {
    flex-direction: column; /* Stack photo and form vertically */
    align-items: center; /* Center-align content for smaller screens */
    width: 100%;
    
}


    .contact-photo {
        margin-bottom: 10px; /* Add space below the photo */
    }

    form {
        width: 90%; /* Full width on smaller screens */
        max-width: 600px;
        padding: 10px;
    }
}
