
body {
    font-family: 'Avenir Next', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.logo img {
    max-height: 70px; 
    max-width: 100%; 
    height: auto; 
    margin-right: 1em;
}

header {
    background-color: #ffffff;
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #00aaff;
}

.services-section {
    padding: 14rem 2rem;
    text-align: center;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 1rem; /* Space between columns */
    grid-row-gap: 1rem;   /* Space between rows */
    justify-items: center;
}

.service-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;  /* Size of the button */
    height: 250px; /* Size of the button */
    background-color: #00aaff; /* Background color */
    border-radius: 10px; /* Optional: rounded corners */
    overflow: hidden; /* Ensure image doesn’t overflow the container */
    position: relative; /* Keeps content within bounds */
}

.service-button img {
    width: 100%;    /* Make the image width 100% of the container */
    height: 100%;   /* Make the image height 100% of the container */
    object-fit: cover;  /* Cover the box without distortion, might crop */
    object-position: center; /* Ensure the image stays centered */
}

.service-button:hover {
    background-color: #0088cc; /* Color change on hover */
}



footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .services-container {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .services-container {
        grid-template-columns: 1fr;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .line {
    width: 5px;
    height: 3px;
    background-color: white;
    margin: 4px;
}

/* Main section */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: rgb(255, 255, 255);
    margin-top: -150px;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%; 
    background: url('metalracks.png') no-repeat center center/cover;
    z-index: -1; 
}

.hero-content h1 {
    font-size: 4rem; /* Larger font size for impact */
    font-weight: bold; /* Stronger, bolder text */
    letter-spacing: 2px; /* Add slight spacing for a clean look */
    color: white; /* White text for good contrast */
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.7); /* Bold, noticeable shadow */
    margin-bottom: 1.5rem; /* Space below the header */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

/* Subheading */
.hero-content p {
    font-size: 1.8rem; /* Larger font for subheading */
    font-weight: 400; /* Normal weight for contrast with the main title */
    color: white; /* Keep the color consistent */
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6); /* Subtle shadow for the subheading */
    margin-bottom: 2rem;
}

/* Add hover effect to give a little animation */
.hero-content h1:hover {
    transform: translateY(-5px); /* Slight movement upward on hover */
    text-shadow: 6px 6px 10px rgba(0, 0, 0, 0.9); /* More intense shadow on hover */
}




/* Adjustments for Small Screens */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem; /* Adjust for mobile */
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 1.2rem; /* Adjust for mobile */
    }
}


/* Shop button */

.hero-btn {
    text-decoration: none;
    color: white;
    font-size: 1.5rem; /* Slightly reduced size for a sleeker look */
    background-color: #007bff; /* A modern flat blue color */
    padding: 1rem 2.5rem; /* Padding for a clean look */
    border-radius: 50px; /* Rounded corners for a modern touch */
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease; /* Smooth transition for hover effects */
    display: inline-block;
    text-align: center;
}

/* Hover Effect */
.hero-btn:hover {
    background-color: #0056b3; /* Darken the button on hover */
    box-shadow: 0px 15px 20px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
    transform: translateY(-3px); /* Slight lift effect */
}

/* Focus Effect */
.hero-btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.4);
}

/* Active Effect */
.hero-btn:active {
    transform: translateY(0); 
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.1); 
}

/* Info Section Styling */
.info-section {
    padding: 4rem 2rem;
    background-color: #ffffff;
    margin-top: -250px; /* Remove top margin */
    padding-top: 0; /* Ensure no padding at the top */
}
.info-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px; /* Reduced max-width for better centering */
    margin: 0 auto;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.info-text {
    flex: 1;
    padding-right: 2rem;
}

.info-text h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.info-text p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

/* Styling for the info boxes */
.info-boxes {
    display: flex;
    gap: 1.5rem; /* Increased gap between boxes */
    flex: 1;
    justify-content: flex-start;
}

