/* Reset global margins and padding */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Reset the body and HTML */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
}

/* Header (Top Navigation Bar) styling */
header {
    background-color: rgb(255, 255, 255);  /* Black background */
    padding: 20px;            /* Padding to make the nav bar larger */
    display: flex;
    justify-content: space-between;  /* Space between logo and links */
    align-items: center;
    position: fixed;           /* Stays fixed at the top while scrolling */
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for definition */

}

/* Make the nav container a flexbox */
nav {
    display: flex;
    justify-content: space-between;  /* Space between logo and links */
    align-items: center;
    width: 100%;
}

/* Align the logo and business name on the left */
.logo-container {
    display: flex;
    align-items: center;
}

/* Styling the logo and business name */
.logo {
    width: 35px;
    height: auto;
    margin-left: 0px;
}

.business-name {
    font-size: 24px;
    color: white;
    font-weight: bold;
    padding-right: 20px;  /* Add buffer to the right of the business name */
    padding-left: 20px;  /* Add buffer to the right of the business name */
}

/* Align navigation links to the right */
.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 0px;            /* Space between the links */
    justify-content: flex-end;  /* Align to the right */
    flex-grow: 1;  /* Push links to the right */
    padding-right: 40px;  /* Add buffer on the right */
}

.nav-links li {
    list-style: none;
}

.nav-links li a {
    color: white;              /* White text */
    text-decoration: none;      /* Remove underline by default */
    font-size: 26px;
    padding: 10px 20px;         /* Space around each link to make them look like buttons */
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.nav-links li a:hover {
    color: #ADD8E6;            /* Light blue color on hover */
    border-bottom: 2px solid #ADD8E6; /* Underline on hover */
}

.resume-button {
    text-decoration: none;      /* Remove underline by default */
    font-size: 18px;
    padding: 10px 20px;         /* Space around each button */
    border: 2px solid white;    /* White border */
    border-radius: 5px;         /* Rounded corners */
    background-color: transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.1s ease;
}

.resume-button:hover {
    background-color: #5597bd;  /* Light blue background on hover */
    color: rgb(255, 255, 255);       /* Change text color on hover */
    border-color: #ffffff;      /* Light blue border on hover */
}

/* Section styling (full screen height per section) */
.section {
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;  /* Ensure content isn't hidden behind the fixed nav bar */
}

/* Adjust section background colors */
.landing {
    background-color: #347adc;  /* Dark blue for landing page */
    color: white;
}

/* Additional styles for text inside the sections */
.intro-text {
    max-width: 600px;
    text-align: center;
}

h1, h2 {
    font-size: 36px;
}

p {
    font-size: 18px;
}

/* Smooth scrolling for transitions */
html {
    scroll-behavior: smooth;
}

/* Home Section */
.home-container {
    display: flex;              /* Split into two columns */
    justify-content: space-between;
    align-items: center;        /* Vertically center content */
    padding: 40px;
    flex-wrap: wrap;            /* Ensure it wraps on smaller screens */
}

.text-section {
    flex: 1;                    /* Take up equal space */
    margin-right: 20px;         /* Add space between text and image */
}

.image-container {
    flex: 1;                    /* Take up equal space */
    text-align: center;
}

.image-container img {
    width: 100%;                /* Ensure the image takes up space properly */
    max-width: 350px;   
    height: auto;
    border-radius: 50%;         /* Circular image */
}

/* Updated Contact Me Section Styling */
.contact-me-section {
    text-align: center;
    margin-top: 100px;
}

/* Ensure that the icons are centered within a constrained width */
.social-links-wrapper {
    display: inline-block;
    padding: 5px 20px; /* Buffer on the sides */
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: shadow effect */
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.social-icon {
    width: 40px !important;      /* Force icon size */
    height: 40px !important;     /* Force icon size */
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);       /* Hover effect */
}

/* Responsive Design */
@media (max-width: 768px) {
    .home-container {
        flex-direction: column;  /* Stack the text and image vertically on small screens */
    }
    .text-section {
        margin-right: 0;
        text-align: center;
    }
}
