/* 
  Bonita Estudio - Design System (Material Design 3 Custom)
  Aesthetic: Minimalist, Wood textures, Earthy & Pastel tones.
*/

:root {
  /* Dynamic M3 Color Palette */
  --m3-primary: #C62828; /* Logo Red */
  --m3-on-primary: #FFFFFF;
  --m3-primary-container: #FFDAD4;
  --m3-on-primary-container: #410001;

  --m3-secondary: #775652; /* Earth Brown */
  --m3-on-secondary: #FFFFFF;
  --m3-secondary-container: #FFDAD5;
  --m3-on-secondary-container: #2C1512;

  --m3-tertiary: #705C2E; /* Muted Moss/Olive */
  --m3-on-tertiary: #FFFFFF;
  --m3-tertiary-container: #FCE0A6;
  --m3-on-tertiary-container: #251A00;

  --m3-surface: #FDF8F3; /* Bone/Creamy Base */
  --m3-on-surface: #201A19;
  --m3-surface-variant: #F5EFE6; /* More Earthy variant */
  --m3-on-surface-variant: #534341;

  --m3-outline: #857370;
  --m3-surface-container: #F7EFE8;

  /* Layout Tokens */
  --app-bar-height: 72px;
  --card-radius: 24px;
  --spacing-unit: 8px;

  /* Typography */
  --font-family: 'Red Hat Display', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--m3-surface);
  color: var(--m3-on-surface);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Typography Scale */
h1, h2, h3 {
  font-weight: 700;
  color: var(--m3-on-surface);
  letter-spacing: -0.02em;
}

h1 { font-size: 4rem; line-height: 1.1; margin-bottom: 24px; }
h2 { font-size: 2.5rem; margin-bottom: 32px; }

/* Layout Components */
.promo-banner {
  height: 40px;
  background-color: var(--m3-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  text-transform: uppercase;
}

.app-bar {
  height: var(--app-bar-height);
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(253, 248, 243, 0.8);
  backdrop-filter: blur(20px);
  position: fixed;
  top: 40px; /* Shifted down for the promo banner */
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  justify-content: space-between;
  transition: all 0.3s ease;
}

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

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--m3-primary);
  border-radius: 50%;
}

/* Section Containers */
section {
    width: 100%;
    position: relative;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

/* Hero Section (Section 1) */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Background set inline in HTML to use real photo */
    background-size: cover;
    background-position: center 30%; /* Shifted slightly up for the destapador */
    color: white;
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    animation: fadeIn 1.2s ease-out;
}

.hero h1 { color: white; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.hero p { 
    font-size: 1.5rem; 
    margin-bottom: 40px; 
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Shop Hero Variant */
.hero-shop {
    height: 50vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('assets/hero_studio.png');
}

.hero-shop h1 {
    font-size: 3rem;
}

/* Marquee Section */
.client-marquee {
    background: white;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    gap: 80px;
    animation: marquee 30s linear infinite;
    width: fit-content;
}

.client-logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ccc; /* Grayscale/Placeholder style */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    user-select: none;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Projects Section (Section 2 - Beige) */
.recent-work {
    background-color: var(--m3-surface);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: white;
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.product-info {
    padding: 32px;
}

/* About Section (Section 3 - White) */
.about-section {
    background-color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 48px;
    border-radius: 100px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--m3-primary);
    color: var(--m3-on-primary);
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(198, 40, 40, 0.3);
}

.btn-outline {
    border: 2px solid white;
    color: white;
    margin-left: 16px;
}

.btn-outline:hover {
    background: white;
    color: var(--m3-on-surface);
}

/* Social Icons in Footer */
.social-links {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.social-icon {
    width: 24px;
    height: 24px;
    fill: var(--m3-on-surface-variant);
    transition: fill 0.3s ease;
}

.social-icon:hover {
    fill: var(--m3-primary);
}

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

/* Responsive */
@media (max-width: 900px) {
    h1 { font-size: 2.8rem; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero p { font-size: 1.1rem; }
}
