/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #000;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Ensures content takes up at least the full viewport height */
}

/* Header Styles */
header {
    background: #000;
    color: #fff;
    width: 100%;
    padding: 10px 20px;
    box-sizing: border-box;
    display: flex;
    justify-content: center; /* Center content horizontally */
    align-items: center; /* Center content vertically */
    flex-direction: column; /* Stack logo and nav vertically */
}

/* Logo styling */
header .logo img {
    height: 300px; /* Increase the size of the logo */
    justify-content: center;
    margin-bottom: 10px; /* Add some space below the logo */
}

/* Navigation list styling */
header ul {
    list-style: none;
    display: flex;
    justify-content: center; /* Center nav items horizontally */
    margin: 0;
    padding: 0;
}

/* Navigation list items */
header ul li {
    margin: 0 10px;
}

/* Navigation links */
header ul li a {
    color: #fff;
    text-decoration: none;
}

/* Main Content Styles */
main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    text-align: center; /* Center text within content */
    flex-grow: 1; /* Allows main content to grow and take up remaining space */
}

/* Hero Section Styles */
.hero {
    background: url('../images/hero.jpg') no-repeat center center/cover;
    color: #fff;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    margin-bottom: 50px;
}

.cta-button {
    background: #e74c3c;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 100px;
}

/* Section Styles */
section {
    padding: 40px 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Center content vertically */
    text-align: center; /* Center text within section */
}

.about-preview, .services-preview, .testimonials, .contact-preview {
    padding: 20px;
}

.about-preview a, .services-preview a, .contact-preview a {
    display: inline-block;
    margin-top: 10px;
    color: #e74c3c;
    text-decoration: none;
}

/* Services Preview Styles */
.services-preview {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.service-card {
    text-align: center;
    width: 30%;
    margin: 10px;
}

.service-card img {
    width: 100%;
    border-radius: 10px;
}

.service-card h3 {
    margin: 10px 0;
}

/* Testimonials Section Styles */
.testimonials {
    background: #111;
    padding: 20px;
}

blockquote {
    margin: 20px auto;
    font-style: italic;
    max-width: 600px;
}

/* Contact Form Styles */
.contact form {
    display: flex;
    flex-direction: column;
    max-width: 600px;
    margin: auto;
}

.contact form label {
    margin: 10px 0 5px;
}

.contact form input, .contact form textarea {
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #333;
    color: #fff;
}

.contact form button {
    padding: 10px 20px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Footer Styles */
footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 10px;
    width: 100%;
}
