/* GLOBAL STYLES */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}


@font-face {
  font-family: "Poppins";
  src: url("../fonts/Poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #3a36e0;
  --secondary-color: #ff6b35;
  --accent-color: #2ec4b6;
  --dark-color: #1c1c1c;
  --light-color: #f7f7ff;
  --grey-color: #747474;
  --grey-light: #e0e0e0;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.2);
  
  /* Typography variables - only base HTML elements */
  --fs-h1: 3rem;
  --fs-h2: 2.5rem;
  --fs-h3: 1.75rem;
  --fs-h4: 1.25rem;
  --fs-p: 1rem;
  --fs-small: 0.875rem;
  --fs-a: 1rem;
  --fs-button: 1rem;
  --fs-label: 1rem;
  --fs-input: 1rem;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  height: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-p);
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  font-size: var(--fs-a);
}


ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: var(--fs-h3);
}

h4 {
  font-size: var(--fs-h4);
}

p {
  margin-bottom: 1.5rem;
  font-size: var(--fs-p);
}

small {
  font-size: var(--fs-small);
}

button {
  font-size: var(--fs-button);
}

label {
  font-size: var(--fs-label);
}

input, textarea {
  font-size: var(--fs-input);
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-family: var(--font-heading);
  font-size: var(--fs-button);
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: #2e2bc7;
  transform: translateY(-3px);
  box-shadow: var(--shadow-dark);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2 span {
  color: var(--primary-color);
}

.collection-view-all {
  margin-top: 1.5rem;
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

/* HEADER STYLES */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo h1 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.logo span {
  color: var(--primary-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: static;
  background: none;
  width: auto;
  height: auto;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--dark-color);
  margin: 5px;
  transition: var(--transition);
}

.burger.toggle .line1 {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.burger.toggle .line2 {
  opacity: 0;
}

.burger.toggle .line3 {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* HERO SECTION */
.hero-section {
  display: flex;
  align-items: center;
  padding:200px 0px 140px 0px;
  background-color: #f5f5ff;
  position: relative;
}

.hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(58, 54, 224, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(46, 196, 182, 0.1) 0%, transparent 40%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  margin-bottom: 1.5rem;
}

.hero-content h2 span {
  color: var(--primary-color);
  display: block;
}

.hero-content p {
  margin-bottom: 2.5rem;
  color: var(--grey-color);
}

.hero-cta {
  display: flex;
  gap: 1rem;
}

.hero-visual {
  position: relative;
}

.hero-image-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-image-container:hover {
  transform: perspective(1000px) rotateY(0);
}

.floating-badge {
  position: absolute;
  top: 10%;
  right: -5%;
  background-color: var(--secondary-color);
  color: white;
  padding: 1.5rem;
  border-radius: 50%;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  box-shadow: var(--shadow);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* COLLECTION SECTION */
.collection-section {
  background-color: white;
}

.collection-grid {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.collection-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.collection-item.reverse {
  direction: rtl;
}

.collection-item.reverse .collection-details {
  direction: ltr;
}

.collection-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.collection-image:hover {
  box-shadow: var(--shadow-dark);
  transform: translateY(-5px);
}

.collection-details h3 {
  margin-bottom: 1rem;
  color: var(--dark-color);
}

.feature-list {
  margin-top: 1.5rem;
}

.feature-list li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.feature-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* FEATURES SECTION */
.features-section {
  background-color: var(--dark-color);
  color: white;
  position: relative;
}

.features-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(58, 54, 224, 0.2) 0%, rgba(46, 196, 182, 0.2) 100%);
  z-index: 0;
}

.features-section .section-header,
.features-section .feature-card {
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  margin: 0 auto 1.5rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
}

.feature-card h3 {
  margin-bottom: 1rem;
}

/* ERGONOMICS SECTION */
.ergonomics-section {
  background-color: #f9f9f9;
}

.ergonomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.ergonomics-section .section-header {
  text-align: left;
  margin: 0 0 2rem;
}

.ergonomics-tabs {
  margin-top: 2rem;
}

.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--grey-light);
  margin-bottom: 1.5rem;
}

.tab-button {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  color: var(--grey-color);
}

.tab-button.active {
  color: var(--primary-color);
}

.tab-button::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.tab-button.active::after {
  width: 100%;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.tab-panel h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.ergonomics-visual {
  position: relative;
}

.ergonomics-visual img {
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.ergonomics-callouts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.callout {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.callout[data-position="head"] {
  top: 10%;
  right: 5%;
}

.callout[data-position="back"] {
  top: 40%;
  left: 5%;
}

.callout[data-position="seat"] {
  bottom: 30%;
  right: 10%;
}

.callout[data-position="arms"] {
  bottom: 15%;
  left: 15%;
}

/* TESTIMONIALS SECTION */
.testimonials-section {
  background-color: white;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  min-width: 100%;
  padding: 2rem;
  background-color: #f5f5ff;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.testimonial-quote p {
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
  padding: 0 1.5rem;
}

.testimonial-quote p::before,
.testimonial-quote p::after {
  content: '"';
  color: var(--primary-color);
  position: absolute;
  opacity: 0.3;
}

.testimonial-quote p::before {
  top: -0.5rem;
  left: 0;
}

.testimonial-quote p::after {
  bottom: -1.5rem;
  right: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-details h4 {
  margin-bottom: 0.25rem;
  color: var(--dark-color);
}

.author-details p {
  color: var(--grey-color);
  margin: 0;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem;
}

.slider-arrow {
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-color);
  transition: var(--transition);
}

.slider-arrow:hover {
  background-color: var(--primary-color);
  color: white;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--grey-light);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

/* SHOWROOM SECTION */
.showroom-section {
  background-color: #f5f5ff;
}

.showroom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.showroom-section .section-header {
  text-align: left;
  margin: 0 0 2rem;
}

.location-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  overflow: hidden;
}

.accordion-header {
  padding: 1rem 1.5rem;
  background-color: white;
  display: flex;
  gap:20px;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.accordion-header h3 {
  margin: 0;
}

.accordion-icon {
  position: relative;
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background-color: var(--primary-color);
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transition: var(--transition);
}

.accordion-icon::after {
  transform: rotate(90deg);
}

.accordion-item.active .accordion-icon::after {
  transform: rotate(0);
}

.accordion-content {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition);
}

.accordion-item.active .accordion-content {
  padding: 1rem 1.5rem;
  max-height: 500px;
}

.location-address,
.location-hours {
  color: var(--grey-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  height: 100%;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* CONTACT SECTION */
.contact-section {
  background-color: white;
  position: relative;
}

.contact-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 10% 90%, rgba(58, 54, 224, 0.05) 0%, transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(46, 196, 182, 0.05) 0%, transparent 30%);
  z-index: 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.contact-form-container {
  background-color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--grey-light);
  border-radius: 8px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(58, 54, 224, 0.2);
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input {
  width: 18px;
  height: 18px;
}

.checkbox-group label a {
  color: var(--primary-color);
  text-decoration: underline;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-card {
  background-color: #f5f5ff;
  border-radius: 10px;
  padding: 1.5rem;
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.info-icon {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
}

.info-card p {
  margin-bottom: 0.5rem;
}

.info-card a:hover {
  color: var(--primary-color);
}

/* FOOTER */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 1.5rem;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand h2 {
  margin-bottom: 1rem;
}

.footer-brand span {
  color: var(--primary-color);
}

.footer-brand p {
  opacity: 0.8;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.footer-links h4::after,
.footer-legal h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links ul,
.footer-legal ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  opacity: 0.7;
}

/* ANIMATIONS */
.section-header, .collection-item, .feature-card, .ergonomics-visual, .showroom-gallery {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.revealed, .section-header.revealed, .collection-item.revealed, .feature-card.revealed, .ergonomics-visual.revealed, .showroom-gallery.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* TESTIMONIAL SLIDER */
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slider .prev-arrow,
.testimonial-slider .next-arrow {
  transition: opacity 0.3s ease;
}

.testimonial-slider .prev-arrow.disabled,
.testimonial-slider .next-arrow.disabled {
  opacity: 0.5;
  cursor: default;
}

.dot {
  cursor: pointer;
  transition: background-color 0.3s ease;
}
