
@font-face {
    font-family: FleurDeLeah;
    src: url('../fonts/FleurDeLeah-Regular.ttf');
}

:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #000000;
    --text-color: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color);
}

header {
    background-color: var(--secondary-color);
    padding: 10px 20px; /* Added horizontal padding */
    border-bottom: 1px solid var(--accent-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0;
    width: 100%;
}

/* Added new logo styles */
.logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.logo img {
    width: 100%; /* Make logo fill its container */
    max-width: 150px; /* Optional: prevent it from becoming too large */
    height: auto; /* Maintain aspect ratio */
}
/* End of added logo styles */

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

.categories {
    padding: 2rem 1rem;
}

.category-grid {
    display: grid; /* Changed from flex */
    grid-template-columns: repeat(2, 1fr); /* Two columns for larger screens */
    gap: 2rem;
    padding: 2rem;
    max-width: 1000px; /* Adjusted for two columns */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .category-grid {
        grid-template-columns: 1fr; /* Single column for smaller screens */
        max-width: 600px; /* Max width for mobile */
    }
}

.category-card {
    background: var(--secondary-color);
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

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

section.categories .category-grid .category-card h3 {
    padding: 1rem;
    text-align: center;
    color: #FFFFFF; /* Direct white */
    font-size: 1.2rem;
    background-color: #000000; /* Direct black */
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
    padding: 8px 16px;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: var(--accent-color);
    color: var(--secondary-color);
}

.hero {
    background-color: var(--secondary-color);
    text-align: center;
    padding: 2rem 2rem;
    color: var(--primary-color);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.2rem;
    color: var(--primary-color);
}

.hero h1:nth-of-type(2) {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-logo {
    display: block;
    margin: 1rem auto; /* Center the logo and add some margin */
    max-width: 220px; /* Same width as before */
    height: auto;
}

.brand-name {
    font-family: FleurDeLeah;
    font-weight: 300;
    font-size: 9rem;
    color: var(--primary-color);
    text-shadow: 4px 4px 8px #888888; /* Added drop shadow */
}

/* Added style for about page text centering */
.about {
    text-align: center;
}

/* Added style for contact page text centering */
.contact {
    padding: 2rem;
    max-width: 1000px; /* Max width for the whole contact section */
    margin: 2rem auto; /* Center the section with some margin */
}

.contact h1 {
    text-align: center; /* Keep main heading centered */
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-content {
    display: flex;
    gap: 3rem; /* Space between form and info */
    align-items: flex-start;
}

.contact-form {
    flex: 2; /* Form takes more space */
}

.contact-info {
    flex: 1; /* Info takes less space */
    background-color: #ffffff; /* Slightly different background for info box */
    padding: 1.5rem;
    border-radius: 8px;
}

/* Contact Form Element Styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: bold;
    text-align: left;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--accent-color);
    background-color: var(--secondary-color);
    color: var(--text-color);
    border-radius: 4px;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(var(--primary-color-rgb), 0.3);
}

.submit-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Contact Info Item Styling */
.contact-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: left;
}

.contact-info p {
    margin-bottom: 1rem;
    text-align: left;
    line-height: 1.7;
}

.contact-info .info-item {
    margin-bottom: 1.5rem;
}

.contact-info .info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    text-align: left;
}

.contact-info .info-item p {
    margin-bottom: 0.25rem;
    text-align: left;
}

/* Responsive adjustments for contact page */
@media (max-width: 768px) {
    header {
        justify-content: center;
        text-align: center;
    }

    .logo {
        margin: 0 0 1rem 0;
        justify-content: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    nav ul li {
        margin: 0;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

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

    .category-card {
        margin: 0;
    }

    .category-card img {
        height: 200px;
    }

    .contact-form,
    .contact-info {
        flex: none; /* Reset flex sizing */
        width: 100%; /* Full width on small screens */
    }

    .brand-name {
        font-size: 6rem; /* Adjusted font size for medium screens */
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 4rem; /* Adjusted font size for small screens */
    }

    .hero h1 {
        font-size: 2rem; /* Adjust hero heading for small screens */
    }

    nav ul li {
        margin-left: 1rem; /* Reduce nav item spacing */
    }

    nav ul li a {
        padding: 6px 12px; /* Reduce nav link padding */
    }
}

.categories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.categories h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 1200px;
}

.category-card {
    background-color: #111111;
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

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

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

/* Specific styling for Smalls category image */
.category-card:last-child img {
    object-fit: contain;
    padding: 5px;
    background-color: #1a1a1a;
}

.category-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--text-color);
}

footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100%;
}
