/* Color Palette Variables */
:root {
    /* Backgrounds */
    --warm-ivory: #F8F5F2;
    --ash-grey: #E8E6E3;
    
    /* Primary Accents */
    --terracotta: #C65D4A;
    --deep-emerald: #2D5A4A;
    
    /* Secondary Accents */
    --gold-ochre: #D4A574;
    --muted-coral: #E09B8D;
    
    /* Text Colors */
    --charcoal: #3A3A3A;
    --warm-brown: #6B4E3D;
    
    /* Additional Utility Colors */
    --white: #FFFFFF;
    --shadow: rgba(58, 58, 58, 0.1);
    --shadow-hover: rgba(58, 58, 58, 0.15);
    --overlay: rgba(45, 90, 74, 0.7);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--warm-ivory);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Crimson Text', serif;
    color: var(--charcoal);
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    color: var(--warm-brown);
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--terracotta);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--deep-emerald);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-secondary {
    background-color: var(--gold-ochre);
    color: var(--charcoal);
}

.btn-secondary:hover {
    background-color: var(--muted-coral);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    color: var(--terracotta);
    border: 2px solid var(--terracotta);
}

.btn-outline:hover {
    background-color: var(--terracotta);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

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

.nav-logo {
    font-family: 'Crimson Text', serif;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-logo a {
    text-decoration: none;
    color: var(--deep-emerald);
}

.logo-text {
    background: linear-gradient(135deg, var(--terracotta), var(--deep-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--terracotta);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--terracotta);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--charcoal);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 120px 2rem 2rem;
    background: linear-gradient(135deg, var(--warm-ivory), var(--ash-grey));
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--warm-brown);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-art-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--muted-coral), var(--gold-ochre));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px var(--shadow);
    position: relative;
    overflow: hidden;
}

.mandala-pattern {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--white);
    position: relative;
}

.mandala-pattern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 3px solid var(--terracotta);
    border-radius: 50%;
    border-top: 3px solid var(--deep-emerald);
    border-right: 3px solid var(--gold-ochre);
}

.mandala-pattern::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--terracotta), var(--deep-emerald));
    border-radius: 50%;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--charcoal);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--terracotta), var(--gold-ochre));
    border-radius: 2px;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Featured Categories */
.featured-categories {
    background-color: var(--white);
}

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

.category-card {
    background-color: var(--warm-ivory);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-hover);
    border-color: var(--muted-coral);
}

.category-icon {
    font-size: 3rem;
    color: var(--terracotta);
    margin-bottom: 1rem;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.category-card p {
    margin-bottom: 1.5rem;
    color: var(--warm-brown);
}

.category-link {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid var(--terracotta);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-link:hover {
    background-color: var(--terracotta);
    color: var(--white);
}

/* Featured Products */
.featured-products {
    background-color: var(--ash-grey);
}

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

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--muted-coral), var(--gold-ochre));
    position: relative;
}

.mandala-bg {
    background: linear-gradient(135deg, var(--terracotta), var(--deep-emerald));
}

.clay-bg {
    background: linear-gradient(135deg, var(--gold-ochre), var(--warm-brown));
}

.lippan-bg {
    background: linear-gradient(135deg, var(--muted-coral), var(--terracotta));
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--terracotta);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-info {
    padding: 1.5rem;
}

.product-title {
    margin-bottom: 0.5rem;
    color: var(--charcoal);
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--gold-ochre);
}

.rating-count {
    color: var(--warm-brown);
    font-size: 0.9rem;
}

/* Blog Preview */
.blog-preview {
    background-color: var(--white);
}

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

.blog-card {
    background-color: var(--warm-ivory);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow);
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-hover);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-placeholder {
    width: 100%;
    height: 100%;
}

.blog-bg-1 {
    background: linear-gradient(135deg, var(--terracotta), var(--muted-coral));
}

.blog-bg-2 {
    background: linear-gradient(135deg, var(--deep-emerald), var(--gold-ochre));
}

.blog-content {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background-color: var(--terracotta);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.blog-date {
    color: var(--warm-brown);
    font-size: 0.9rem;
}

.blog-title {
    margin-bottom: 1rem;
    color: var(--charcoal);
}

.blog-excerpt {
    color: var(--warm-brown);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.blog-link {
    color: var(--terracotta);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.blog-link:hover {
    color: var(--deep-emerald);
}

/* About Section */
.about {
    background-color: var(--ash-grey);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 600;
    color: var(--terracotta);
    font-family: 'Crimson Text', serif;
}

.stat-label {
    color: var(--warm-brown);
    font-size: 0.9rem;
}

.about-image {
    height: 300px;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--terracotta), var(--deep-emerald));
    border-radius: 12px;
}

/* Footer */
.footer {
    background-color: var(--charcoal);
    color: var(--warm-ivory);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--ash-grey);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--muted-coral);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--gold-ochre);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--ash-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--muted-coral);
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.contact-info i {
    color: var(--muted-coral);
    width: 16px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--warm-brown);
}

.footer-bottom p {
    color: var(--ash-grey);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 1rem 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-art-circle {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }

    .mandala-pattern {
        width: 200px;
        height: 200px;
    }

    .mandala-pattern::before {
        width: 120px;
        height: 120px;
    }

    .mandala-pattern::after {
        width: 60px;
        height: 60px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .products-grid,
    .categories-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 1rem 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .about-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading {
    border: 4px solid var(--ash-grey);
    border-top: 4px solid var(--terracotta);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 20px auto;
}
