/* 
* Blunivorent - Main Stylesheet
* Created: July 2025
*/

/* CSS Custom Properties (variables) */
:root {
  /* Color Palette */
  --blunivorent-white: #ffffff;
  --blunivorent-light-gray: #f2f2f2;
  --blunivorent-cream: #eae4d5;
  --blunivorent-taupe: #b6b09f;
  --blunivorent-black: #000000;

  /* Spacing Variables */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-xxl: 3rem;

  /* Typography */
  --font-primary: 'Cormorant', serif;
  --font-secondary: 'Montserrat', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-circle: 50%;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--blunivorent-black);
  background-color: var(--blunivorent-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.2rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: var(--space-xl);
  position: relative;
}

h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background-color: var(--blunivorent-taupe);
  margin: var(--space-sm) auto 0;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
}

p {
  margin-bottom: var(--space-md);
}

ul {
  list-style: none;
}

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

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

button {
  font-family: var(--font-secondary);
  cursor: pointer;
  border: none;
  background: none;
}

.blunivorent-section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-xl);
}

/* Container */
.blunivorent-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* Header and Navigation */
.blunivorent-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--blunivorent-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

.blunivorent-header .blunivorent-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.blunivorent-logo-container {
  display: flex;
  align-items: center;
}

.blunivorent-logo h1 {
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.blunivorent-nav {
  display: flex;
  align-items: center;
}

.blunivorent-nav-menu {
  display: flex;
  gap: var(--space-md);
}

.blunivorent-nav-menu a {
  padding: var(--space-sm) var(--space-sm);
  font-weight: 500;
  position: relative;
}

.blunivorent-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--blunivorent-taupe);
  transition: width var(--transition-medium), left var(--transition-medium);
}

.blunivorent-nav-menu a:hover::after {
  width: 100%;
  left: 0;
}

.blunivorent-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.blunivorent-nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--blunivorent-black);
  transition: transform var(--transition-medium);
}

/* Main Sections */
main {
  padding-top: 70px; /* Header height */
}

section {
  padding: var(--space-xxl) 0;
}

/* Hero Section */
.blunivorent-hero {
  height: calc(100vh - 70px);
  min-height: 500px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.4)),
    url('../img/hero-bg.jpg') no-repeat center/cover;
  color: var(--blunivorent-white);
  text-align: center;
}

.blunivorent-hero-content {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-xl);
}

