/* ───────────────────────────
   StyleByDIVYA  –  Colour‑refreshed stylesheet
   Palette source: “Website colour pallet.pdf”
   ─────────────────────────── */

/* 1 Global colour tokens */
:root{
  --vintage-rose:   #EAD7D1; /* primary header / hero backdrop */
  --ivory-pearl:    #FDF8F5; /* page background, cards, forms   */
  --dusty-mauve:    #C7A7A3; /* quote blocks, secondary accents */
  --olive-leaf:     #9CA48B; /* dividers, subtle borders        */
  --deep-maroon:    #672F38; /* links, CTAs, footer background  */
  --champagne-gold: #D8C69C; /* hovers, highlights, separators  */
  --dark-olive:     #4A4A4A; /* body copy                       */
}

/* 2 Resets */
*{margin:0;padding:0;box-sizing:border-box;scroll-behavior:smooth;}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body{
  font-family:'Segoe UI',sans-serif;
  background:var(--ivory-pearl);
  color:var(--dark-olive);
  /* padding-top:70px; */           /* keep space for fixed navbar */
  position: relative; /* Added for proper positioning context */
}


/* 3 Navigation bar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--vintage-rose);
    padding: 1rem 2rem;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--deep-maroon);
}

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

.logo a:hover {
    color: var(--champagne-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin-left: auto; /* This pushes the nav links to the right */
}

/* hamburger icon simply inherits Deep Maroon */
.hamburger span{background:var(--deep-maroon);}

/* Add these new styles for hamburger menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background: var(--deep-maroon);
  transition: transform 0.3s ease;
}

/* 3a Links */
.nav-links{display:flex;gap:2rem;list-style:none;}
.nav-links a{
  text-decoration:none;
  color:var(--deep-maroon);
  font-weight:500;
  transition:color .3s;
}
.nav-links a:hover{color:var(--champagne-gold);}  /* subtle gold glow */

/* 4 Hero section */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--ivory-pearl);
}

.background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.bg1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('designs/BG-3.png');
    animation: crossfade 12s ease-in-out infinite;
}

.bg2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                      url('designs/BG-4.jpg');
    animation: crossfade 12s ease-in-out infinite -6s; /* Offset by half duration */
}

