@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
  --primary-bg: #ffffff;
  --secondary-bg: #f5f5f5;
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --light-border: #cecece;
  --accent: #0071e3;
  --border-radius: 12px;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --max-width: 1200px;
}

@font-face {
 font-family: 'BeautyLuxury';
 src: url('https://majastone.com.au/assets/fonts/BeautyLuxury-Regular.otf') format('opentype');
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: var(--primary-bg);
  
  color: var(--text-primary);
  line-height: 1.47059;
  letter-spacing: -0.022em;
  font-weight: 100;
  background: linear-gradient(to right, rgb(255 255 255 / 88%), rgb(255 255 255 / 98%), rgb(255 255 255 / 81%)), url(https://images.pexels.com/photos/7630064/pexels-photo-7630064.jpeg);
  
    background-size: cover;
    background-position: center;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

/* Navigation */
.main-nav {
background: linear-gradient(45deg, rgb(255 255 255 / 90%), rgb(255 255 255), rgba(224, 224, 224, 0.7));
  backdrop-filter: saturate(180%) blur(20px);
  position: sticky;
  top: 0;
  z-index: 9999;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 22px;
}

.logo {
  font-family: 'BeautyLuxury', sans-serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
}

.desktop-menu {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: var(--text-primary);
  font-size: 12px;
  padding: 8px 16px;
  text-decoration: none;
  transition: var(--transition);
}

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

.mobile-menu {
  display: none;
}

.nav-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.nav-icon svg {
  width: 24px;
  height: 24px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 74vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
  background: black;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0, 0.4);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 0 22px;
}

.hero-button {
          display: inline-block;

      background-color: #ffffff4a;
      text-decoration: none;
    margin: 0px;
    transition: var(--transition);
    padding: 12px 24px;
    border-radius: 36px;
    color: white;
    font-size: 14px;
    margin: 0px;
    margin-bottom: 1rem;
}

.hero-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
  background-color: #dddddd4a;
}


.hero h1 {
    font-size: 4rem;
    line-height: 1.08349;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: 'BeautyLuxury';
}

.hero p {
  font-size: 24px;
  line-height: 1.16667;
  font-weight: 200;
  margin-bottom: 32px;
}

/*holiday banner*/
.holiday-banner {
background-image: url('https://img.freepik.com/free-photo/festive-christmas-arrangement-with-copy-space_23-2149155855.jpg');  
background-size: cover;
    background-position: center;

    padding: 0.5rem 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    text-align: center;
}

.holiday-icon {
    font-size: 2.5rem;
}

.banner-text h3 {
    color: #FFF;
    font-size: 1.2rem;
    margin:0;
    margin-bottom:0.5rem;
    
}

.banner-text p {
    color: #ffffff;
    margin-bottom: 0.5rem;
    margin-top:0;
}

.delivery-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    color: #888888;
    font-size: 0.9rem;
}

.delivery-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Section Styles */
.section {
  padding: 2rem 0;
}

.section.bg-dark {
  background-color: var(--secondary-bg);
}

.section h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 200;
  margin-bottom: 24px;
  font-family: 'BeautyLuxury';
}

/* Product Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 360px);
  gap: 30px;
  margin: 40px 0;
}

.product-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 22px;
}

.product-card {
  background: var(--primary-bg);
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 12px -1px rgba(0, 0, 0, 0.15);
}


.product-image-container {
  aspect-ratio: 1;
  overflow: hidden;
 height: 18rem;
width: 100%;
}

.product-images {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-info {
  padding: 0 0 0 2rem;
}

.short-product-info {
    padding: 1rem;
}

.product-info h3 {
  font-size: 20px;
  font-weight: 200;
  margin: 0 0 12px 0;
}

.product-info p {
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 0px 0;
}

.product-title {
    margin: 0 auto;
    font-size: 2rem;
    font-family:'BeautyLuxury';
}

.product-price {
    font-weight: 500;
    color: black !important;
    font-size: 16px;
    margin: 1rem 0 1rem 0;
}

.text-moss {
  color: var(--accent);
  font-weight: 200;
  font-size: 18px;
  margin-bottom: 16px;
}

.aspect-square {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* Creates a square aspect ratio */
  margin-bottom: 1rem;
}

/* Main Product Image */
.aspect-square img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Thumbnail Grid */
.grid-cols-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Thumbnail Images */
.grid-cols-4 .aspect-square {
  padding-bottom: 100%;
  margin-bottom: 0;
}


/* Button Styles */
.button {
    display: inline-block;
    background-color: var(--accent);
    color: white;
    padding: 12px 36px;
    width: -webkit-fill-available;
    border-radius: 36px;
    border: none;
    font-size: 14px;
    font-weight: 200;
    text-decoration: none;
    margin: 0px;
    transition: var(--transition);
    margin-bottom: 1rem;
    text-align: center;
}

.button:hover {
  background-color: #0077ed;
  transform: translateY(-1px);
}

/* Price Breakdown Styles */
.price-breakdown {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background-color: var(--secondary-bg);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow);
  max-width: 40vw;
  margin: 0 auto;
}

.price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--text-primary);
}

