/* ============ Variables ============ */
:root {
  /* Color scheme */
  --primary: #6200EA; /* Main purple */
  --primary-dark: #5000D3;
  --primary-light: #7C4DFF;
  --secondary: #00E5B0; /* Teal accent */
  --secondary-dark: #00C4A0;
  --secondary-light: #4FFFCF;
  --tertiary: #FF9100; /* Orange accent */
  --tertiary-dark: #E68200;
  --tertiary-light: #FFAB40;
  
  /* Neutral colors */
  --bg-light: #F4F7FC;
  --bg-dark: #151C29;
  --text-light: #F4F7FC;
  --text-dark: #151C29;
  --text-muted: #718096;
  --border-light: #E2E8F0;
  
  /* Neomorphism shadows */
  --nm-shadow-small: 5px 5px 10px rgba(0, 0, 0, 0.1), -5px -5px 10px rgba(255, 255, 255, 0.8);
  --nm-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1), -10px -10px 20px rgba(255, 255, 255, 0.8);
  --nm-shadow-large: 15px 15px 30px rgba(0, 0, 0, 0.1), -15px -15px 30px rgba(255, 255, 255, 0.8);
  --nm-shadow-inset: inset 5px 5px 10px rgba(0, 0, 0, 0.1), inset -5px -5px 10px rgba(255, 255, 255, 0.8);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  
  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 2rem;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-slow: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-medium: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ============ Base Styles ============ */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .title, .subtitle {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

/* Section styling */
.section {
  padding: 4rem 1.5rem;
}

.section-title {
  position: relative;
  margin-bottom: 2.5rem !important;
  color: var(--text-dark);
}

.hero-wrapper {
  width: 100%;
}
.hero-button {
  @media(max-width: 768px) {
    font-size: 1.3rem !important;
  }
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: var(--radius-full);
}

/* ============ Neomorphic Elements ============ */
.neomorphic-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--nm-shadow);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.neomorphic-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--nm-shadow-large);
}

.neomorphic-accordion {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  box-shadow: var(--nm-shadow-small);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: box-shadow var(--transition-medium);
}

.neomorphic-accordion:hover {
  box-shadow: var(--nm-shadow);
}

.neomorphic-button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--nm-shadow-small);
  transition: all var(--transition-medium);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 1.5rem;
}

.neomorphic-button:hover, .neomorphic-button:focus {
  background: var(--primary-dark);
  box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
  transform: translateY(-2px);
  color: white;
}

.neomorphic-button:active {
  transform: translateY(0);
  box-shadow: var(--nm-shadow-inset);
}

.neomorphic-input, 
.neomorphic-textarea, 
.neomorphic-select select {
  background-color: var(--bg-light);
  border: none;
  border-radius: var(--radius-md);
  box-shadow: var(--nm-shadow-inset);
  transition: box-shadow var(--transition-medium);
  padding: 0.75rem 1rem;
}

.neomorphic-input:focus, 
.neomorphic-textarea:focus, 
.neomorphic-select select:focus {
  box-shadow: var(--nm-shadow-inset), 0 0 0 2px var(--primary-light);
  outline: none;
}

.neomorphic-container {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.neomorphic-social-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.25rem;
  background-color: var(--bg-light);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--nm-shadow-small);
  transition: all var(--transition-medium);
  text-decoration: none;
}

.neomorphic-social-button:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3);
}

/* ============ Header & Navigation ============ */
.header {
  background-color: var(--bg-light);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}

.navbar {
  min-height: 4rem;
  background-color: transparent;
}

.navbar-item {
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  padding: 0.5rem 1rem;
}

.navbar-item:hover {
  color: var(--primary);
  background-color: transparent !important;
}

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

/* ============ Hero Section ============ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 4rem;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .subtitle {
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-text {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.scroll-down-arrow {
  position: relative;
  width: 30px;
  height: 30px;
  margin: 0 auto 2rem;
}

.scroll-down-arrow span {
  position: absolute;
  top: 0;
  left: 50%;
  width: 24px;
  height: 24px;
  margin-left: -12px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
  animation: scrollDownAnimation 2s infinite;
  opacity: 0;
}

.scroll-down-arrow span:nth-of-type(1) {
  animation-delay: 0s;
}

.scroll-down-arrow span:nth-of-type(2) {
  top: 10px;
  animation-delay: 0.15s;
}

.scroll-down-arrow span:nth-of-type(3) {
  top: 20px;
  animation-delay: 0.3s;
}

@keyframes scrollDownAnimation {
  0% { opacity: 0; transform: rotate(-45deg) translate(0, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: rotate(-45deg) translate(10px, 10px); }
}

/* ============ Features Section ============ */
.features-section {
  background-color: var(--bg-light);
}

.card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  margin-bottom: 1rem;
}

.card-content p {
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* ============ Pricing Section ============ */
.pricing-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f5ff 100%);
}

