
/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700;800&display=swap');

/* Base styles */
:root {
  --primary-font: 'Inter', sans-serif;
  --heading-font: 'Playfair Display', serif;
  --background-light: #ffffff;
  --background-dark: #000000;
  --text-light: #ffffff;
  --text-dark: #000000;
  --text-gray: #6B7280;
  --border-color: #E5E7EB;
  --border-radius: 0.75rem;
  --transition-speed: 300ms;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 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);
  --red: #ea384c;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--primary-font);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

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

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

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--background-dark);
  color: var(--text-light);
}

/* Grid */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.space-x-6 > * + * {
  margin-left: 1.5rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
  
  .sm\:space-y-0 > * + * {
    margin-top: 0;
  }
  
  .sm\:space-x-6 > * + * {
    margin-left: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:flex-row {
    flex-direction: row;
  }
  
  .md\:space-y-0 > * + * {
    margin-top: 0;
  }
  
  .md\:space-x-4 > * + * {
    margin-left: 1rem;
  }
}

/* Text utilities */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.text-7xl {
  font-size: 4.5rem;
}

.font-medium {
  font-weight: 500;
}

.font-bold {
  font-weight: 700;
}

.font-heading {
  font-family: var(--heading-font);
}

.text-white {
  color: var(--text-light);
}

.text-black {
  color: var(--text-dark);
}

.text-gray-300 {
  color: rgba(209, 213, 219, 1);
}

.text-gray-400 {
  color: rgba(156, 163, 175, 1);
}

.text-gray-500 {
  color: rgba(107, 114, 128, 1);
}

.text-gray-600 {
  color: rgba(75, 85, 99, 1);
}

.text-gray-800 {
  color: rgba(31, 41, 55, 1);
}

/* Spacing utilities */
.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-5 {
  margin-bottom: 1.25rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

.mt-12 {
  margin-top: 3rem;
}

.mt-16 {
  margin-top: 4rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mr-3 {
  margin-right: 0.75rem;
}

.mr-4 {
  margin-right: 1rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.pt-4 {
  padding-top: 1rem;
}

.pt-8 {
  padding-top: 2rem;
}

.pt-10 {
  padding-top: 2.5rem;
}

.pt-12 {
  padding-top: 3rem;
}

.pt-16 {
  padding-top: 4rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pt-32 {
  padding-top: 8rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.p-1 {
  padding: 0.25rem;
}

.p-4 {
  padding: 1rem;
}

.p-6 {
  padding: 1.5rem;
}

.p-8 {
  padding: 2rem;
}

@media (min-width: 768px) {
  .md\:p-8 {
    padding: 2rem;
  }
  
  .md\:p-10 {
    padding: 2.5rem;
  }
  
  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

/* Background colors */
.bg-black {
  background-color: var(--background-dark);
}

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

.bg-gray-50 {
  background-color: #F9FAFB;
}

.bg-gray-100 {
  background-color: #F3F4F6;
}

.bg-gray-200 {
  background-color: #E5E7EB;
}

.bg-gray-300 {
  background-color: #D1D5DB;
}

.bg-white\/5 {
  background-color: rgba(255, 255, 255, 0.05);
}

.bg-white\/10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-gray-900 {
  background-color: #111827;
}

.bg-red-600 {
  background-color: var(--red);
}

/* Width and height utilities */
.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.w-8 {
  width: 2rem;
}

.h-8 {
  height: 2rem;
}

.w-10 {
  width: 2.5rem;
}

.h-10 {
  height: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-12 {
  height: 3rem;
}

.w-14 {
  width: 3.5rem;
}

.h-14 {
  height: 3.5rem;
}

.w-20 {
  width: 5rem;
}

.h-20 {
  height: 5rem;
}

.h-24 {
  height: 6rem;
}

.w-24 {
  width: 6rem;
}

.min-h-screen {
  min-height: 100vh;
}

.max-w-md {
  max-width: 28rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-6xl {
  max-width: 72rem;
}

.max-w-7xl {
  max-width: 80rem;
}

/* Border utilities */
.border {
  border-width: 1px;
  border-style: solid;
}

.border-t {
  border-top-width: 1px;
  border-top-style: solid;
}

.border-gray-200 {
  border-color: var(--border-color);
}

.border-white\/10 {
  border-color: rgba(255, 255, 255, 0.1);
}

.border-white\/20 {
  border-color: rgba(255, 255, 255, 0.2);
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-3xl {
  border-radius: 1.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

/* Shadow utilities */
.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.shadow-md {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Position utilities */
.fixed {
  position: fixed;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.top-0 {
  top: 0;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.bottom-0 {
  bottom: 0;
}

.-bottom-6 {
  bottom: -1.5rem;
}

.-right-6 {
  right: -1.5rem;
}

.z-50 {
  z-index: 50;
}

/* Display utilities */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.hidden {
  display: none;
}

@media (min-width: 768px) {
  .md\:block {
    display: block;
  }
  
  .md\:flex {
    display: flex;
  }
  
  .md\:hidden {
    display: none;
  }
  
  .md\:w-1\/3 {
    width: 33.333333%;
  }
  
  .md\:w-2\/3 {
    width: 66.666667%;
  }
  
  .md\:col-span-2 {
    grid-column: span 2 / span 2;
  }
}

@media (min-width: 1024px) {
  .lg\:order-1 {
    order: 1;
  }
  
  .lg\:order-2 {
    order: 2;
  }
  
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}

/* Transform & animation utilities */
.transform {
  transform-origin: center;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: var(--transition-speed);
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: var(--transition-speed);
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: var(--transition-speed);
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.hover\:scale-105:hover {
  transform: scale(1.05);
}

.-translate-y-full {
  transform: translateY(-100%);
}

.hover\:bg-gray-100:hover {
  background-color: #F3F4F6;
}

.hover\:bg-gray-900:hover {
  background-color: #111827;
}

.hover\:shadow-lg:hover {
  box-shadow: var(--shadow-lg);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.hover\:text-black:hover {
  color: var(--text-dark);
}

.hover\:text-white\/70:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hover\:text-black\/70:hover {
  color: rgba(0, 0, 0, 0.7);
}

/* Object fit */
.object-cover {
  object-fit: cover;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

/* Aspect ratio */
.aspect-square {
  aspect-ratio: 1 / 1;
}

.aspect-video {
  aspect-ratio: 16 / 9;
}

/* Cursor */
.cursor-not-allowed {
  cursor: not-allowed;
}

/* Focus styles */
.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

.focus\:ring-white\/30:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.focus\:ring-black:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5);
}

.focus\:ring-gray-200:focus {
  box-shadow: 0 0 0 2px rgba(229, 231, 235, 0.5);
}

.focus\:ring-offset-2:focus {
  box-shadow: 0 0 0 2px var(--background-light);
}

/* Custom components */

/* Button component */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.btn:hover {
  transform: scale(1.05);
}

.btn:focus {
  outline: none;
}

.btn-primary {
  background-color: var(--red);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: #d12639;
}

.btn-primary:focus {
  box-shadow: 0 0 0 2px rgba(234, 56, 76, 0.5);
}

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

.btn-secondary:hover {
  background-color: rgba(234, 56, 76, 0.1);
}

.btn-secondary:focus {
  box-shadow: 0 0 0 2px rgba(234, 56, 76, 0.3);
}

/* Red button styles */
.btn-red {
  background-color: var(--red);
  color: var(--text-light);
}

.btn-red:hover {
  background-color: #d12639;
}

.btn-red:focus {
  box-shadow: 0 0 0 2px rgba(234, 56, 76, 0.5);
}

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

.btn-red-outline:hover {
  background-color: rgba(234, 56, 76, 0.1);
}

.btn-red-outline:focus {
  box-shadow: 0 0 0 2px rgba(234, 56, 76, 0.3);
}

/* Navigation styles */
#main-nav {
  background-color: var(--background-dark);
}

#main-nav.scrolled {
  background-color: var(--background-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#main-nav.dark {
  background-color: var(--background-dark);
}

#main-nav .nav-link {
  color: var(--text-light);
}

#main-nav.dark.scrolled {
  background-color: var(--background-dark);
}

.nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 500;
  transition: color var(--transition-speed);
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--red);
  transition: width var(--transition-speed);
}

.nav-link:hover:after {
  width: 100%;
}

#main-nav.dark .nav-link:after {
  background-color: var(--red);
}

#main-nav.dark .nav-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile menu */
#mobile-menu {
  max-height: 0;
  opacity: 0;
  transition: all 0.3s ease;
}

#mobile-menu.open {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
}

#main-nav #mobile-menu {
  background-color: var(--background-dark);
}

#main-nav #mobile-menu .nav-link {
  color: var(--text-light);
}

/* Card styles */
.card {
  background-color: var(--background-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  padding: 2rem;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-alt {
  background-color: var(--background-dark);
  color: var(--text-light);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-speed) ease;
  padding: 2rem;
}

.card-alt:hover {
  box-shadow: var(--shadow-lg);
}

/* Testimonial card */
.testimonial-card {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all var(--transition-speed) ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Light testimonial card */
.testimonial-card-light {
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  background-color: var(--background-light);
  border: 1px solid var(--border-color);
  transition: all var(--transition-speed) ease;
}

.testimonial-card-light:hover {
  box-shadow: var(--shadow-lg);
}

/* Backdrop blur */
.backdrop-blur-md {
  backdrop-filter: blur(12px);
}

.backdrop-blur-lg {
  backdrop-filter: blur(16px);
}

/* Footer Style */
footer {
  background-color: var(--background-dark);
  color: var(--text-light);
}

footer a {
  color: var(--text-light);
}

footer a:hover {
  color: var(--red);
}

footer .social-icons a {
  color: var(--text-light);
}

footer .social-icons a:hover {
  color: var(--red);
}

footer .text-gray-300 {
  color: rgba(209, 213, 219, 1);
}

footer .hover\:text-white:hover {
  color: var(--red);
}

footer .hover\:text-red-600:hover {
  color: var(--red);
}

/* Testimonial Carousel Styles */
.testimonial-carousel {
  position: relative;
  padding: 0 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.3s ease;
  padding: 1rem 0;
}

.testimonial-item {
  flex: 0 0 auto;
  margin: 0 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-prev,
.testimonial-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: var(--red);
  color: white;
  border: none;
  transition: all 0.3s ease;
}

.testimonial-prev {
  left: -1rem;
}

.testimonial-next {
  right: -1rem;
}

@media (min-width: 768px) {
  .testimonial-prev {
    left: -3rem;
  }
  
  .testimonial-next {
    right: -3rem;
  }
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background-color: #d12639;
  transform: translateY(-50%) scale(1.1);
}

.testimonial-prev:disabled,
.testimonial-next:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Media queries for testimonial carousel */
@media (max-width: 768px) {
  .testimonial-item {
    width: calc(100% - 2rem);
  }
}
