/* Custom CSS for KLOPOTEK UK LIMITED Website */

:root {
  /* Pastel color scheme variables */
  --primary: #8cb3d9;
  --primary-dark: #6a94c2;
  --secondary: #d9b38c;
  --secondary-dark: #c29c73;
  --accent: #b38cd9;
  --accent-dark: #9c73c2;
  --light: #f9f7f4;
  --light-gray: #eaeaea;
  --dark: #333333;
  --darker: #222222;
  --text-light: #ffffff;
  --text-dark: #333333;
  --text-muted: #666666;
  --success: #8cd9a3;
  --success-dark: #73c289;
  --warning: #d9d28c;
  --warning-dark: #c2bc73;
  --danger: #d98c8c;
  --danger-dark: #c27373;
  
  /* Typography */
  --heading-font: 'Playfair Display', serif;
  --body-font: 'Source Sans Pro', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border radius */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 1rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* General styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  line-height: 1.3;
  color: var(--darker);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-dark);
}

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

a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

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

.rounded-image {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
}

.rounded-image:hover {
  transform: scale(1.02);
}

.section {
  padding: var(--spacing-xl) 0;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.is-rounded {
  border-radius: 50%;
}

/* Header & Navigation */
.header {
  padding-top: 80px; /* Space for fixed navbar */
}

.navbar {
  background-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-medium);
}

.navbar-item {
  font-weight: 600;
  position: relative;
  color: var(--text-dark);
  transition: color var(--transition-fast);
}

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

.navbar-item::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary);
  transition: all var(--transition-medium);
  transform: translateX(-50%);
}

.navbar-item:hover::after {
  width: 80%;
}

/* Buttons */
.button {
  font-weight: 600;
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-primary {
  background-color: var(--primary);
  border-color: transparent;
}

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

.button.is-light {
  background-color: var(--light);
  color: var(--text-dark);
}

.button.is-light:hover {
  background-color: var(--light-gray);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text-light);
}

.hero .title,
.hero .subtitle {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-body {
  display: flex;
  align-items: center;
  z-index: 2;
}

.icon-scroll {
  width: 30px;
  height: 50px;
  margin: 0 auto;
  border: 2px solid var(--text-light);
  border-radius: 25px;
  position: relative;
  animation: bounce 2s infinite;
}

.icon-scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background-color: var(--text-light);
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 30px;
  }
}

/* Vision Section */
.vision-section {
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.vision-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: rgba(140, 179, 217, 0.1);
  z-index: 0;
}

.vision-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(217, 179, 140, 0.1);
  z-index: 0;
}

/* Services Section */
.services-section {
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
  transform: skewY(-2deg);
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
  margin: var(--spacing-xl) 0;
}

.services-section > .container {
  transform: skewY(2deg);
}

.service-card {
  height: 100%;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  display: flex;
  flex-direction: column;
}

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

.card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

.card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card .title {
  color: var(--darker);
  margin-bottom: var(--spacing-sm);
}

/* Team Section */
.team-section {
  background-color: var(--light);
  position: relative;
}

.team-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card .card-image {
  height: 350px;
}

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

.team-card .card-content {
  background-color: var(--light);
  text-align: center;
}

.team-card .title {
  margin-bottom: var(--spacing-xs);
}

.team-card .subtitle {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

/* Instructors Section */
.instructors-section {
  background-color: var(--light-gray);
  position: relative;
}

.instructor-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.instructor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.instructor-card .card-image {
  height: 350px;
}

.instructor-card .card-content {
  background-color: var(--light);
}

.tag {
  margin-right: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  background-color: var(--primary);
  color: var(--text-light);
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.tag:hover {
  background-color: var(--primary-dark);
  transform: scale(1.05);
}

/* Awards Section */
.awards-section {
  background-color: var(--light);
  position: relative;
}

.award-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  margin-bottom: var(--spacing-md);
}

.award-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.award-card .media-left img {
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
}

.award-card .title {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
}

.award-card .subtitle {
  color: var(--text-muted);
  margin-bottom: var(--spacing-sm);
}

/* Accolades Section (Testimonials) */
.accolades-section {
  background-color: var(--light-gray);
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 var(--spacing-md);
}

.testimonial-carousel {
  display: flex;
  transition: transform var(--transition-slow);
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 var(--spacing-sm);
}

.testimonial-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  background-color: var(--light);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-card .icon {
  color: var(--accent);
}

.testimonial-card .media-left img {
  border: 3px solid var(--primary);
}

.carousel-controls {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.prev-button,
.next-button {
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 var(--spacing-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.prev-button:hover,
.next-button:hover {
  background-color: var(--primary-dark);
  transform: scale(1.1);
}

/* Clientele Section */
.clientele-section {
  background-color: var(--light);
  position: relative;
}

.client-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--spacing-md);
  transition: all var(--transition-medium);
}

.client-logo:hover {
  transform: translateY(-5px);
}

.client-logo img {
  max-width: 180px;
  height: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition-medium);
}

.client-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo p {
  margin-top: var(--spacing-xs);
  text-align: center;
  font-weight: 600;
  color: var(--text-muted);
}

/* Resources Section */
.resources-section {
  background-color: var(--light-gray);
  position: relative;
}

.resource-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.resource-list {
  list-style: none;
  padding: 0;
}

.resource-list li {
  margin-bottom: var(--spacing-sm);
  padding-left: var(--spacing-sm);
  position: relative;
}

.resource-list li::before {
  content: '•';
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.resource-list a {
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

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

/* Press Section */
.press-section {
  background-color: var(--light);
  position: relative;
}

.press-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-medium);
  height: 100%;
  margin-bottom: var(--spacing-md);
}

.press-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.press-card .media-left img {
  border-radius: var(--border-radius-sm);
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
  position: relative;
}

.faq-accordion {
  margin-top: var(--spacing-md);
}

.faq-item {
  margin-bottom: var(--spacing-sm);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: var(--light);
}

.faq-question {
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--light);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  background-color: rgba(140, 179, 217, 0.1);
}

