/* Un Pelage Au Poil - Premium Styling */

:root {
  /* React App System */
  --primary: #891a1a;
  --primary-light: #fdfaf7;
  --primary-dark: #201212;
  --secondary: #A62b2b; /* Lighter variant for hovers */
  
  --bg: var(--primary-light);
  --bg-alt: #f4efeb;
  --text: var(--primary-dark);
  --text-light: #524747;
  --accent: var(--primary);
  
  --shadow: 0 10px 30px rgba(137, 26, 26, 0.05);

  /* Layout and Effects */
  --glass: rgba(253, 250, 247, 0.75);
  --glass-border: rgba(137, 26, 26, 0.1);
  --radius: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode Variables */
[data-theme="dark"] {
  --bg: var(--primary-dark);
  --bg-alt: #2a1818;
  --text: var(--primary-light);
  --text-light: #d1c8c8;
  --accent: #f28c8c;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  
  --glass: rgba(32, 18, 18, 0.75);
  --glass-border: rgba(253, 250, 247, 0.1);
}

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

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  transition: background-color 0.3s, color 0.3s;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

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

.grid {
  display: grid;
  gap: 2rem;
}

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

@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: var(--glass);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-icon {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

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

.logo .ribbon {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  position: relative;
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
}

.logo .ribbon::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.logo .ribbon:hover {
  color: var(--primary-dark);
}

.logo .ribbon:hover::after {
  width: 100%;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  margin-left: 2rem;
  font-weight: 500;
  transition: var(--primary) 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Buttons */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(160, 27, 33, 0.3);
}

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

.btn-outline {
  background: transparent;
  border: 1px solid white;
  color: white;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1516734212186-a967f81ad0d7?auto=format&fit=crop&q=80&w=2071') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

.hero-content h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content .accent {
  color: var(--accent);
  font-style: italic;
}

.hero-content p {
  font-size: 1.4rem;
  max-width: 600px;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.hero-btns .btn {
  margin-right: 1rem;
}

/* Glass Cards */
.glass {
  background: var(--glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

/* Gallery */
.gallery {
  padding: 8rem 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 350px;
}

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

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(160, 27, 33, 0.8));
  color: white;
  padding: 2rem 1.5rem 1rem;
  opacity: 0;
  transition: 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonials {
  padding: 8rem 0;
  background: var(--bg-alt);
  text-align: center;
}

.testi-header {
  margin-bottom: 4rem;
}

.rating {
  font-size: 1.5rem;
  color: var(--accent);
  margin-top: 1rem;
}

.testi-carousel {
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testi-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testi-card {
  min-width: 100%;
  padding: 3rem;
  margin: 0;
}

.testi-card p {
  font-size: 1.4rem;
  font-style: italic;
  margin-bottom: 2rem;
}

.testi-author {
  font-weight: bold;
  color: var(--primary);
}

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 4rem;
  color: var(--primary);
}

.service-card {
  text-align: center;
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  background: white;
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

/* Expertise */
.expertise {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.expertise-card {
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(137, 26, 26, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
  border-radius: var(--radius);
}

.expertise-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(137, 26, 26, 0.12);
  border-color: rgba(137, 26, 26, 0.3);
}

.expertise-card:hover::before {
  opacity: 1;
}

.expertise-icon {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .expertise-icon {
  background: rgba(0, 0, 0, 0.2);
}

.expertise-card:hover .expertise-icon {
  transform: scale(1.15) translateY(-5px);
  box-shadow: 0 15px 30px rgba(137, 26, 26, 0.2);
}

/* Subscription */
.subscription {
  padding: 8rem 0;
}

.sub-split {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.sub-text {
  padding: 4rem;
}

.badge {
  background: var(--accent);
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sub-text h2 {
  font-size: 3rem;
  margin: 1rem 0;
}

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

.sub-list li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.sub-list li::before {
  content: '✓';
  color: var(--primary);
  margin-right: 1rem;
  font-weight: bold;
}

.sub-promo {
  background: var(--primary);
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.discount-circle {
  width: 200px;
  height: 200px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  animation: float 3s ease-in-out infinite;
}

.discount-circle .pct {
  font-size: 4rem;
  font-weight: bold;
}

/* Booking */
.booking {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.booking-card {
  max-width: 900px;
  margin: 0 auto;
}

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

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

.form-group label {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-display {
  grid-column: span 2;
  background: var(--bg-alt);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 1px dashed var(--primary);
}

.price-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

#estimated-price {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Playfair Display', serif;
}

.promo-text {
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.5rem;
}

.form-actions {
  grid-column: span 2;
}

.w-100 { width: 100%; }

@media (max-width: 700px) {
  .booking-grid { grid-template-columns: 1fr; }
  .price-display, .form-actions { grid-column: span 1; }
}

/* Contact */
.contact {
  padding: 8rem 0;
  background: var(--bg-alt);
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-family: inherit;
}

/* Intro */
.intro {
  padding: 8rem 0;
}

.intro .subtitle {
  margin-top: 1.5rem;
}

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

.footer h3 {
  color: var(--primary-light);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col p {
  color: #ccc;
  margin-bottom: 0.8rem;
}

.footer-col strong {
  color: white;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