.blunivorent-hero h2 {
  font-size: 3rem;
  margin-bottom: var(--space-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.blunivorent-hero p {
  font-size: 1.2rem;
  margin-bottom: var(--space-xl);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.blunivorent-hero-cta {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* Buttons */
.blunivorent-btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-align: center;
  transition: all var(--transition-fast);
}

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

.blunivorent-btn-primary:hover {
  background-color: var(--blunivorent-black);
}

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

.blunivorent-btn-secondary:hover {
  background-color: var(--blunivorent-white);
  color: var(--blunivorent-black);
}

/* About Section */
.blunivorent-about {
  background-color: var(--blunivorent-light-gray);
}

.blunivorent-about-content {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
}

.blunivorent-about-text {
  flex: 1;
}

.blunivorent-about-image {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.blunivorent-about-highlights {
  margin-top: var(--space-xl);
}

.blunivorent-highlight {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.blunivorent-icon {
  margin-right: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--blunivorent-cream);
  border-radius: var(--radius-circle);
  flex-shrink: 0;
}

.blunivorent-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--blunivorent-taupe);
}

.blunivorent-highlight-text h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.2rem;
}

/* Classes Section */
.blunivorent-classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.blunivorent-class-card {
  background-color: var(--blunivorent-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium),
    box-shadow var(--transition-medium);
}

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

.blunivorent-class-image {
  height: 200px;
  overflow: hidden;
}

.blunivorent-class-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.blunivorent-class-content {
  padding: var(--space-lg);
}

.blunivorent-class-content h3 {
  margin-bottom: var(--space-sm);
}

.blunivorent-class-details {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.blunivorent-class-details li {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--blunivorent-taupe);
}

.blunivorent-detail-icon {
  margin-right: var(--space-xs);
  display: flex;
  align-items: center;
}

.blunivorent-detail-icon svg {
  fill: var(--blunivorent-taupe);
}

/* Pricing Section */
.blunivorent-pricing {
  background-color: var(--blunivorent-cream);
}

.blunivorent-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.blunivorent-pricing-card {
  background-color: var(--blunivorent-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium);
}

.blunivorent-pricing-card:hover {
  transform: translateY(-5px);
}

.blunivorent-featured {
  border: 2px solid var(--blunivorent-taupe);
  transform: scale(1.02);
}

.blunivorent-featured:hover {
  transform: scale(1.02) translateY(-5px);
}

.blunivorent-pricing-header {
  padding: var(--space-lg);
  text-align: center;
  background-color: var(--blunivorent-light-gray);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blunivorent-price {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--blunivorent-black);
  margin: var(--space-sm) 0;
}

.blunivorent-pricing-header p {
  color: var(--blunivorent-taupe);
  margin-bottom: 0;
}

.blunivorent-pricing-body {
  padding: var(--space-lg);
}

.blunivorent-pricing-features {
  margin-bottom: var(--space-lg);
}

.blunivorent-pricing-features li {
  padding: var(--space-sm) 0;
  position: relative;
}

.blunivorent-pricing-features li:before {
  content: '✓';
  margin-right: var(--space-sm);
  color: var(--blunivorent-taupe);
}

.blunivorent-pricing-note {
  text-align: center;
  color: var(--blunivorent-taupe);
  font-size: 0.9rem;
  font-style: italic;
}

/* Schedule Section */
.blunivorent-schedule-wrapper {
  background-color: var(--blunivorent-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.blunivorent-schedule-days {
  display: flex;
  background-color: var(--blunivorent-light-gray);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.blunivorent-day-btn {
  flex: 1;
  padding: var(--space-md);
  text-align: center;
  font-weight: 500;
  transition: background-color var(--transition-fast),
    color var(--transition-fast);
}

.blunivorent-day-btn:hover {
  background-color: rgba(182, 176, 159, 0.1);
}

.blunivorent-day-btn.active {
  background-color: var(--blunivorent-taupe);
  color: var(--blunivorent-white);
}

.blunivorent-schedule-content {
  padding: var(--space-lg);
}

.blunivorent-schedule-day {
  display: none;
}

.blunivorent-schedule-day.active {
  display: block;
}

.blunivorent-schedule-item {
  display: flex;
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.blunivorent-schedule-item:last-child {
  border-bottom: none;
}

.blunivorent-schedule-time {
  width: 100px;
  font-weight: 500;
  color: var(--blunivorent-taupe);
}

.blunivorent-schedule-class {
  flex: 1;
}

.blunivorent-schedule-class h4 {
  margin-bottom: 0;
}

.blunivorent-schedule-class p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--blunivorent-taupe);
}

.blunivorent-schedule-status {
  width: 80px;
  text-align: center;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  background-color: var(--blunivorent-light-gray);
  font-size: 0.85rem;
}

.blunivorent-full {
  background-color: var(--blunivorent-taupe);
  color: var(--blunivorent-white);
}

.blunivorent-schedule-cta {
  margin-top: var(--space-xl);
  text-align: center;
}

/* Gallery Section */
.blunivorent-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.blunivorent-gallery-item {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.blunivorent-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-medium);
}

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

.blunivorent-gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.blunivorent-gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox */
.blunivorent-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.blunivorent-lightbox.active {
  display: flex;
}

.blunivorent-lightbox-content {
  max-width: 80%;
  max-height: 80%;
  position: relative;
}

.blunivorent-lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.blunivorent-lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--blunivorent-white);
  font-size: 30px;
  cursor: pointer;
}

.blunivorent-lightbox-controls {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--space-md);
}

.blunivorent-lightbox-prev,
.blunivorent-lightbox-next {
  background-color: var(--blunivorent-taupe);
  color: var(--blunivorent-white);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-circle);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.blunivorent-lightbox-prev:hover,
.blunivorent-lightbox-next:hover {
  background-color: var(--blunivorent-black);
}

/* Contact Section */
.blunivorent-contact {
  background-color: var(--blunivorent-light-gray);
}

.blunivorent-contact-content {
  display: flex;
  gap: var(--space-xl);
}

.blunivorent-contact-info {
  flex: 1;
}

.blunivorent-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

.blunivorent-contact-form {
  flex: 1;
  background-color: var(--blunivorent-white);
  padding: var(--space-xl);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.blunivorent-form-group {
  margin-bottom: var(--space-md);
}

.blunivorent-form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 500;
}

.blunivorent-form-group input,
.blunivorent-form-group select,
.blunivorent-form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  transition: border-color var(--transition-fast);
}

.blunivorent-form-group input:focus,
.blunivorent-form-group select:focus,
.blunivorent-form-group textarea:focus {
  outline: none;
  border-color: var(--blunivorent-taupe);
}

.blunivorent-checkbox {
  display: flex;
  align-items: center;
}

.blunivorent-checkbox input {
  width: auto;
  margin-right: var(--space-sm);
}

.blunivorent-checkbox label {
  margin-bottom: 0;
  font-weight: normal;
  font-size: 0.9rem;
}

.blunivorent-checkbox a {
  color: var(--blunivorent-taupe);
  text-decoration: underline;
}

