/* General Styles */
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif; /* Set a consistent font family */
    color: #333;
    background-color: #fff428; /* Bright yellow background */
}

h1, h2, h3 {
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero {
    text-align: center;
    background-color: white;
    background-size: cover;
    background-position: center;
    color: #000000;
    padding: 80px 5%;
}

.hero h2 {
    font-size: clamp(28px, 5vw, 48px); /* Dynamically resizes */
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(16px, 3vw, 24px); /* Adjusts to screen width */
    margin-bottom: 30px;
}

.cta-button {
    background-color: #E64A19; /* Cookie orange */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    font-size: clamp(14px, 2vw, 18px); /* Scales button text */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: #FF5722;
    transform: scale(1.05); /* Adds hover interaction */
}

/* About Section */
.about {
    padding: 60px 5%;
    background-color: #FFEB3B; /* Bright yellow for energy */
}

.about-container {
    display: flex;
    flex-wrap: wrap; /* Ensure proper wrapping on smaller screens */
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    flex: 1 1 400px; /* Flexible size for text container */
    padding: 20px;
}

.about-content h2 {
    font-size: clamp(24px, 5vw, 36px); /* Dynamic resizing */
    margin-bottom: 20px;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-content p {
    font-size: clamp(14px, 2.5vw, 18px); /* Adapts to screen size */
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

.about-image {
    flex: 1 1 300px; /* Flexible image size */
    text-align: center;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
}

/* Products Section */
.products {
    padding: 40px 5%;
    text-align: center;
    background-color: white;
}

.product-cards {
    display: flex;
    flex-wrap: wrap; /* Ensures proper wrapping for smaller screens */
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.product-card {
    background-color: #ffeb3be4;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    flex: 1 1 250px; /* Flexible width for resizing */
    text-align: center;
    transition: transform 0.3s;
}

.product-card img {
    width: 100px; /* Consistent logo size */
    margin-bottom: 15px;
}

.product-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Locations Section */
.locations {
    padding: 40px 5%;
    background-color: #FFEB3B;
    text-align: center;
}

.locations h2 {
    font-size: clamp(20px, 4vw, 28px); /* Dynamic resizing */
    color: #333;
    margin-bottom: 10px;
}

.locations p {
    font-size: clamp(14px, 3vw, 16px); /* Scales with screen width */
    color: #555;
    margin-bottom: 30px;
}

.location-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.location-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    flex: 1 1 200px; /* Flexible width for resizing */
    text-align: center;
    transition: transform 0.3s;
}

.location-card img {
    width: 80%;
    max-width: 120px;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.location-card h3 {
    font-size: clamp(14px, 2vw, 16px); /* Responsive text */
    color: #333;
    margin: 0;
}

.location-card:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column; /* Stack about content */
        font-family: Arial, sans-serif;
    }

    .product-cards, .location-cards {
        flex-direction: column; /* Stack product and location cards */
        font-family: Arial, sans-serif;
    }

    .cta-button {
        font-size: clamp(12px, 3vw, 16px); /* Adjust button size */
        font-family: Arial, sans-serif;
    }
}