.price-row span {
  display: inline-block;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  margin-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 10px;
}

/* Text Utilities */
.text-center {
  text-align: center;
}

.max-width-prose {
  max-width: 680px;
  margin: 0 auto;
}

.space-y-4 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.social-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition);
}

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

/* Footer */
footer {
  background-color: var(--secondary-bg);
  padding: 24px 0;
  text-align: center;
}

footer p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

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

@media (max-width: 768px) {
  .desktop-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .product-info {
  padding: 1rem 1rem 0 0;
}

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 18px;
  }

  .section {
    padding: 0px 0;
  }

  .section h2 {
    font-size: 32px;
    margin-bottom: 16px;
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .hero-content {
    padding: 0 16px;
  }
}

/* Gap Utilities */
.gap-8 {
  gap: 2rem;
}

.gap-4 {
  gap: 1rem;
}

/* Form Labels */
.block {
  display: block;
  margin-top: 1rem;
}

/* Width Utilities */
.w-20 {
  width: 5rem;
}

/* Background Colors */
.bg-dark-grey {
  background-color: #1a1a1a;
}

/* Padding */
.p-2 {
  padding: 0.5rem;
}

/* Text Colors */
.text-white {
  color: var(--text-primary);
}

.text-text-secondary {
  color: var(--text-secondary);
}

/* Form Styles */
input[type="number"] {
  background: #ffffff;
    border: 1px solid #b0b0b0;
    color: var(--text-primary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    width: -webkit-fill-available;
    transition: var(--transition);
    margin-bottom: 1rem;
}

input[type="number"]:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

label {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

/* Product Grid Updates */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Image Gallery */
.gallery-image {
  transition: var(--transition);
  border: 2px solid transparent;
}

.gallery-image:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
}

.gallery-image.active {
  border: 2px solid var(--gold);
  opacity: 0.7;
}

/* SVG Icons */
.inline {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  vertical-align: middle;
  fill: var(--gold);
}

/* Product Info Typography */
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.prose-invert p {
  margin-bottom: 1rem;
  line-height: 1.6;
  margin-top: 1rem;
}

/* List Styles */
.space-y-2 > * + * {
  margin-top: 0.5rem;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Product Details Grid */
.product-images {
  width: 100%;
  position: relative;
}

.product-image {
   width: 100%;
  position: relative;
  object-fit: cover;
  height: 100%;
}

/* Dimension & Material Styles */
.space-y-4 div {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
}

.space-y-4 span {
  color: var(--gold);
  font-weight: 200;
  margin-right: 0.5rem;
  min-width: 100px;
}

/* Rounded Corners */
.rounded {
  border-radius: 0.375rem;
}

.rounded-lg {
  border-radius: var(--border-radius);
}

/* Object Fit */
.object-cover {
  object-fit: cover;
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

/* JavaScript Interactions */
.opacity-70 {
  opacity: 0.7;
}

/* Box Shadow on Focus */
*:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

/* Add subtle hover effect to all interactive elements */
a:hover,
button:hover,
input:hover {
  transition: var(--transition);
}

/* For the grid gap specific to the product detail layout */
.grid.gap-8 {
  gap: 2rem;
}

/* Product container specific width */
.product-container .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .product-container .grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  
  .space-y-4 div {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .space-y-4 span {
    margin-bottom: 0.25rem;
  }
}

.success-container {
    text-align: center;
}

.success-gif {
    margin: 30px auto;
    max-width: 300px;
    text-align: center;
}

.thank-you-gif {
    width: 180px;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 1024px) {
  .product-container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .product-container .grid {
    grid-template-columns: 1fr; /* Stack columns on mobile */
    gap: 0.5rem;
    margin-top: 1rem;
    margin-bottom: 0;
  }

  .grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .grid-cols-4 {
    grid-template-columns: repeat(3, 1fr); /* 3 thumbnails per row on mobile */
  }
}


.model-selector {
    margin: 2rem 0;
}

.model-option {
    display: block;
    margin-bottom: 1rem;
    cursor: pointer;
}

.option-card {
    border: 1px solid var(--light-border);
    padding: 1rem;
    border-radius: 8px;
    transition: all var(--transition-speed);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.model-option input[type="radio"] {
    display: none;
}

.model-option input[type="radio"]:checked + .option-card {
    border-color: var(--accent);
    background-color: rgba(85, 107, 47, 0.1);
    font-weight: 500;
    color: var(--text-primary);
}

.oil-price {
    color: var(--moss-green);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.cover-note-input {
    width: -webkit-fill-available;
    min-height: 100px;
    padding: 12px;
    border: 1px solid #8c8c8c;
    border-radius: 8px;
    background-color: #fff;
    color: var(--text-primary);
    font-family: inherit;
    resize: vertical;
    font-size: 14px
}

.cover-note-input:focus {
    border-color: var(--accent);
    outline: none;
}

.cover-note-input::placeholder {
    color: #666;
}

.cover-note-text {
    font-style: italic;
    color: #888;
    white-space: pre-line;
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 1rem;
    }

    .delivery-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.price {
  font-size: 1.2rem;
  font-weight: 500;
}
