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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;;
}

:root {
    --burgundy-dark: #561C24;
    --burgundy-med: #6D2932;
    --cream-dark: #C7B7A3;
    --cream-light: #E8D8C4;
    --text-dark: #2C1810;
    --text-light: #F5F1EB;
}

body {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Popup Effect Animation */
.popup-effect {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.popup-effect:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(86, 28, 36, 0.3);
    z-index: 10;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(86, 28, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 2rem 0 1.2rem;
    transition: all 0.3s ease;
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  max-width: 100%;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.logo-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.by-neha {
  display: block;
  font-size: 1rem;
  font-style: italic;
  font-weight: normal;
  color: var(--cream-light);
  margin-top: 0.2rem;
}

.cart-icon {
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--cream-light);
  margin-left: auto;
  position: relative;
}

.nav-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--cream-light);
    text-decoration: none;
}

.cart-icon {
  margin-left: auto;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--cream-light);
  position: relative;
}

.cart-icon:hover {
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--cream-light);
    color: var(--burgundy-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hide cart count when it's 0 */
.cart-count:empty,
.cart-count[data-count="0"] {
    opacity: 0.5;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin-left: 0;
  padding-left: 0;
}

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

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

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

/* Shopping Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background: var(--burgundy-dark);
    color: white;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

/* Empty cart message styling */
.cart-items div[style*="text-align: center"] {
    font-style: italic;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
    animation: slideInRight 0.3s ease;
}

.item-image {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--cream-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-details h4 {
    margin-bottom: 0.5rem;
    color: var(--burgundy-dark);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quantity-controls button {
    width: 30px;
    height: 30px;
    border: 1px solid var(--burgundy-dark);
    background: white;
    color: var(--burgundy-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quantity-controls button:hover {
    background: var(--burgundy-dark);
    color: white;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-align: center;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--burgundy-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    background: var(--burgundy-med);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--burgundy-dark) 0%, var(--burgundy-med) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, transparent 40%, rgba(232,216,196,0.1) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(232,216,196,0.05) 50%, transparent 60%);
    background-size: 100px 100px, 150px 150px;
    animation: geometricMove 15s infinite linear;
}

@keyframes geometricMove {
    0% { 
        background-position: 0 0, 0 0; 
        transform: rotate(0deg);
    }
    100% { 
        background-position: 100px 100px, -150px 150px; 
        transform: rotate(360deg);
    }
}

.hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
  width: 200px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 4rem;
    color: #fff8dc;
    margin-bottom: 0.5rem;
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero .tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--cream-light);
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    border: 2px solid var(--cream-light);
    color: var(--cream-light);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--cream-light);
    transition: left 0.3s ease;
    z-index: -1;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button:hover {
    color: var(--burgundy-dark);
    transform: translateY(-3px);
}

.hamburger {
  display: none !important;
}

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

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--cream-light);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--burgundy-dark);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--burgundy-med);
}

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

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    background: var(--burgundy-med);
    height: 300px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-light);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(232,216,196,0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Collections Section */
.collections {
    padding: 5rem 0;
    background: var(--cream-dark);
}

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

.collection-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(86, 28, 36, 0.1);
    position: relative;
}

.collection-image {
    height: 250px;
    background: linear-gradient(135deg, var(--burgundy-med), var(--burgundy-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream-light);
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(86, 28, 36, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.add-to-cart-btn {
    padding: 0.8rem 1.5rem;
    background: var(--cream-light);
    color: var(--burgundy-dark);
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.collection-card:hover .add-to-cart-btn {
    transform: translateY(0);
}

.add-to-cart-btn:hover {
    background: white;
    transform: translateY(-3px);
}

.collection-info {
    padding: 1.5rem;
}

.collection-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--burgundy-dark);
}

.collection-desc {
    color: #666;
    margin-bottom: 1rem;
}

.collection-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--burgundy-med);
}

