/* CSS Variables */
:root {
    --primary-color: #FF553E;
    --secondary-purple: #7562E0;
    --secondary-blue: #70D0DC;
    --secondary-yellow: #FFC954;
    --bg-white: #FFFFFF;
    --bg-light-peach: #FFF8F2;
    --bg-light-blue: #F4FCFD;
    --text-dark: #14121E;
    --text-gray: #6B6B6B;
    --text-light: #8E8E93;
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 24px;
    --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Header */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-text:hover {
    color: var(--primary-color);
    opacity: 0.9;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.btn-cart {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

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

.cart-count {
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.125rem 0.5rem;
    border-radius: 12px;
    min-width: 20px;
    text-align: center;
}

.btn-cart:hover .cart-count {
    background: white;
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 72px;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.7;
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    color: white;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: 50px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

/* Spacing */
.py-6 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Background Colors */
.bg-light-peach {
    background-color: var(--bg-light-peach);
}

.bg-light-blue {
    background-color: var(--bg-light-blue);
}

/* Typography */
.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-gray);
}

/* Feature Cards */
.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.category-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.category-title {
    font-size: 1.5rem;
    margin: 1.5rem 1.5rem 0.5rem;
}

.category-description {
    color: var(--text-gray);
    padding: 0 1.5rem 1.5rem;
    margin: 0;
}

/* Statistics */
.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin: 0;
}

/* Icon Cards */
.icon-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
}

.icon-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.card-purple {
    border-top: 4px solid var(--secondary-purple);
}

.card-blue {
    border-top: 4px solid var(--secondary-blue);
}

.card-orange {
    border-top: 4px solid var(--primary-color);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    display: block;
}

.card-purple .card-icon {
    color: var(--secondary-purple);
}

.card-blue .card-icon {
    color: var(--secondary-blue);
}

.card-orange .card-icon {
    color: var(--primary-color);
}

.card-title {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.card-description {
    color: var(--text-gray);
    margin: 0;
}

/* Book Cards */
.book-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.book-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.book-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
}

.book-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.book-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.book-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

.book-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.book-card .btn {
    width: 100%;
}

/* Blog Cards */
.blog-featured-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.blog-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.blog-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* Utility Classes */
.rounded-4 {
    border-radius: var(--border-radius-lg) !important;
}

.shadow-soft {
    box-shadow: var(--shadow-soft) !important;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
}

.footer-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact .material-icons-outlined {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    max-width: 500px;
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
}

.cookie-popup.show {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    padding: 2rem;
}

.cookie-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.cookie-text {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.cookie-text a {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.cookie-buttons .btn {
    flex: 1;
}

/* Page Header */
.page-header {
    background: var(--bg-light-peach);
    padding: 8rem 0 4rem;
    text-align: center;
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Product Page */
.product-detail-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
}

.product-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-gray);
}

.meta-item .material-icons-outlined {
    color: var(--primary-color);
}

.product-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.product-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features .material-icons-outlined {
    color: var(--primary-color);
    font-size: 1.25rem;
}

/* Cart Page */
.cart-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.cart-item-image {
    width: 100px;
    height: 140px;
    object-fit: cover;
    border-radius: var(--border-radius-sm);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.quantity-display {
    font-weight: 600;
    font-size: 1.125rem;
    min-width: 40px;
    text-align: center;
}

.cart-summary {
    background: var(--bg-light-peach);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.summary-total {
    border-top: 2px solid var(--primary-color);
    padding-top: 1rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.5rem;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 85, 62, 0.15);
}

.invalid-feedback {
    display: none;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

/* Checkout Page */
.checkout-summary {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 100px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: none;
}

/* Thank You Page */
.thank-you-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    margin: 4rem auto;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.thank-you-icon .material-icons-outlined {
    font-size: 4rem;
    color: white;
}

/* Contact Page */
.contact-info-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light-peach);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon .material-icons-outlined {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Service Pages */
.service-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-section {
    margin-bottom: 2.5rem;
}

.service-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-section p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Blog Page */
.blog-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.blog-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.blog-item-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.blog-item-text {
    color: var(--text-gray);
    margin: 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-question .material-icons-outlined {
    color: var(--primary-color);
}

.faq-answer {
    color: var(--text-gray);
    margin: 0;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-section {
        margin-top: 60px;
    }
    .hero-title { 
        margin-top: 70px;
    }
    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .py-6 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .cart-summary,
    .checkout-summary {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 767px) {
    .cookie-popup {
        left: 1rem;
        right: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

