/* --- CSS VARIABLES BASED ON LOGO --- */
:root {
    --primary-purple: #4A1D6E; 
    --hover-purple: #622b91;
    --light-purple: #f3ebf9;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --gray-bg: #f9f9f9;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

main {
    flex: 1; /* Pushes footer to bottom */
}

/* --- HEADER & NAVIGATION --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

/* --- LOGO STYLING --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between logo image and text */
    text-decoration: none;
}

.logo-img {
    height: 55px; /* Adjust this to make the logo bigger or smaller */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-purple);
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span {
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 4px;
    margin-top: 4px;
    color: var(--text-dark);
}

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

nav ul li a {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-purple);
    border-bottom: 2px solid var(--primary-purple);
}

.cart-icon {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
}

.cart-icon:hover {
    background-color: var(--hover-purple);
}

/* --- PAGE HEADERS (For inner pages) --- */
.page-header {
    background: linear-gradient(135deg, var(--primary-purple) 0%, var(--hover-purple) 100%);
    color: var(--white);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* --- HOME / SHOP PAGE --- */
.hero {
    background: linear-gradient(135deg, var(--light-purple) 0%, var(--white) 100%);
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 { font-size: 3rem; color: var(--primary-purple); margin-bottom: 1rem; }
.hero p { font-size: 1.2rem; color: var(--text-light); max-width: 600px; margin: 0 auto 2rem auto; }

.btn-primary {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
}

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

.filters {
    max-width: 1200px;
    margin: 3rem auto 1rem auto;
    padding: 0 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-purple);
    color: var(--white);
}

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

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

.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(74, 29, 110, 0.15);
}

.product-img {
    height: 200px;
    background-color: var(--light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: 600;
    font-size: 1.2rem;
}

.product-info { padding: 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.category-tag { font-size: 0.8rem; color: var(--hover-purple); text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; }
.product-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.price { font-size: 1.4rem; color: var(--primary-purple); font-weight: 800; margin-top: auto; margin-bottom: 1rem; }

.add-to-cart {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-to-cart:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* --- ABOUT PAGE --- */
.container {
    max-width: 1000px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-text h2 { color: var(--primary-purple); margin-bottom: 1rem; }
.about-text p { margin-bottom: 1rem; color: var(--text-light); }

.about-image {
    background: var(--light-purple);
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: bold;
    font-size: 1.5rem;
}

/* --- CONTACT & LOCATION FORMS --- */
.form-container, .location-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    max-width: 800px;
    margin: -3rem auto 4rem auto; 
    position: relative;
    z-index: 10;
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* --- LOCATION SPECIFIC --- */
.location-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.location-info p {
    margin-bottom: 0.8rem;
    color: var(--text-light);
}

.location-info strong {
    color: var(--text-dark);
}

.map-placeholder {
    width: 100%;
    height: 350px;
    background-color: var(--light-purple);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-weight: bold;
    border: 2px dashed var(--primary-purple);
}

/* --- FOOTER --- */
footer {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
    margin-bottom: 2rem;
}

.footer-col h4 { margin-bottom: 1rem; font-size: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; opacity: 0.8; cursor: pointer; }
.footer-col ul li:hover { opacity: 1; text-decoration: underline; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 1rem; }
    nav ul { gap: 1rem; font-size: 0.9rem; flex-wrap: wrap; justify-content: center;}
    .hero h1 { font-size: 2.2rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .about-content { grid-template-columns: 1fr; padding: 1.5rem; }
    .location-details { grid-template-columns: 1fr; }
    .form-container, .location-container { padding: 1.5rem; margin: -1rem 1rem 2rem 1rem; }
    .logo-text { font-size: 1.5rem; }
    .logo-img { height: 45px; }
}