.price-card {
  text-align: center;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-price {
  border: 2px solid var(--primary);
  transform: scale(1.05);
  z-index: 2;
}

.price-header {
  padding: 2rem 1rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  color: white;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.price-header .title {
  color: white;
  margin-bottom: 0.5rem;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: 'Raleway', sans-serif;
}

.price-features {
  padding: 2rem 1.5rem;
  flex-grow: 1;
}

.price-features ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.price-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.price-footer {
  padding: 1.5rem;
}

.membership-card, .night-card {
  padding: 2rem;
  height: 100%;
}

.membership-card h3, .night-card h3 {
  margin-bottom: 1.5rem;
}

.ribbon {
  width: 150px;
  height: 150px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 225px;
  padding: 8px 0;
  background-color: var(--tertiary);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  color: white;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-align: center;
  left: -25px;
  top: 30px;
  transform: rotate(45deg);
  font-weight: 700;
}

/* ============ Portfolio Section ============ */
.portfolio-section {
  background-color: var(--bg-light);
}

.gallery-card .card-content {
  padding: 1.5rem;
  text-align: center;
}

.gallery-card .title {
  margin-bottom: 0.5rem;
}

/* ============ Resources Section ============ */
.resources-section {
  background: linear-gradient(135deg, #f0f5ff 0%, var(--bg-light) 100%);
}

.resource-card {
  padding: 2rem;
  height: 100%;
}

.resource-links {
  list-style-type: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.resource-links li {
  margin-bottom: 1rem;
}

.resource-links a {
  color: var(--primary);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.resource-links a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============ Insights Section ============ */
.insights-section {
  background-color: var(--bg-light);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.accordion-header:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform var(--transition-medium);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
  padding: 0 1.5rem;
}

.accordion.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion.active .accordion-content {
  max-height: 500px;
  padding-bottom: 1.5rem;
}

/* ============ Careers Section ============ */
.careers-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, #f0f5ff 100%);
}

.careers-card, .benefits-card {
  padding: 2rem;
  height: 100%;
}

.vacancy-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border-light);
}

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

.vacancy-item h4 {
  margin-bottom: 1rem;
}

.benefits-list {
  list-style-type: none;
  padding: 0;
}

.benefits-list li {
  display: flex;
  margin-bottom: 1.5rem;
}

.benefits-list .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  margin-right: 1rem;
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits-list h4 {
  margin-bottom: 0.25rem;
}

/* ============ Blog Section ============ */
.blog-section {
  background-color: var(--bg-light);
}

.blog-card .card-image {
  height: 200px;
  overflow: hidden;
}

.blog-card .date {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.blog-card .title {
  margin-bottom: 1rem;
}

.blog-card .excerpt {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-card a.button {
  align-self: flex-start;
}

/* ============ Contact Section ============ */
.contact-section {
  background: linear-gradient(135deg, #f0f5ff 0%, var(--bg-light) 100%);
}

.contact-form-card, .contact-info-card {
  padding: 2rem;
  height: 100%;
}

.contact-item {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-item .icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  margin-right: 1rem;
  color: var(--primary);
}

.contact-item h4 {
  margin-bottom: 0.5rem;
}

.social-media {
  margin-top: 2rem;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

/* ============ Footer ============ */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 1.5rem 2rem;
}

.footer-title {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.footer .social-links {
  display: flex;
}

.footer .social-links a {
  color: var(--text-muted);
  margin-right: 1.5rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer .social-links a:hover {
  color: white;
}

.footer-links {
  list-style-type: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.footer-contact-info {
  list-style-type: none;
  padding: 0;
  color: var(--text-muted);
}

.footer-contact-info li {
  margin-bottom: 0.75rem;
}

.footer-contact-info a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-contact-info a:hover {
  color: white;
}

.footer-subscribe-text {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-subscribe-form .input {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
}

.footer-subscribe-form .button {
  background-color: var(--primary);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-copyright {
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  margin-left: 1.5rem;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-legal a:hover {
  color: white;
}

/* ============ Privacy & Terms Pages ============ */
.privacy-content, .terms-content {
  padding-top: 100px;
}

/* ============ Success Page ============ */
.success-page {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

/* ============ Responsive Design ============ */
@media screen and (max-width: 1023px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .featured-price {
    transform: none;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.25rem;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
  }
  
  .footer-copyright {
    margin-bottom: 1rem;
  }
  
  .footer-legal a {
    margin: 0 0.75rem;
  }
}

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

.fade-in {
  animation: fadeIn var(--transition-medium) forwards;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Fix for image display in cards */
.card-image figure.image {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.card-image figure.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Success page specific styles */
.success-icon {
  font-size: 5rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.success-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.success-message {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 600px;
}

/* Button for "Read More" links */
.button.is-primary.neomorphic-button {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  transition: all var(--transition-medium);
}

/* Ensure content does not overlap with fixed header */
body {
  padding-top: 4rem;
}

/* Ensure proper spacing for sections */
section:first-of-type {
  margin-top: -4rem;
}