/* Roe Clare Cattery & Kennels - Stylesheet */
/* Design Theme: Cheshire Countryside */

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

/* CSS Variables - Color System */
:root {
  /* Soft Cream Background */
  --background: hsl(40, 20%, 97%);
  --background-dark: hsl(40, 15%, 92%);
  
  /* Dark Green Text */
  --foreground: hsl(160, 40%, 15%);
  --foreground-muted: hsl(146, 30%, 35%);
  
  /* Forest Green Primary */
  --primary: hsl(146, 38%, 35%);
  --primary-light: hsl(146, 38%, 45%);
  --primary-dark: hsl(146, 38%, 25%);
  --primary-foreground: #ffffff;
  
  /* Warm Earthy Orange Secondary */
  --secondary: hsl(28, 65%, 55%);
  --secondary-light: hsl(28, 65%, 65%);
  --secondary-dark: hsl(28, 65%, 45%);
  --secondary-foreground: #ffffff;
  
  /* Border & Input Colors */
  --border: hsl(146, 20%, 85%);
  --input-border: hsl(146, 20%, 75%);
  
  /* White */
  --white: #ffffff;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', system-ui, sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

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

/* Top Bar */
.top-bar {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  display: none;
}

@media (min-width: 768px) {
  .top-bar {
    display: block;
  }
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-bar-social a {
  transition: color 0.2s;
}

.top-bar-social a:hover {
  color: var(--secondary);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

@media (min-width: 768px) {
  .header-inner {
    padding: 1.5rem 1rem;
  }
}

.logo img {
  height: 4rem;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo img {
    height: 5rem;
  }
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link.active {
  font-weight: 700;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  transition: color 0.2s;
}

.nav-phone:hover {
  color: var(--secondary);
}

.nav-phone span {
  display: none;
}

@media (min-width: 1024px) {
  .nav-phone span {
    display: inline;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

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

.btn-secondary {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Navigation */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--background);
}

.nav-mobile.active {
  display: flex;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile .nav-link {
  display: block;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 1rem;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--secondary);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-text {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-text {
    font-size: 1.25rem;
  }
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .hero-btns {
    flex-direction: row;
  }
}

/* Page Header */
.page-header {
  background-color: var(--primary);
  padding: 4rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .page-header h1 {
    font-size: 3rem;
  }
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .current {
  color: var(--white);
}

/* Sections */
.section {
  padding: 5rem 0;
}

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

.section-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.section-light {
  background-color: rgba(var(--primary), 0.05);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  display: block;
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-primary .section-title {
  color: var(--white);
}

/* About Section (Home) */
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
  }
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(var(--secondary), 0.2);
  border-radius: 50%;
  z-index: 0;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 8rem;
  height: 8rem;
  background-color: rgba(var(--primary), 0.2);
  border-radius: 50%;
  z-index: 0;
}

.about-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 1;
}

.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-content h2 {
    font-size: 2.5rem;
  }
}

.about-content p {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .about-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about-feature-icon {
  width: 1.75rem;
  height: 1.75rem;
  background-color: rgba(207, 126, 60, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
}

.link-text {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

.service-card-image {
  height: 16rem;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.service-card-content {
  padding: 2rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card-content p {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: center;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.feature-icon {
  width: 5rem;
  height: 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
}

.feature-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.feature-item h3 {
  font-size: 1.25rem;
}

.feature-item p {
  opacity: 0.8;
}

/* CTA Section */
.cta-section {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-section h2 {
    font-size: 3rem;
  }
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  margin-bottom: 2.5rem;
}

.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-btns {
    flex-direction: row;
  }
}

/* About Page */
.about-story {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: flex-start;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .about-story {
    flex-direction: row;
  }
}

.about-story-image {
  flex: 1;
}

.about-story-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.about-story-content {
  flex: 1;
}

.about-story-content h2 {
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.about-story-content p {
  color: var(--foreground-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.why-choose-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .why-choose-box {
    padding: 3rem;
  }
}

.why-choose-box h2 {
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

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

@media (min-width: 768px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-choose-item h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.why-choose-item p {
  color: var(--foreground-muted);
}

/* Services Page */
.service-section {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.service-section:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .service-section {
    flex-direction: row;
  }
}

.service-section.reverse {
  flex-direction: column;
}

@media (min-width: 768px) {
  .service-section.reverse {
    flex-direction: row-reverse;
  }
}

.service-section-image {
  flex: 1;
}

.service-section-image img {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
}

.service-section-content {
  flex: 1;
}

.service-section-content .section-label {
  text-align: left;
  margin-bottom: 0.5rem;
}

.service-section-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .service-section-content h2 {
    font-size: 2.5rem;
  }
}

.service-section-content p {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.service-list {
  margin-bottom: 2rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.service-list-icon {
  width: 1.5rem;
  height: 1.5rem;
  background-color: rgba(207, 126, 60, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.service-list li span {
  color: var(--foreground);
  opacity: 0.8;
}

/* Pricing Box */
.pricing-box {
  background-color: rgba(62, 123, 93, 0.05);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  text-align: center;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .pricing-box {
    padding: 3rem;
  }
}

.pricing-box h2 {
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.pricing-box p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2 {
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.contact-info > p {
  color: var(--foreground-muted);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  background-color: rgba(62, 123, 93, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item h3 {
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: var(--foreground-muted);
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

/* Contact Form */
.contact-form-box {
  background-color: var(--white);
  padding: 2rem;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-box h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  background-color: var(--background);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 123, 93, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-message {
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  display: none;
}

.form-message.success {
  display: block;
  background-color: rgba(62, 123, 93, 0.1);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.form-message.error {
  display: block;
  background-color: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid #dc2626;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-about h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-about p {
  opacity: 0.8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.footer-social a:hover {
  background-color: var(--secondary);
}

.footer-links h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-links .dot {
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--secondary);
  border-radius: 50%;
}

.footer-contact h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  opacity: 0.8;
}

.footer-contact svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.max-w-4xl {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.max-w-5xl {
  max-width: 64rem;
  margin-left: auto;
  margin-right: auto;
}

.mb-0 {
  margin-bottom: 0;
}

.space-y-24 > * + * {
  margin-top: 6rem;
}

/* Icons - SVG styles */
svg {
  width: 1.25rem;
  height: 1.25rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-lg svg {
  width: 2.5rem;
  height: 2.5rem;
}

/* Gallery Page */
.gallery-intro {
  color: var(--foreground-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 1rem auto 0;
}

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

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.gallery-item-wide {
  grid-column: span 1;
}

@media (min-width: 640px) {
  .gallery-item-wide {
    grid-column: span 2;
  }
}

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

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  z-index: 1001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-close svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
  z-index: 1001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav svg {
  width: 1.5rem;
  height: 1.5rem;
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