.faq-question .title {
  margin: 0;
}

.faq-question .icon {
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question .icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: 0 var(--spacing-md) var(--spacing-md);
  max-height: 1000px;
}

/* Contact Section */
.contact-section {
  background-color: var(--light);
  position: relative;
}

.contact-info {
  margin-bottom: var(--spacing-md);
}

.contact-info p {
  margin-bottom: var(--spacing-xs);
}

.map-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-form-card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
}

.contact-form .label {
  color: var(--text-dark);
  font-weight: 600;
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--light-gray);
  box-shadow: none;
  transition: all var(--transition-fast);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.contact-form .button {
  margin-top: var(--spacing-sm);
}

/* Footer */
.footer {
  background-color: var(--darker);
  color: var(--text-light);
  padding: var(--spacing-xl) 0;
}

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

.footer p {
  color: var(--light-gray);
}

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--light-gray);
  transition: all var(--transition-fast);
}

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

.social-links a {
  color: var(--light-gray);
  transition: all var(--transition-fast);
  display: inline-block;
  margin-right: var(--spacing-sm);
}

.social-links a:hover {
  color: var(--primary);
  transform: translateY(-2px);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--light);
}

.success-content {
  max-width: 600px;
  padding: var(--spacing-lg);
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  font-size: 5rem;
  color: var(--success);
  margin-bottom: var(--spacing-md);
}

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

.text-primary {
  color: var(--primary);
}

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

.text-accent {
  color: var(--accent);
}

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

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

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

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

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

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

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

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

/* Responsive Styles */
@media screen and (max-width: 1023px) {
  .navbar-menu {
    box-shadow: none;
  }
  
  .navbar-burger {
    color: var(--text-dark);
  }
  
  .section {
    padding: var(--spacing-lg) 0;
  }
  
  .testimonial-slide {
    flex: 0 0 100%;
  }
}

@media screen and (max-width: 768px) {
  .section {
    padding: var(--spacing-md) 0;
  }
  
  .hero-body {
    padding: var(--spacing-lg) var(--spacing-sm);
  }
  
  .columns.is-multiline > .column {
    padding: var(--spacing-sm);
  }
  
  .card-image {
    height: 200px;
  }
  
  .team-card .card-image,
  .instructor-card .card-image {
    height: 300px;
  }
  
  .award-card .media {
    flex-direction: column;
  }
  
  .award-card .media-left {
    margin-bottom: var(--spacing-sm);
  }
  
  .contact-form-card {
    margin-top: var(--spacing-md);
  }
}

@media screen and (max-width: 480px) {
  .card-image {
    height: 180px;
  }
  
  .team-card .card-image,
  .instructor-card .card-image {
    height: 250px;
  }
  
  .button.is-large {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }
  
  .buttons.is-centered {
    justify-content: center;
  }
  
  .carousel-controls {
    margin-top: var(--spacing-sm);
  }
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-page .content, .terms-page .content {
  padding: var(--spacing-md);
  background-color: var(--light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
}

/* Cookie Consent Styles */
#cookie-consent {
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

#accept-cookies {
  background-color: var(--success);
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--success-dark);
}

/* AOS Animation Enhancements */
[data-aos] {
  pointer-events: none;
}

[data-aos].aos-animate {
  pointer-events: auto;
}

/* Helper for read more links */
.read-more {
  display: inline-block;
  font-weight: 600;
  color: var(--primary);
  margin-top: var(--spacing-xs);
  transition: all var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
  transform: translateX(5px);
}

.read-more::after {
  content: ' →';
  transition: transform var(--transition-fast);
}

.read-more:hover::after {
  display: inline-block;
  transform: translateX(3px);
}