/* 
* Nichelest Nigeria Limited - Main Stylesheet
* Author: Your Name
* Version: 1.0
*/

/* ===== GENERAL STYLES ===== */
:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-text: #f8f9fa;
  --dark-text: #212529;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #003d7a;
  text-decoration: none;
}

.btn {
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background-color: #003d7a;
  border-color: #003d7a;
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.section-padding {
  padding: 80px 0;
}

.section-title {
  margin-bottom: 50px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: "";
  position: absolute;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #fff;
  z-index: 9999;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  transition: all 0.3s ease;
}

.navbar-scrolled .logo {
  height: 40px;
}

.navbar-nav {
  margin-left: auto;
}

.nav-item {
  margin: 0 10px;
}

.nav-link {
  color: var(--text-color);
  font-weight: 500;
  padding: 8px 15px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 70%;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
  margin-top: 80px;
  position: relative;
  height: 600px;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.swiper-slide:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.slide-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 20px;
  color: #fff;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s both;
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  animation: fadeInUp 1s both;
  animation-delay: 0.3s;
}

.slide-content .btn {
  animation: fadeInUp 1s both;
  animation-delay: 0.6s;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color);
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: var(--primary-color);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
  background-color: #fff;
}

.about-content {
  padding: 30px;
}

.about-content h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-content p {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.about-image {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  transition: transform 0.5s ease;
}

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

/* ===== SERVICES SECTION ===== */
.services-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  margin-bottom: 20px;
}

.service-icon i {
  font-size: 3rem;
  color: var(--primary-color);
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-card p {
  color: #666;
}

/* ===== BOOKING SECTION ===== */
.booking-section {
  padding: 80px 0;
  background-color: #fff;
}

.booking-section h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.booking-form {
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  height: 50px;
  border-radius: 5px;
  border: 1px solid var(--border-color);
  padding: 10px 15px;
  font-size: 1rem;
}

textarea.form-control {
  height: auto;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.booking-image {
  position: relative;
}

.testimonials {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 20px;
}

.testimonial {
  text-align: center;
  padding: 20px;
}

.testimonial p {
  font-style: italic;
  margin-bottom: 15px;
}

.client-info {
  display: flex;
  flex-direction: column;
}

.client-name {
  font-weight: bold;
}

.client-position {
  color: #666;
  font-size: 0.9rem;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
  background-color: var(--secondary-color);
}

.contact-info {
  margin-top: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 20px;
  width: 50px;
  text-align: center;
}

.contact-item h3 {
  margin-bottom: 5px;
  font-size: 1.2rem;
}

.map-container {
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== FOOTER ===== */
.footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 0;
}

.footer-info {
  margin-bottom: 30px;
}

.footer-logo {
  height: 50px;
  margin-bottom: 20px;
}

.footer-links h3,
.footer-contact h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--primary-color);
}

.social-links {
  margin-top: 20px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin-right: 10px;
  transition: all 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding: 20px 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: #003d7a;
  color: #fff;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-section {
  padding: 100px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thank-you-content {
  background-color: #fff;
  border-radius: 10px;
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.booking-details {
  background-color: var(--secondary-color);
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}

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

.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

.status-badge.status-pending {
  background-color: var(--warning-color);
  color: #000;
}

.status-badge.status-confirmed {
  background-color: var(--info-color);
  color: #fff;
}

.status-badge.status-completed {
  background-color: var(--success-color);
  color: #fff;
}

.status-badge.status-cancelled {
  background-color: var(--danger-color);
  color: #fff;
}

.action-buttons {
  margin-top: 30px;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .hero-slider {
    height: 500px;
  }

  .slide-content h1 {
    font-size: 2.5rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .about-content,
  .booking-image {
    margin-bottom: 30px;
  }
}

@media (max-width: 767px) {
  .hero-slider {
    height: 400px;
    margin-top: 70px;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 60px 0;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
  }

  .contact-item i {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .footer {
    text-align: center;
  }

  .footer-links,
  .footer-contact {
    margin-top: 30px;
  }

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

@media (max-width: 575px) {
  .hero-slider {
    height: 350px;
  }

  .slide-content h1 {
    font-size: 1.8rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .thank-you-content {
    padding: 30px;
  }
}

/* ===== ANIMATIONS ===== */
[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
}

[data-aos].aos-animate {
  opacity: 1;
}

[data-aos="fade-up"] {
  transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-down"] {
  transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
  transform: translateY(0);
}

[data-aos="fade-right"] {
  transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
  transform: translateX(0);
}

[data-aos="fade-left"] {
  transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
  transform: translateX(0);
}

[data-aos="zoom-in"] {
  transform: scale(0.9);
}

[data-aos="zoom-in"].aos-animate {
  transform: scale(1);
}
