/* Base styles for Body and Beauty Shop */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #222;
    background-color: #fdfdfd;
}

a {
    color: #0077cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.site-title {
    font-size: 1.8rem;
    margin: 0;
    padding: 15px 0;
}

.nav {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: flex-end;
    font-size: 0.95rem;
}

.nav a {
    padding: 10px 0;
    color: #444;
    transition: color 0.2s ease-in-out;
}

.nav a:hover {
    color: #0077cc;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .overlay {
    background: rgba(0,0,0,0.45);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 20px;
}

.btn {
    display: inline-block;
    background: #0077cc;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.2s ease-in-out;
}

.btn:hover {
    background: #005fa3;
}

/* Category Section */
.categories {
    padding: 50px 0;
    background: #f7f8f9;
}

.categories h2 {
    text-align: center;
    margin-bottom: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.2s ease-in-out;
}

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

.category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.category-card h3 {
    font-size: 1.3rem;
    margin: 15px;
}

.category-card p {
    margin: 0 15px 20px;
    color: #555;
    font-size: 0.95rem;
}

/* Product Sections */
.product-section {
    padding: 60px 0;
}

.product-section.alt {
    background: #f7f8f9;
}

.product-section h2 {
    margin-bottom: 10px;
}

.product-section p {
    margin-bottom: 30px;
    color: #555;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #333;
}

.product-card p {
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 10px;
}

.product-card ul {
    padding-left: 20px;
    margin: 0 0 15px;
    list-style-type: disc;
    font-size: 0.9rem;
    color: #444;
}

.product-card li {
    margin-bottom: 6px;
}

.product-card .btn {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.95rem;
}

/* Footer */
footer {
    background: #0d0d0d;
    color: #d8d8d8;
    padding: 30px 0;
}

footer p {
    margin: 0 0 10px;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #9fc6f3;
    font-size: 0.9rem;
}

.footer-nav a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }
    .nav {
        justify-content: center;
        gap: 15px;
    }
}