/* Product Gallery Section */
.gallery {
    padding: 5rem 0;
    background: var(--cream-light);
}

.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 2px solid var(--burgundy-dark);
    color: var(--burgundy-dark);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--burgundy-dark);
    color: var(--cream-light);
    transform: translateY(-2px);
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center all rows */
  gap: 2rem;
}

.gallery-item:nth-last-child(-n+2) {
  grid-column: span 2;
  justify-self: center;
}

.gallery-item {
    flex: 0 1 calc(25% - 2rem);
    box-sizing: border-box;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(86, 28, 36, 0.1);
    background: white;
    transition: all 0.3s ease;
}

.gallery-item.hidden {
    display: none;
}

.gallery-image {
    height: 200px;
    background: linear-gradient(135deg, var(--burgundy-med), var(--burgundy-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(100%);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--cream-light);
}

@media screen and (max-width: 768px) {
  .gallery-item {
    flex: 0 1 calc(50% - 2rem); /* 2 items per row on small screens */
  }
}

@media screen and (max-width: 480px) {
  .gallery-item {
    flex: 0 1 100%; /* Stack items vertically on tiny screens */
  } 
}

.quick-view-btn {
    padding: 0.6rem 1.2rem;
    background: var(--cream-light);
    color: var(--burgundy-dark);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.quick-view-btn:hover {
    background: white;
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--cream-dark);
}

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

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(86, 28, 36, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--burgundy-dark);
    opacity: 0.3;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-content p {
    font-style: italic;
    line-height: 1.6;
    color: #555;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    background: var(--cream-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-details h4 {
    color: var(--burgundy-dark);
    margin-bottom: 0.2rem;
}

.customer-details span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: var(--burgundy-dark);
    color: var(--cream-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--cream-dark);
    background: transparent;
    color: var(--cream-light);
    border-radius: 5px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cream-light);
    transform: scale(1.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--cream-dark);
}

.submit-btn {
    padding: 1rem;
    background: var(--cream-light);
    color: var(--burgundy-dark);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: var(--cream-dark);
    transform: translateY(-2px);
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--cream-light);
}

.contact-info p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--cream-light);
    text-align: center;
    padding: 2rem 0;
}

.social-links {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--burgundy-med);
    color: var(--cream-light);
    text-decoration: none;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.social-link:hover {
    background: var(--cream-light);
    color: var(--burgundy-dark);
    transform: translateY(-3px);
}

.social-link[title*="Instagram"]:hover {
    background: #E4405F;
    color: white;
}

.social-link[title*="Email"]:hover {
    background: #34495e;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #aaa;
    z-index: 1003;
}

.close-modal:hover {
    color: var(--burgundy-dark);
}

.modal-body {
    display: flex;
    padding: 2rem;
    gap: 2rem;
}

.product-image {
    flex: 1;
    height: 300px;
    background: linear-gradient(135deg, var(--burgundy-med), var(--burgundy-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--cream-light);
}

.product-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-details h3 {
    font-size: 1.8rem;
    color: var(--burgundy-dark);
    margin-bottom: 0.5rem;
}

.product-details p {
    font-size: 1.2rem;
    color: var(--burgundy-med);
    font-weight: bold;
}

.size-selector {
    margin-top: 1rem;
}

.size-selector label {
    font-weight: bold;
    margin-right: 0.5rem;
}

.size-selector select {
    padding: 0.5rem;
    border: 2px solid var(--burgundy-dark);
    border-radius: 5px;
    background: white;
    color: var(--burgundy-dark);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

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

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

    .collection-grid,
    .gallery-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .gallery-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .modal-body {
        flex-direction: column;
        padding: 1rem;
    }

    .product-image {
        height: 200px;
        font-size: 3rem;
    }
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .collection-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation for cart items */
.cart-item {
    animation: slideInRight 0.3s ease;
}

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

/* Loading animation for buttons */
.loading {
    position: relative;
    color: transparent;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}