.info-box {
    position: relative; /* Required for absolute positioning of the image */
    padding: 1.5rem;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    border-radius: 0px;
    overflow: hidden; /* Ensures the image doesn’t overflow the box */
    height: 200px; /* Adjust height as needed */
    display: flex;
    align-items: center; /* Centers text vertically */
    justify-content: center; /* Centers text horizontally */
}

/* Styling for Images */
.box-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire box */
    opacity: 0.5; /* Semi-transparent image to allow text visibility */
    z-index: 1; /* Places the image below the text */
}

/* Styling for Text */
.info-box p {
    position: relative;
    z-index: 2; /* Ensures the text is above the image */
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Different background colors for each box */
.box1 {
    background-color: #ff5722; /* Orange */
}

.box2 {
    background-color: #4caf50; /* Green */
}

.box3 {
    background-color: #ff9800; /* Yellow */
}

/* Responsive behavior */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column;
    }

    .info-boxes {
        flex-direction: column; /* Stack boxes vertically on mobile */
        gap: 1rem;
    }
}


.about-me-section {
    padding: 6rem 2rem;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
}

.about-me-section h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center; /* Center the text within the container */
}

.about-item {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the content */
    margin-bottom: 2rem;
    text-align: left;
    gap: 2rem; /* Add some spacing between text and image */
}

.about-item reverse {
    flex-direction: row-reverse;
}

.about-paragraph {
    flex: 1;
    padding: 1rem;
}

.about-image {
    flex: 1;
    padding: .2rem;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.about-paragraph p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #000000;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .about-item {
        flex-direction: column;
    }

    .about-item.reverse {
        flex-direction: column;
    }

    .about-paragraph, .about-image {
        padding: 0;
    }

    .about-image {
        margin-bottom: 1rem;
    }
}

/* Form section styles */
.form-section {
    padding: 14rem 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.form-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    width: 100%;
}

.form-content, .text-content {
    flex: 1;
    padding: 1rem;
}

.form-content {
    max-width: 60%;
}

.text-content {
    max-width: 35%;
}

.form-content h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

form label {
    text-align: left;
    font-size: 1rem;
}

form input, form textarea {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
}

form button {
    padding: 1rem;
    background-color: #00aaff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #0088cc;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .nav-links li {
        margin: 0 1rem;
    }

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

    .form-content, .text-content {
        max-width: 100%;
    }
}


/* Section styles */
section {
    padding: 4rem 2rem;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

section p {
    font-size: 1rem;
    color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer styles */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 1rem 0;
}

.container {
    width: 90%; /* Use percentage for fluid width */
    max-width: 1200px; /* Set a maximum width */
    margin: 0 auto; /* Center container */
}

@media (max-width: 768px) {
    .nav-links {
        flex-direction: column; /* Stack navigation links vertically */
    }

    .hero-content h1 {
        font-size: 2rem; /* Smaller font size on small screens */
    }

    .info-boxes {
        flex-direction: column; /* Stack boxes vertically on small screens */
        gap: 1rem;
    }
}

/* For screens smaller than 480px (mobile phones) */
@media (max-width: 480px) {
    .hero-content p {
        font-size: 1rem; /* Adjust text size for mobile screens */
    }

    .info-boxes {
        gap: 0.5rem; /* Reduce space between boxes */
    }
}

img {
    max-width: 100%; /* Scale image with container width */
    height: auto; /* Maintain aspect ratio */
}

body {
    font-size: 1rem; /* Base font size */
}

h1 {
    font-size: 2rem; /* Scaled font size for headings */
}

/* Adjust font size based on screen size */
@media (max-width: 768px) {
    body {
        font-size: 0.9rem; /* Smaller base font size for tablets */
    }
}

.container {
    display: flex;
    flex-wrap: wrap; /* Wrap items to new lines */
}

.item {
    flex: 1 1 300px; /* Flex-grow, flex-shrink, and base width */
    margin: 1rem;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 1rem; /* Space between grid items */
}

.nav-links {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping */
    gap: 1rem;
}

.hamburger {
    display: none; /* Hide hamburger menu by default */
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Hide navigation links on small screens */
    }

    .hamburger {
        display: block; /* Show hamburger menu on small screens */
    }
}