/* Footer */
.blunivorent-footer {
  background-color: var(--blunivorent-black);
  color: var(--blunivorent-white);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.blunivorent-footer-content {
  display: flex;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.blunivorent-footer-info {
  flex: 2;
}

.blunivorent-footer-logo h2 {
  color: var(--blunivorent-white);
  margin-bottom: var(--space-md);
  text-align: left;
}

.blunivorent-footer-logo h2::after {
  display: none;
}

.blunivorent-footer-links {
  flex: 1;
}

.blunivorent-footer-links ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.blunivorent-footer-links a {
  transition: color var(--transition-fast);
}

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

.blunivorent-newsletter-form {
  display: flex;
  margin-top: var(--space-md);
}

.blunivorent-newsletter-form input {
  flex: 1;
  padding: var(--space-sm);
  border: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.blunivorent-newsletter-form button {
  background-color: var(--blunivorent-taupe);
  color: var(--blunivorent-white);
  padding: var(--space-sm) var(--space-md);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition: background-color var(--transition-fast);
}

.blunivorent-newsletter-form button:hover {
  background-color: var(--blunivorent-cream);
}

.blunivorent-newsletter-form button svg {
  fill: var(--blunivorent-white);
}

.blunivorent-footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blunivorent-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.blunivorent-legal-links {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.9rem;
}

.blunivorent-legal-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.blunivorent-legal-links a:hover {
  color: var(--blunivorent-white);
}

/* Thank You Page */
.blunivorent-thankyou {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--blunivorent-light-gray);
}

.blunivorent-thankyou-content {
  max-width: 600px;
  padding: var(--space-xl);
  background-color: var(--blunivorent-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.blunivorent-thankyou h2 {
  margin-top: var(--space-lg);
}

.blunivorent-thankyou-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background-color: var(--blunivorent-cream);
  border-radius: var(--radius-circle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blunivorent-thankyou-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--blunivorent-taupe);
}

.blunivorent-thankyou-message {
  margin-bottom: var(--space-xl);
}

/* Media Queries */
@media (max-width: 991px) {
  /* Typography */
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  body {
    font-size: 15px;
  }

  /* Spacing */
  section {
    padding: var(--space-xl) 0;
  }

  /* Navigation */
  .blunivorent-nav-toggle {
    display: flex;
  }

  .blunivorent-nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background-color: var(--blunivorent-white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-md);
    transition: right var(--transition-medium);
    z-index: 1000;
  }

  .blunivorent-nav-menu.active {
    right: 0;
  }

  .blunivorent-nav-menu li {
    width: 100%;
  }

  .blunivorent-nav-menu a {
    display: block;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .blunivorent-nav-menu a::after {
    display: none;
  }

  /* Hero */
  .blunivorent-hero {
    height: auto;
    min-height: 450px;
  }

  .blunivorent-hero h2 {
    font-size: 2.2rem;
  }

  /* About */
  .blunivorent-about-content {
    flex-direction: column;
  }

  .blunivorent-about-image {
    order: -1;
    margin-bottom: var(--space-lg);
  }

  /* Pricing */
  .blunivorent-featured {
    transform: none;
  }

  .blunivorent-featured:hover {
    transform: translateY(-5px);
  }

  /* Contact */
  .blunivorent-contact-content {
    flex-direction: column;
  }

  /* Footer */
  .blunivorent-footer-content {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .blunivorent-footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

@media (max-width: 767px) {
  /* Containers */
  .blunivorent-container {
    padding: 0 var(--space-md);
  }

  /* Typography */
  h2 {
    font-size: 1.5rem;
  }

  /* Classes */
  .blunivorent-classes-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .blunivorent-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Schedule */
  .blunivorent-schedule-days {
    flex-wrap: wrap;
  }

  .blunivorent-day-btn {
    flex: 0 0 33.33%;
  }

  .blunivorent-schedule-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .blunivorent-schedule-time {
    width: 100%;
    margin-bottom: var(--space-xs);
  }

  .blunivorent-schedule-status {
    margin-top: var(--space-xs);
    width: auto;
  }
}

@media (max-width: 480px) {
  /* Typography */
  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .blunivorent-hero h2 {
    font-size: 1.8rem;
  }

  body {
    font-size: 14px;
  }

  /* Hero */
  .blunivorent-hero-cta {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Buttons */
  .blunivorent-btn {
    width: 100%;
  }

  /* Gallery */
  .blunivorent-gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Schedule */
  .blunivorent-day-btn {
    flex: 0 0 50%;
    padding: var(--space-sm);
    font-size: 0.9rem;
  }

  /* Legal Links */
  .blunivorent-legal-links {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }
}

@media (max-width: 320px) {
  /* Base Spacing */
  :root {
    --space-md: 0.75rem;
    --space-lg: 1.25rem;
    --space-xl: 1.75rem;
  }

  /* Typography */
  body {
    font-size: 13px;
  }

  /* Layout */
  .blunivorent-container {
    padding: 0 var(--space-sm);
  }
}
