/* ================================
   PAGES.CSS - Styles for all pages
   ================================ */

/* General Page Styles */
.page-content {
  position: relative;
  min-height: 100vh;
  padding-top: 100px;
  background: #0a0a0a;
}

.page-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0a 100%);
  z-index: -1;
}

.section-header {
  text-align: center;
  padding: 60px 20px 40px;
}

.section-header h1,
.section-header h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3.5em;
  color: white;
  margin-bottom: 15px;
}

.section-header h1 span,
.section-header h2 span {
  color: var(--primary);
}

.section-header p {
  color: #888;
  font-size: 1.1em;
  font-weight: 300;
  letter-spacing: 1px;
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================
   CONTACT PAGE
   ================================ */
.contact-section {
  padding: 0 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 40px 0;
}

/* Contact Form */
.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.contact-form .form-group {
  margin-bottom: 25px;
}

.contact-form label {
  display: block;
  color: var(--primary);
  font-size: 0.9em;
  margin-bottom: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: white;
  font-size: 1em;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 194, 222, 0.2);
}

.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2300c2de' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.contact-form select option {
  background: #1a1a2e;
  color: white;
}

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

.submit-btn {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, var(--primary), #0099b3);
  border: none;
  border-radius: 10px;
  color: white;
  font-size: 1.1em;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 194, 222, 0.4);
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 194, 222, 0.1);
}

.info-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #0099b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.info-icon i {
  font-size: 1.5em;
  color: white;
}

.info-card h3 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.info-card p {
  color: #888;
  font-size: 0.95em;
  margin: 5px 0;
  font-weight: 300;
}

/* Map Section */
.map-section {
  padding: 60px 0;
}

.map-section h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 2.5em;
  color: white;
  text-align: center;
  margin-bottom: 30px;
}

.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ================================
   MODELS PAGE
   ================================ */
.models-section {
  padding: 0 5%;
  max-width: 1600px;
  margin: 0 auto;
}

/* Filter Buttons */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 12px 30px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: white;
  font-size: 0.95em;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 5px 20px rgba(0, 194, 222, 0.3);
}

/* Models Grid */
.models-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  padding-bottom: 80px;
}

.model-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeIn 0.5s ease forwards;
}

.model-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(0, 194, 222, 0.15);
}

.model-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

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

.model-card:hover .model-image img {
  transform: scale(1.1);
}

.model-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.model-card:hover .model-overlay {
  opacity: 1;
}

.view-btn {
  padding: 15px 30px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.95em;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

.model-info {
  padding: 25px;
}

.model-info h3 {
  font-family: "Racing Sans One", cursive;
  font-size: 1.8em;
  color: var(--primary);
  margin-bottom: 15px;
}

.model-specs {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.model-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #888;
  font-size: 0.85em;
}

.model-specs i {
  color: var(--primary);
}

.model-price {
  color: white;
  font-size: 1.1em;
  margin-bottom: 20px;
}

.enquire-btn {
  display: inline-block;
  padding: 12px 25px;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-size: 0.9em;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

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

/* ================================
   ABOUT PAGE
   ================================ */
.about-hero {
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 194, 222, 0.1), transparent),
    url("./assets/image/mclaren-3.jpeg") center/cover;
  position: relative;
}

.about-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 1));
}

.about-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.about-hero-content h1 {
  font-family: "Racing Sans One", cursive;
  font-size: 4em;
  color: white;
  margin-bottom: 20px;
}

.about-hero-content h1 span {
  color: var(--primary);
}

.about-hero-content p {
  color: #ccc;
  font-size: 1.3em;
  letter-spacing: 2px;
}

/* Story Section */
.about-story {
  padding: 100px 5%;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.story-text h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  margin-bottom: 30px;
}

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

.story-text p {
  color: #aaa;
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  font-weight: 300;
}

.story-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 194, 222, 0.2);
}

/* Stats Section */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 80px 5%;
  background: rgba(0, 194, 222, 0.05);
  border-top: 1px solid rgba(0, 194, 222, 0.2);
  border-bottom: 1px solid rgba(0, 194, 222, 0.2);
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: "Racing Sans One", cursive;
  font-size: 4em;
  color: var(--primary);
  margin-bottom: 10px;
}

