/* style.css - BUG FIXED VERSION - ORGANIZED BY PAGES - IMPROVED */
:root {
    --primary-brown: #8B7355;
    --secondary-brown: #A8916D;
    --light-beige: #F5F1E8;
    --sand: #D8CAAF;
    --dark-brown: #5C4B37;
    --off-white: #FAF9F6;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: rgba(139, 115, 85, 0.1);
    --transition: all 0.3s ease;
}

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

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

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

/* ==================== */
/* COMMON/UTILITY STYLES */
/* ==================== */

/* Typography */
.page-title {
    font-size: 3rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
    font-weight: 700;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.section-badge {
    display: inline-block;
    background-color: var(--light-beige);
    color: var(--primary-brown);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Links */
.section-link {
    display: inline-block;
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
}

.section-link:hover {
    color: var(--dark-brown);
    transform: translateX(5px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-brown);
    color: white;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

.btn-primary:hover {
    background-color: var(--dark-brown);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 115, 85, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-brown);
    border: 2px solid var(--primary-brown);
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delay {
    animation: fadeIn 1s ease 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1s ease 0.6s forwards;
    opacity: 0;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal-content {
    background: #ffffff;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: 18px;
    padding: 30px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    animation: modalScale 0.35s ease;
}

@keyframes modalScale {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f3f3f3;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #e0e0e0;
}

/* Quick View Modal Content */
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.quick-view-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.quick-view-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-view-details .product-category {
    color: var(--secondary-brown);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.quick-view-details h2 {
    font-size: 2.5rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
}

.quick-view-details .product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.quick-view-details .product-rating i {
    color: #FFD700;
}

.quick-view-details .rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
}

.quick-view-details .product-description {
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.7;
}

.quick-view-details .product-details {
    background-color: var(--light-beige);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.quick-view-details .product-details p {
    margin: 0;
    color: var(--text-dark);
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.product-price-large .current-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.product-price-large .original-price {
    font-size: 1.5rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.product-actions .btn {
    flex: 1;
    min-width: 200px;
}

/* ==================== */
/* HEADER/NAVIGATION */
/* ==================== */

.header {
    background-color: var(--off-white);
    padding: 20px 0;
    box-shadow: 0 2px 15px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    height: 75px;
    width: auto;
}

.logo h1 {
    color: var(--primary-brown);
    font-weight: 700;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu a.active {
    color: var(--primary-brown);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-brown);
}

.nav-menu a:hover {
    color: var(--primary-brown);
}

.login-link {
    background-color: var(--light-beige);
    padding: 8px 20px;
    border-radius: 25px;
    margin-left: 10px;
}

.cart-icon {
    position: relative;
    font-size: 18px;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-brown);
    color: white;
    font-size: 12px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-brown);
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==================== */
/* FOOTER */
/* ==================== */

.footer {
    background-color: var(--dark-brown);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-description {
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background-color: var(--primary-brown);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    color: white;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--sand);
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact i {
    color: var(--sand);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-copyright p {
    margin: 0;
}

.payment-methods {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    opacity: 0.8;
}

.payment-methods i {
    transition: opacity 0.3s ease;
}

.payment-methods i:hover {
    opacity: 1;
}

/* ==================== */
/* HOME PAGE */
/* ==================== */

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-beige) 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-brown);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-stats .stat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-stats .stat i {
    font-size: 2rem;
    color: var(--primary-brown);
    background-color: rgba(139, 115, 85, 0.1);
    padding: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-brown);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    display: block;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 520px;
}

/* Earth Circle for homepage */
.earth-circle {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle, #efe5d4, #faf6ef);
    right: -120px;
    top: -40px;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    animation: float 6s ease-in-out infinite;
}

.earth-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    50% { 
        transform: translateY(-20px) rotate(2deg); 
    }
}

/* Responsive adjustments for earth circle */
@media (max-width: 1200px) {
    .earth-circle {
        width: 480px;
        height: 480px;
        right: -80px;
    }
}

@media (max-width: 992px) {
    .earth-circle {
        position: relative;
        right: 50%;
        transform: translateX(50%);
        top: 0;
        width: 400px;
        height: 400px;
        margin: 0 auto 40px;
    }
}

@media (max-width: 768px) {
    .earth-circle {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 576px) {
    .earth-circle {
        width: 280px;
        height: 280px;
    }
}

@media (max-width: 480px) {
    .earth-circle {
        width: 240px;
        height: 240px;
    }
}

/* Floating Cards - UPDATED FOR MOBILE VISIBILITY */
.floating-card {
    position: absolute;
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    z-index: 2;
    transition: transform 0.4s ease;
    animation: floatIn 0.9s ease forwards;
    cursor: pointer;
    border: none;
    padding: 0;
}

.floating-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card-1 {
    width: 260px;
    height: 320px;
    right: 40px;
    top: 40px;
    animation: float 6s ease-in-out infinite;
}

.card-2 {
    width: 220px;
    height: 240px;
    right: 260px;
    bottom: 40px;
    animation: float 7s ease-in-out infinite 1s;
}

.card-3 {
    width: 180px;
    height: 200px;
    right: 120px;
    top: 280px;
    animation: float 8s ease-in-out infinite 0.5s;
}

.floating-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-brown);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 3;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.floating-card:hover {
    transform: translateY(-12px) scale(1.03);
}

.floating-card:hover img {
    transform: scale(1.05);
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
    fill: var(--off-white);
    display: block;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
    background-color: var(--off-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.2);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-brown);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

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

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    background-color: white;
    color: var(--dark-brown);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
}

.quick-view:hover {
    background-color: var(--primary-brown);
    color: white;
    transform: translateY(-2px);
}

.wishlist-btn {
    width: 45px;
    height: 45px;
    background-color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-brown);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.wishlist-btn:hover {
    background-color: #FF6B6B;
    color: white;
    transform: scale(1.1);
}

.wishlist-btn .fas {
    color: #FF6B6B;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--secondary-brown);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.product-card h4 {
    font-size: 1.3rem;
    color: var(--dark-brown);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 3.6em;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.product-rating i {
    color: #FFD700;
    font-size: 0.9rem;
}

.rating-count {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    gap: 10px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-brown);
}

.original-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.quick-add {
    background-color: var(--light-beige);
    color: var(--dark-brown);
    border: 2px solid var(--sand);
    border-radius: 25px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    white-space: nowrap;
}

.quick-add:hover {
    background-color: var(--primary-brown);
    color: white;
    border-color: var(--primary-brown);
    transform: translateY(-2px);
}

.quick-add.added {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
}

.button-center {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.section-header .button-center {
    margin-top: 30px;
}

/* Add this to your style.css file */
.button-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    padding: 20px 0;
}

/* Optional: Add hover effect to the button */
.button-center .btn-secondary:hover {
    background-color: var(--primary-brown);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.3);
}

/* Notification Styles */
.cart-notification {
    position: fixed !important;
    top: 100px !important;
    right: 20px !important;
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
    color: white !important;
    padding: 15px 25px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    z-index: 10000 !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2) !important;
    font-weight: 500 !important;
    animation: slideInRight 0.4s ease-out, fadeOut 0.3s ease 2.2s forwards !important;
}

.cart-notification.info {
    background: linear-gradient(135deg, #2196F3, #1976D2) !important;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
/* ==================== */
/* FEATURED BLOGS */
/* ==================== */

.featured-blogs {
    padding: 80px 0;
    background-color: var(--light-beige);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 115, 85, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(139, 115, 85, 0.2);
}

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

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-brown);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta i {
    margin-right: 5px;
}

.blog-date,
.blog-read-time {
    display: flex;
    align-items: center;
}

.blog-title {
    font-size: 1.4rem;
    color: var(--dark-brown);
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-title a:hover {
    color: var(--primary-brown);
}

.blog-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid rgba(139, 115, 85, 0.1);
}

.blog-read-more {
    color: var(--primary-brown);
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.blog-read-more:hover {
    color: var(--dark-brown);
    gap: 12px;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author span {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Button center class */
.button-center {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

/* ==================== */
/* RESPONSIVE BLOGS */
/* ==================== */

@media (max-width: 992px) {
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogs-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-image {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .blog-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .blog-author {
        width: 100%;
        justify-content: space-between;
    }
}
/* ==================== */
/* MINIMAL CONTACT INFO */
/* ==================== */

.minimal-contact-info {
    padding: 60px 0;
    background: var(--off-white);
}

.minimal-contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-badge i {
    font-size: 1.2rem;
}

.minimal-contact-content h2 {
    color: var(--dark-brown);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-mini-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.mini-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(139, 115, 85, 0.08);
    border: 1px solid rgba(139, 115, 85, 0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.mini-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(139, 115, 85, 0.15);
}

.mini-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.mini-card-icon.phone {
    background: linear-gradient(135deg, #4CAF50, #45a049);
}

.mini-card-icon.email {
    background: linear-gradient(135deg, #2196F3, #1976D2);
}

.mini-card-content h4 {
    color: var(--dark-brown);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.mini-card-content a {
    color: var(--primary-brown);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.mini-card-content a:hover {
    color: var(--dark-brown);
}

.mini-card-content small {
    color: var(--text-light);
    font-size: 0.85rem;
}

.contact-footer {
    padding-top: 30px;
    border-top: 1px solid rgba(139, 115, 85, 0.1);
}

.contact-footer p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.contact-footer .btn {
    padding: 12px 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-mini-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .minimal-contact-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .mini-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .mini-card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}
/* ==================== */
/* BLOGS PAGE */
/* ==================== */

.blogs-hero {
    padding: 100px 0 60px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-beige) 100%);
    text-align: center;
}

.blogs-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.blogs-hero .page-title {
    margin-bottom: 20px;
}

.blog-search {
    max-width: 500px;
    margin: 40px auto 0;
    position: relative;
}

.blog-search input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid var(--sand);
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    background: white;
}

.search-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-brown);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: var(--dark-brown);
    transform: translateY(-50%) scale(1.1);
}

.blogs-content {
    padding: 60px 0;
}

.blogs-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Featured Blog */
.featured-blog {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(139, 115, 85, 0.1);
    margin-bottom: 50px;
}

.featured-blog-image {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.featured-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-brown);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-blog-content {
    padding: 40px;
}

.featured-blog-content .blog-category {
    display: inline-block;
    background: var(--light-beige);
    color: var(--primary-brown);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.featured-blog-content h2 {
    font-size: 2.2rem;
    color: var(--dark-brown);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-blog .blog-meta {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
    font-weight: 500;
}

.author-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-date, .blog-read-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.blog-date i, .blog-read-time i {
    color: var(--primary-brown);
}

.featured-blog .blog-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.read-full-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Blogs Grid on blogs page */
.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Sidebar */
.blogs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(139, 115, 85, 0.08);
    border: 1px solid rgba(139, 115, 85, 0.1);
}

.sidebar-widget h3 {
    color: var(--dark-brown);
    margin-bottom: 20px;
    font-size: 1.3rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-beige);
}

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

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.categories-list a:hover,
.categories-list a.active {
    background: var(--light-beige);
    color: var(--primary-brown);
    padding-left: 20px;
}

.popular-blogs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-blog {
    display: flex;
    gap: 15px;
    align-items: center;
}

.popular-blog img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.popular-blog h4 {
    margin-bottom: 5px;
    font-size: 1rem;
}

.popular-blog h4 a {
    color: var(--dark-brown);
    text-decoration: none;
}

.popular-blog h4 a:hover {
    color: var(--primary-brown);
}

.popular-blog span {
    font-size: 0.85rem;
    color: var(--text-light);
}

.newsletter-widget p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.sidebar-newsletter input {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 1px solid var(--sand);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
}

.sidebar-newsletter .btn {
    width: 100%;
    padding: 12px;
}

/* Responsive Blogs */
@media (max-width: 992px) {
    .blogs-layout {
        grid-template-columns: 1fr;
    }
    
    .blogs-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .featured-blog-image {
        height: 300px;
    }
    
    .blogs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blogs-hero {
        padding: 80px 0 40px;
    }
    
    .featured-blog-content {
        padding: 25px;
    }
    
    .featured-blog-content h2 {
        font-size: 1.8rem;
    }
    
    .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-blog .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* ==================== */
/* RESPONSIVE DESIGN */
/* ==================== */

@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .earth-circle {
        width: 480px;
        height: 480px;
    }
    
    /* Adjust floating cards for medium screens */
    .card-1 {
        width: 220px;
        height: 280px;
        right: 20px;
        top: 20px;
    }
    
    .card-2 {
        width: 180px;
        height: 200px;
        right: 200px;
        bottom: 20px;
    }
    
    .card-3 {
        width: 150px;
        height: 170px;
        right: 80px;
        top: 240px;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        height: 400px;
        margin-top: 40px;
    }
    
    .earth-circle {
        right: 50%;
        transform: translateX(50%);
        top: 0;
        width: 400px;
        height: 400px;
    }
    
    /* FIXED: Floating cards repositioned for mobile, NOT hidden */
    .floating-card {
        position: absolute;
        width: 180px;
        height: 220px;
        z-index: 2;
    }
    
    .card-1 {
        right: 10%;
        top: 10%;
    }
    
    .card-2 {
        right: 60%;
        bottom: 10%;
    }
    
    .card-3 {
        right: 30%;
        top: 50%;
    }
    
    .quick-view-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-view-image {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--off-white);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 25px;
        z-index: 999;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero {
        text-align: center;
        min-height: auto;
        padding: 80px 0 40px;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* FIXED: Floating cards adjusted for smaller mobile */
    .floating-card {
        width: 140px;
        height: 170px;
    }
    
    .card-1 {
        right: 5%;
        top: 5%;
    }
    
    .card-2 {
        right: 55%;
        bottom: 5%;
    }
    
    .card-3 {
        right: 25%;
        top: 45%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .modal-content {
        padding: 20px;
        max-width: 95%;
        margin: 20px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    /* FIXED: Floating cards visible but smaller for mobile */
    .floating-card {
        width: 100px;
        height: 130px;
        position: absolute;
    }
    
    .card-1 {
        right: 3%;
        top: 3%;
    }
    
    .card-2 {
        right: 50%;
        bottom: 3%;
    }
    
    .card-3 {
        right: 20%;
        top: 40%;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
    
    .stat {
        flex-direction: column;
        text-align: center;
    }
    
    .product-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .quick-add {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .cart-notification {
        top: 80px !important;
        right: 10px !important;
        left: 10px !important;
        text-align: center;
        justify-content: center;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .quick-view-details h2 {
        font-size: 1.8rem;
    }
    
    .product-price-large .current-price {
        font-size: 2rem;
    }
    
    .product-actions .btn {
        min-width: 100%;
    }
}
/* Earth Circle for homepage - matching login/register style */
.earth-circle {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    animation: float 6s ease-in-out infinite;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.earth-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(-50%) rotate(0deg); 
    }
    50% { 
        transform: translateY(-60%) rotate(5deg); 
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .earth-circle {
        width: 320px;
        height: 320px;
    }
}

@media (max-width: 992px) {
    .earth-circle {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin: 40px auto 0;
        width: 280px;
        height: 280px;
    }
    
    @keyframes float {
        0%, 100% { 
            transform: translateY(0) rotate(0deg); 
        }
        50% { 
            transform: translateY(-20px) rotate(5deg); 
        }
    }
}

@media (max-width: 768px) {
    .earth-circle {
        width: 240px;
        height: 240px;
    }
}

@media (max-width: 480px) {
    .earth-circle {
        width: 200px;
        height: 200px;
    }
}
/* Quick View Options Styling */
.product-option-group {
    margin: 20px 0;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--sand);
}

.product-option-group:last-child {
    border-bottom: none;
}

.product-option-group h4 {
    font-size: 1rem;
    color: var(--dark-brown);
    margin-bottom: 12px;
    font-weight: 600;
}

/* Size Options */
.size-options {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border: 2px solid var(--sand);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.size-option:hover {
    border-color: var(--secondary-brown);
}

.size-option.active {
    background-color: var(--primary-brown);
    color: white;
    border-color: var(--primary-brown);
}

.size-option input {
    display: none;
}

.size-label {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Color Options */
.color-options {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 2px solid var(--sand);
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}

.color-option:hover {
    border-color: var(--secondary-brown);
}

.color-option.active {
    background-color: var(--light-beige);
    border-color: var(--primary-brown);
}

.color-option input {
    display: none;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
}

.color-label {
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* Quantity Selector */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 2px solid var(--sand);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--light-beige);
    color: var(--dark-brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--sand);
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-brown);
    background: white;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Action Buttons */
.product-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.btn.btn-primary {
    flex: 1;
    background-color: var(--primary-brown);
    color: white;
    border: 2px solid var(--primary-brown);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn.btn-primary:hover {
    background-color: var(--dark-brown);
    border-color: var(--dark-brown);
}

.btn.btn-secondary {
    flex: 1;
    background-color: var(--light-beige);
    color: var(--dark-brown);
    border: 2px solid var(--sand);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn.btn-secondary:hover {
    background-color: var(--sand);
}

.btn.btn-outline {
    width: 50px;
    background-color: white;
    color: var(--dark-brown);
    border: 2px solid var(--sand);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn.btn-outline:hover {
    background-color: var(--light-beige);
    border-color: var(--primary-brown);
}

/* Star Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.product-rating .stars {
    color: #FFD700;
}

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