/* Base styles and variables */
:root {
  --color-primary: #1A1A1A;     /* Deep Charcoal */
  --color-white: #FFFFFF;
  --color-off-white: #FAFAFA;
  --color-accent: #D4AF37;      /* Subtle Gold/Champagne */
  --color-accent-hover: #b5952f;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #E5E5E5;

  /* Acrylic Style Variables */
  --acrylic-bg: rgba(255, 255, 255, 0.4);
  --acrylic-border: rgba(255, 255, 255, 0.6);
  --acrylic-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
  --acrylic-edge: inset 0 0 0 1px rgba(255, 255, 255, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.8), 0 1px 2px rgba(0, 0, 0, 0.1);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-hover: 0 20px 25px rgba(0,0,0,0.15);
}

/* Tailwind-ish Utilities for standard sections */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.md\:flex-row { flex-direction: row; }
.items-center { align-items: center; }
.gap-16 { gap: 4rem; }
.gap-8 { gap: 2rem; }
.gap-6 { gap: 1.5rem; }
.flex-1 { flex: 1; }
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.text-4xl { font-size: 2.25rem; }
.text-lg { font-size: 1.125rem; }
.text-slate-600 { color: #475569; }
.text-slate-900 { color: #0f172a; }
.text-slate-500 { color: #64748b; }
.bg-slate-100 { background-color: #f1f7f9; }
.bg-accent { background-color: var(--color-accent); }
.text-white { color: #fff; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.border-l-4 { border-left-width: 4px; }
.border-accent { border-color: var(--color-accent); }
.leading-relaxed { line-height: 1.625; }
.relative { position: relative; }
.absolute { position: absolute; }
.-bottom-6 { bottom: -1.5rem; }
.-right-6 { right: -1.5rem; }
.skew-y-3 { transform: skewY(3deg); }
.rotate-6 { transform: rotate(6deg); }
.font-bold { font-weight: 700; }
.italic { font-style: italic; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-500 { transition-duration: 500ms; }

.group:hover .group-hover\:skew-y-0 { transform: skewY(0deg); }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background-color: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary);
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Typography Utility */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

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

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-md);
}

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

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

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-bg-light {
  background-color: var(--color-off-white);
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.8rem 2rem;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.navbar-brand img {
  transition: transform var(--transition-normal), max-height var(--transition-normal);
}

.navbar.scrolled .navbar-brand img {
  transform: scale(0.9);
  max-height: 70px !important;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--color-primary);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Value Props */
.value-prop {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.value-prop-content,
.value-prop-image {
  flex: 1;
}

.value-prop h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.value-prop p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 2rem;
}

.magnet-image-wrapper {
  background: var(--acrylic-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--acrylic-border);
  border-radius: 4px; /* Sharp but slightly rounded like acrylic */
  padding: 12px; /* Inner margin to show the 'acrylic' edge */
  box-shadow: var(--acrylic-shadow), var(--acrylic-edge);
  position: relative;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  overflow: visible; /* Let inner glare show if needed */
}

.magnet-image-wrapper img {
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15); /* Shadow for the print inside the acrylic */
}

.magnet-image-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
  border-radius: 4px;
  pointer-events: none;
}

.magnet-image-wrapper:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12), var(--acrylic-edge);
}

.gallery-item {
  background: var(--acrylic-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--acrylic-border);
  border-radius: 4px;
  padding: 10px;
  box-shadow: var(--acrylic-shadow);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0,0,0,0.15);
}

/* Callouts Two Columns */
.callouts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.callout-card {
  background: var(--color-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.callout-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.callout-card p {
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
}

.pricing-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2rem;
  display: block;
}

/* Testimonials */
.testimonials {
  text-align: center;
}

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

.testimonial-card {
  padding: 2.5rem;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  font-style: italic;
  position: relative;
}

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

.testimonial-author {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
  font-family: var(--font-heading);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4rem 2rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.footer h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #a0a0a0;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888;
  font-size: 0.9rem;
}

/* Responsive */
/* Shop Page Custom Interface Upgrades */
.upload-section {
    position: relative;
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border: 2px dashed #DDD;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.upload-section:hover {
    border-color: var(--color-accent);
    transform: scale(1.01);
    box-shadow: var(--shadow-hover);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: luxury-spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

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

/* Better Cropper Integration */
.cropper-view-box,
.cropper-face {
    border-radius: 0;
}

.cropper-line, .cropper-point {
    background-color: var(--color-accent);
}

/* Reveal Elements Fade */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive & Interactive Layouts */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-overlay {
        background: rgba(255, 255, 255, 0.85);
    }

    .hero-actions {
        flex-direction: column;
    }

    .value-prop {
        flex-direction: column;
    }

    .callouts-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Luxury Animations */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.magnet-image-wrapper {
    animation: float 6s ease-in-out infinite;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.03); }
}

.hero-bg {
    animation: heroZoom 25s ease-out forwards;
}

.story-split-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    animation: float 8s ease-in-out infinite;
}

.navbar-brand img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-brand img {
    max-height: 60px !important;
    filter: brightness(1.1);
}

/* Image Gallery Styles */
.gallery-section {
  padding: 6rem 0;
  background-color: var(--color-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 1 / 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Our Story Image Split Layout */
.story-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.story-split-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

/* Loading Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid var(--color-border);
    border-top: 6px solid var(--color-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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