.stat-item p {
  color: white;
  font-size: 1.1em;
  letter-spacing: 1px;
}

/* Values Section */
.about-values {
  padding: 100px 5%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 40px auto 0;
}

.value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.value-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), #0099b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.value-icon i {
  font-size: 2em;
  color: white;
}

.value-card h3 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 15px;
}

.value-card p {
  color: #888;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Team Section */
.about-team {
  padding: 100px 5%;
  background: rgba(0, 0, 0, 0.3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.team-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.team-image {
  height: 300px;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%);
  transition: all 0.3s ease;
}

.team-card:hover .team-image img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.team-card h3 {
  color: white;
  font-size: 1.4em;
  padding: 25px 25px 5px;
}

.team-role {
  color: var(--primary);
  font-size: 0.95em;
  padding: 0 25px;
  letter-spacing: 1px;
}

.team-bio {
  color: #888;
  font-size: 0.9em;
  padding: 15px 25px 25px;
  line-height: 1.6;
}

/* Timeline Section */
.about-timeline {
  padding: 100px 5%;
}

.timeline {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
  width: 50%;
  position: relative;
}

.timeline-item:nth-child(even) {
  margin-left: 50%;
  justify-content: flex-start;
}

.timeline-dot {
  position: absolute;
  right: -8px;
  top: 30px;
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--primary);
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -8px;
  right: auto;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 25px;
  margin-right: 40px;
  max-width: 350px;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 40px;
  margin-right: 0;
}

.timeline-content h3 {
  color: var(--primary);
  font-family: "Racing Sans One", cursive;
  font-size: 2em;
  margin-bottom: 10px;
}

.timeline-content p {
  color: #aaa;
  font-size: 0.95em;
  line-height: 1.6;
}

/* ================================
   GALLERY PAGE
   ================================ */
.gallery-section {
  padding: 0 5%;
  max-width: 1600px;
  margin: 0 auto;
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding: 20px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  padding: 12px 30px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  color: white;
  font-size: 0.95em;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
  padding-bottom: 80px;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.large {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

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

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.gallery-item-overlay h4 {
  color: white;
  font-size: 1.3em;
  margin-bottom: 5px;
}

.gallery-item-overlay p {
  color: var(--primary);
  font-size: 0.9em;
}

.gallery-zoom,
.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-zoom:hover,
.gallery-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 194, 222, 0.5);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 10px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: transparent;
  border: none;
  color: white;
  font-size: 2em;
  cursor: pointer;
  padding: 15px;
  transition: color 0.3s ease;
}

.lightbox-close {
  top: 20px;
  right: 30px;
}

.lightbox-prev {
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--primary);
}

/* ================================
   MODEL DETAIL PAGE
   ================================ */
.model-detail-page {
  padding-top: 0;
}

.model-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.model-hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(10, 10, 10, 1));
}

.model-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 20px;
}

.model-category {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(0, 194, 222, 0.2);
  border: 1px solid var(--primary);
  border-radius: 30px;
  color: var(--primary);
  font-size: 0.9em;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.model-hero-content h1 {
  font-family: "Racing Sans One", cursive;
  font-size: 6em;
  color: white;
  margin-bottom: 15px;
  text-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.model-tagline {
  color: #ccc;
  font-size: 1.4em;
  letter-spacing: 2px;
  margin-bottom: 50px;
}

.hero-specs {
  display: flex;
  justify-content: center;
  gap: 60px;
}

.hero-spec {
  text-align: center;
}

.spec-value {
  display: block;
  font-family: "Racing Sans One", cursive;
  font-size: 4em;
  color: var(--primary);
}

.spec-label {
  color: #aaa;
  font-size: 0.95em;
  letter-spacing: 1px;
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2em;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(15px);
  }
}

/* Model Overview */
.model-overview {
  padding: 100px 5%;
}

.overview-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.overview-text h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  margin-bottom: 30px;
}

.overview-text p {
  color: #aaa;
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
}

.overview-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

/* Specifications */
.model-specifications {
  padding: 100px 5%;
  background: rgba(0, 0, 0, 0.3);
}

.model-specifications h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

