/* General Styles */
:root {
    --primary: #00BCD4; /* Teal */
    --secondary: #212121; /* Dark Gray */
    --accent: #FFC107; /* Amber for highlights if needed */
    --text-light: #E0E0E0;
    --text-dark: #FFFFFF;
    --background-dark: #121212;
    --background-light: #2C2C2C;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
}

.section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header & Navigation */
header {
    background-color: var(--background-dark);
    padding: 15px 5%;
    border-bottom: 1px solid var(--secondary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.nav-links a {
    color: var(--text-light);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    text-decoration: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 500px; /* Adjust height as needed */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-dark);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text contrast */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--background-dark);
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0097A7; /* Darker teal */
    text-decoration: none;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-content img {
    flex: 1;
    border-radius: 8px;
    max-width: 500px;
}

.about-text {
    flex: 2;
}

.about-text h2 {
    color: var(--primary);
}

/* Services/Features Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

/* Product Grid (Shop Page) */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: var(--background-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--secondary);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 15px;
}

.product-card .btn-primary {
    display: block;
    width: calc(100% - 40px); /* Adjust for padding */
    margin: 0 auto;
    text-align: center;
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 8px;
}

.contact-info h3, .contact-form h3 {
    color: var(--primary);
    margin-bottom: 25px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-info p i {
    font-size: 1.5rem;
    margin-right: 15px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--secondary);
    border-radius: 5px;
    background-color: var(--background-dark);
    color: var(--text-light);
    font-size: 1rem;
}

.contact-form input::placeholder, .contact-form textarea::placeholder {
    color: #888;
}

.contact-form button {
    background-color: var(--primary);
    color: var(--background-dark);
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0097A7;
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 40px 5%;
    border-top: 1px solid var(--secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 30px auto;
}

.footer-grid h4 {
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-grid p,
.footer-grid a {
    color: var(--text-light);
    margin-bottom: 10px;
    display: block;
}

.footer-grid a:hover {
    color: var(--primary);
    text-decoration: none;
}

.footer-about img {
    height: 30px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--secondary);
    font-size: 0.9rem;
    color: #888;
}

/* Utility */
.text-center {
    text-align: center;
}

.nowrap {
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-content img {
        margin-bottom: 30px;
    }

    .contact-container {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about img {
        margin-left: auto;
        margin-right: auto;
    }
}