@keyframes crossfade {
    0%, 33% {
        opacity: 1;
    }
    45%, 88% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Ensure hero content stays on top */
.hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
    max-width: 800px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.hero-text p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Update responsive styles */
@media (max-width: 768px) {
    .bg-image {
        background-attachment: scroll;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
}

/* 5 Section headings & copy */
.collection-section,
.story-section,
.contact-section{padding:4rem 2rem;text-align:center;}
.collection-section h2,
.story-section    h2,
.contact-section  h2{
  font-family:'Playfair Display',serif;
  font-size:2.5rem;margin-bottom:2rem;
  color:var(--deep-maroon);
}

/* 6 Gallery */
.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.gallery {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}

.gallery::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.design-card {
    flex: 0 0 300px; /* Fixed card width */
    scroll-snap-align: start;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--ivory-pearl);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.design-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.design-card .design-image {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    text-decoration: none; /* Remove underline from link */
}

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

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

/* Option 1: Always visible title */
.design-title {
    padding: 1rem;
    margin: 0;
    text-align: center;
    color: var(--deep-maroon);
    font-family: 'Playfair Display', serif;
}

/* Option 2: Hover overlay effect */
.design-overlay {
    position: absolute;
    inset: 0;
    background: rgba(103, 47, 56, 0.85); /* Using deep-maroon with opacity */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-overlay h3 {
    color: var(--ivory-pearl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    text-align: center;
    padding: 0 1rem;
}

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

.design-card:hover .design-overlay h3 {
    transform: translateY(0);
}

/* New styles for link inside design-card */
.design-card a {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* Carousel Navigation */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: var(--ivory-pearl);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-arrow svg {
    fill: var(--deep-maroon);
    transition: fill 0.3s ease;
}

.carousel-arrow:hover {
    background: var(--deep-maroon);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-arrow:hover svg {
    fill: var(--ivory-pearl);
}

.prev {
    left: 0;
}

.next {
    right: 0;
}

/* 7 Story paragraph tweaks */
.story-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Brand Story Section Styles */
.story-section {
    background-color: #F6F1EB;
    padding: 6rem 2rem;
    color: #2E2E2E;
    overflow: hidden; /* Prevents scrollbars during animation */
}

.story-container {
    max-width: 900px; /* Increased max-width for better spacing */
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    /* Adjust the gap to change the space between the text and image */
    gap: 10rem; 
}

.story-content {
    flex: 1; /* Takes up remaining space */
    text-align: left;
}

.story-image {
    /* To change the size of the image, adjust the width value below */
    flex: 0 0 400px; /* Fixed width for the image */
    /* To maintain a perfect circle, this height should be the same as the width above */
    height: 400px;
    border-radius: 50%;
    background-color: #e0e0e0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    order: 2; /* Image appears on the right */
    overflow: hidden; /* Hide overflowing parts of the image */
    position: relative; /* This is needed to adjust position */

    /* --- Adjust image position --- */
    /* You must use a unit like px, rem, or %. For example: 10px or -0.5rem */
    /* Move down (positive value) or up (negative value) */
    top: -100px;
    /* Move right (positive value) or left (negative value) */
    left: 20px;
}

.story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image covers the circular frame */
}

.story-heading {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #4B6043;
    margin-bottom: 1.5rem;
}

.story-content p {
    margin-bottom: 1.5rem;
}

.story-intro {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #4B6043;
}

.story-main,
.story-details {
    font-family: 'Playfair Display', 'Georgia', 'Lora', serif;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.story-highlights {
    background: rgba(75, 96, 67, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.story-highlights p {
    margin: 0.8rem 0;
}

.story-tagline {
    text-align: left;
    font-size: 1.3rem;
    font-weight: 500;
    color: #4B6043;
    margin-top: 2rem;
}



/* Responsive adjustments for the story section */
@media (max-width: 768px) {
    .story-container {
        flex-direction: column;
        gap: 2rem;
    }

    .story-image {
        order: 1; /* Image appears on top on mobile */
        margin-bottom: 0; /* Remove margin-bottom */
        width: 250px; /* Reduce image size for mobile */
        height: 250px; /* Reduce image size for mobile */
        flex-basis: auto; /* Reset flex-basis */
        top: 0; /* Reset position */
        left: 0; /* Reset position */
    }

    .story-content {
        order: 2; /* Text appears below the image */
        text-align: center; /* Center text on mobile */
    }

    .story-heading {
        font-size: 2rem;
    }

    .story-main,
    .story-details {
        font-size: 1rem;
    }

    .story-tagline {
        text-align: center;
    }
}


/* 8 Contact form */
.contact-section {
    background-color: #F6F1EB;
    padding: 6rem 2rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease-out forwards;
}

.contact-intro {
    color: #4B6043;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background: #FFFFFF;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #757575;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #A4C3B2;
    box-shadow: 0 2px 8px rgba(164, 195, 178, 0.15);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    transform: translateY(-1.8rem);
    font-size: 0.8rem;
    color: #4B6043;
    background: #F6F1EB;
    padding: 0 0.5rem;
}

.submit-btn {
    background: #4B6043;
    color: #FFFFFF;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(75, 96, 67, 0.15);
    margin-top: 1rem;
    align-self: center;
}

.submit-btn:hover {
    background: #A4C3B2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(75, 96, 67, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* 9 Footer */
.site-footer {
    background: var(--deep-maroon);
    color: var(--ivory-pearl);
    padding: 3rem 2rem;
    font-size: 0.9rem;
}

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

.footer-logo img {
    height: 100px; /* Adjust as needed */
    width: auto;
    display: block;
}

.footer-links,
.footer-contact,
.footer-social {
    flex: 1;
    min-width: 200px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--champagne-gold);
}

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

.footer-links ul li a {
    color: var(--ivory-pearl);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--champagne-gold);
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons a {
    color: var(--ivory-pearl);
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    /* filter: brightness(0) invert(1); */ /* Makes black SVG white */
    transition: filter 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.social-icons a:hover img {
    /* filter: brightness(0) invert(1) sepia(1) saturate(10000%) hue-rotate(30deg) brightness(1.5); */ /* Attempt to make it gold */
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .footer-logo {
        margin: 0 auto;
    }

    .social-icons {
        justify-content: center;
    }
}

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

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

/* Product Page Styles */
.product-section {
    padding: 4rem 1rem;
    background: var(--ivory-pearl);
}

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

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

/* Product Images */
.product-images {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3/4;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease-in-out;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.image-thumbnails img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Product Details */
.product-details {
    padding: 1rem;
}

.product-details h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--deep-maroon);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-price {
    font-size: 1.5rem;
    color: var(--dark-olive);
    margin-bottom: 2rem;
}

.product-story {
    line-height: 1.8;
    margin-bottom: 2rem;
}

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

.product-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li::before {
    content: "✨";
    position: absolute;
    left: 0;
    color: var(--champagne-gold);
}

.add-to-cart-btn {
    width: 100%;
    background: var(--deep-maroon);
    color: var(--ivory-pearl);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .product-section {
        padding: 2rem 1rem;
    }

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

    .product-images {
        gap: 0.5rem;
    }

    .main-image {
        aspect-ratio: 4/5;
    }

    .image-thumbnails {
        gap: 0.25rem;
    }

    .product-details {
        padding: 0;
    }

    .product-details h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .product-story {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }

    .product-features {
        margin: 1.5rem 0;
    }

    .product-features li {
        font-size: 0.95rem;
        padding: 0.4rem 0 0.4rem 1.25rem;
    }

    .add-to-cart-btn {
        padding: 1.2rem;
    }
}

/* Tablet Responsive Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-grid {
        gap: 3rem;
    }

    .product-details h1 {
        font-size: 2rem;
    }

    .product-story {
        font-size: 1.1rem;
    }
}

/* Mobile Responsive Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background: var(--vintage-rose);
        padding: 2rem 0;
        transition: 0.3s ease;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 1.5rem 0;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .gallery {
        gap: 1rem;
    }

    .design-card {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }

/* Reviews Section */
.reviews-section {
    padding: 4rem 2rem;
    background: linear-gradient(to bottom, var(--ivory-pearl), var(--vintage-rose));
}

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

.reviews-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--deep-maroon);
    text-align: center;
    margin-bottom: 3rem;
}

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

.review-card {
    background: var(--ivory-pearl);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 8rem;
    font-family: 'Playfair Display', serif;
    color: var(--champagne-gold);
    opacity: 0.2;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.review-header h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-maroon);
    font-size: 1.2rem;
}

.stars {
    color: var(--champagne-gold);
    letter-spacing: 2px;
}

.review-date {
    font-size: 0.9rem;
    color: var(--dusty-mauve);
    margin-bottom: 1rem;
}

.review-text {
    position: relative;
    z-index: 1;
    line-height: 1.8;
    color: var(--dark-olive);
    font-style: italic;
}

.review-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--olive-leaf);
    font-size: 0.9rem;
    color: var(--dusty-mauve);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .reviews-section {
        padding: 3rem 1rem;
    }

    .reviews-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0;
    }

    .review-card {
        padding: 1.5rem;
    }

    .review-card::before {
        font-size: 6rem;
        top: -5px;
        left: 10px;
    }

    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .stars {
        font-size: 0.9rem;
    }
}