.model-specifications h2 span {
  color: var(--primary);
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.specs-category {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
}

.specs-category h3 {
  color: var(--primary);
  font-size: 1.2em;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specs-category ul {
  list-style: none;
}

.specs-category li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-category li:last-child {
  border-bottom: none;
}

.specs-category li span:first-child {
  color: #888;
}

.specs-category li span:last-child {
  color: white;
  font-weight: 500;
}

/* Features */
.model-features {
  padding: 100px 5%;
}

.model-features h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

.model-features h2 span {
  color: var(--primary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), #0099b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 1.8em;
  color: white;
}

.feature-card h3 {
  color: white;
  font-size: 1.2em;
  margin-bottom: 15px;
}

.feature-card p {
  color: #888;
  font-size: 0.95em;
  line-height: 1.6;
}

/* Model Gallery */
.model-gallery {
  padding: 100px 5%;
  background: rgba(0, 0, 0, 0.3);
}

.model-gallery h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  text-align: center;
  margin-bottom: 50px;
}

.model-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.model-gallery-item {
  border-radius: 15px;
  overflow: hidden;
  height: 250px;
}

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

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

/* CTA Section */
.model-cta {
  padding: 120px 5%;
  background: linear-gradient(135deg, rgba(0, 194, 222, 0.1), transparent);
  text-align: center;
}

.cta-content h2 {
  font-family: "Racing Sans One", cursive;
  font-size: 3em;
  color: white;
  margin-bottom: 20px;
}

.cta-content h2 span {
  color: var(--primary);
}

.cta-content p {
  color: #aaa;
  font-size: 1.2em;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-btn {
  padding: 18px 40px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1.1em;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cta-btn.primary {
  background: linear-gradient(135deg, var(--primary), #0099b3);
  color: white;
}

.cta-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 194, 222, 0.4);
}

.cta-btn.secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

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

/* ================================
   FOOTER
   ================================ */
.page-footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 5% 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  max-width: 150px;
  filter: invert(1);
  margin-bottom: 20px;
}

.footer-section p {
  color: #888;
  font-size: 0.95em;
  line-height: 1.6;
}

.footer-section h4 {
  color: white;
  font-size: 1.2em;
  margin-bottom: 20px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2em;
  transition: all 0.3s ease;
}

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

.footer-bottom {
  padding: 25px;
  text-align: center;
}

.footer-bottom p {
  color: #666;
  font-size: 0.9em;
}

/* ================================
   RESPONSIVE STYLES FOR PAGES
   ================================ */
@media (max-width: 1200px) {
  .section-header h1,
  .section-header h2 {
    font-size: 3em;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

@media (max-width: 992px) {
  .story-content {
    grid-template-columns: 1fr;
  }

  .story-image {
    order: -1;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .overview-content {
    grid-template-columns: 1fr;
  }

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

  .model-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-header {
    padding: 40px 20px 30px;
  }

  .section-header h1,
  .section-header h2 {
    font-size: 2.5em;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  .models-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons,
  .gallery-filter {
    gap: 10px;
  }

  .filter-btn,
  .gallery-filter-btn {
    padding: 10px 20px;
    font-size: 0.85em;
  }

  .about-hero-content h1 {
    font-size: 2.5em;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 3em;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 50px;
    justify-content: flex-start;
  }

  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }

  .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    max-width: 100%;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item.large,
  .gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .model-hero-content h1 {
    font-size: 3em;
  }

  .hero-specs {
    flex-direction: column;
    gap: 30px;
  }

  .spec-value {
    font-size: 3em;
  }

  .specs-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .model-gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 20px;
  }

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

@media (max-width: 480px) {
  .section-header h1,
  .section-header h2 {
    font-size: 2em;
  }

  .contact-form-wrapper {
    padding: 25px;
  }

  .info-card {
    padding: 20px;
  }

  .map-container {
    height: 300px;
  }

  .model-card {
    margin: 0 10px;
  }

  .about-hero {
    height: 50vh;
  }

  .stat-number {
    font-size: 2.5em;
  }

  .model-hero-content h1 {
    font-size: 2.5em;
  }

  .model-tagline {
    font-size: 1em;
  }

  .overview-text h2,
  .model-specifications h2,
  .model-features h2,
  .model-gallery h2,
  .cta-content h2 {
    font-size: 2em;
  }
}
