:root {
    --primary-color-1: #0A0908;
    --primary-color-2: #F5EDF0;
    --secondary-color-1: #52528C;
    --secondary-color-2: #E9D758;
    --highlight-color: #EF5D60;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-color-2);
    color: var(--primary-color-1);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 4rem 2rem;
}

h1, h2, h3 {
    font-family: var(--font-secondary);
    font-weight: 700;
}

a {
    color: var(--highlight-color);
    text-decoration: none;
}

/* Header & Nav */
header {
    background-color: var(--primary-color-1);
    color: var(--primary-color-2);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: auto;
    padding: 0 2rem;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--primary-color-2);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--highlight-color);
}

.hero {
    text-align: center;
    padding: 6rem 2rem;
    background: var(--primary-color-1);
    color: var(--primary-color-2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color-2);
}

.hero p {
    font-size: 1.2rem;
}

/* Sections */
section h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--secondary-color-1);
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

/* Products */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-left: 5px solid var(--highlight-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.card h3 {
    color: var(--secondary-color-1);
    margin-bottom: 0.5rem;
}

/* Services */
#services {
    background-color: #fff;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-item {
    background: var(--primary-color-2);
    padding: 1.5rem;
    border-radius: 8px;
}

.service-item h3 {
     color: var(--highlight-color);
     margin-bottom: 0.5rem;
}

/* Contact */
#contact {
    text-align: center;
}

.contact-info {
    font-size: 1.1rem;
    line-height: 2;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-color-1);
    color: var(--primary-color-2);
    text-align: center;
    padding: 2rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 1rem;
    color: var(--secondary-color-2);
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Policy Pages */
.policy-container {
    max-width: 800px;
    margin: 4rem auto;
    padding: 2rem;
    background: #fff;
    border-radius: 8px;
}

.policy-container h1 {
    color: var(--secondary-color-1);
    margin-bottom: 1.5rem;
}

.policy-container p {
    margin-bottom: 1rem;
}

.policy-container h2 {
    color: var(--highlight-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1.5rem;
}

.back-link {
    display: inline-block;
    margin-top: 2rem;
    color: var(--primary-color-2);
    background-color: var(--highlight-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
}
.back-link:hover{
    background-color: var(--secondary-color-1);
}

/* Styling for clickable product cards */
.product-link {
    text-decoration: none;
    color: inherit;
    display: block; /* Ensures the link takes up the full grid space */
}