/* Base styles */
body {
    background-color: lightblue;
    background-image: url("../pictures/milton-factory.jpg");
    background-size: cover;
    background-attachment: fixed;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header styles */
.header-main {
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 224, 0.95);
    display: flex;
    justify-content: left;
    line-height: 60px;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-main-logo {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-main-logo img {
    height: 40px;
    padding: 10px;
    transition: transform 0.3s ease;
    display: block;
}

.header-main-logo img:hover {
    transform: scale(1.1);
}

.header-main-nav {
    width: fit-content;
    height: 100%;
}

.header-main-nav ul li {
    display: inline;
    float: left;
}

.header-main-nav ul li a {
    padding: 0 20px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s ease;
}

.header-main-nav ul li a:hover {
    color: #007bff;
}

.header-main-nav ul li a.active {
    color: #007bff;
}

/* Main content */
.main-content {
    padding-top: 60px; /* Account for fixed header */
}

/* Hero section */
.hero {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #333;
}

.hero p {
    font-size: 1.2em;
    color: #666;
}

/* About section */
.about-section {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px 0;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-section h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #333;
    text-align: center;
}

.about-text {
    font-size: 1.1em;
    color: #444;
}

.about-list {
    margin: 20px 0;
    padding-left: 20px;
}

.about-list li {
    margin: 10px 0;
}

/* Featured content */
.featured-content {
    padding: 60px 0;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.card {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card h2 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
}

.card p {
    margin-bottom: 20px;
    color: #666;
}

.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.button:hover {
    background-color: #0056b3;
}

/* Footer */
footer {
    background-color: rgba(255, 255, 224, 0.95);
    padding: 20px 0;
    text-align: center;
    color: #666;
}