/**
* Chrono Curiosity - Main CSS
*/

/*--------------------------------------------------------------
# Brand Colors & Typography
--------------------------------------------------------------*/
:root {
  --brand-green-light: #006039;
  --brand-green-dark: #002918;
  --brand-black: #000000;
  --brand-white: #ffffff;
  --brand-offwhite: #f8f9fa;
}

body {
  font-family: "Open Sans", sans-serif;
  color: var(--brand-black);
}

a {
  color: var(--brand-green-light);
  text-decoration: none;
}

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

h1 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
}

h2, h3, h4, h5, h6 {
  font-family: "Poppins", sans-serif;
  color: var(--brand-green-dark);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--brand-green-light);
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
  font-size: 16px;
  color: var(--brand-green-dark);
}

.section-bg {
  background-color: var(--brand-offwhite);
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--brand-green-light);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: var(--brand-white);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--brand-green-dark);
  color: var(--brand-white);
}

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

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  background: var(--brand-white);
  transition: all 0.5s;
  z-index: 997;
  padding: 20px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
  line-height: 1;
}

#header .logo img {
  max-height: 50px;
  width: auto;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-green-dark);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: var(--brand-green-light);
}

.mobile-nav-toggle {
  cursor: pointer;
  display: none;
}

.mobile-nav-toggle i {
  color: var(--brand-green-light);
  font-size: 28px;
}

/*--------------------------------------------------------------
# Dropdown Navigation
--------------------------------------------------------------*/
.navbar .dropdown {
  position: relative;
}

.navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 200px;
  padding: 10px 0;
  margin: 0;
  background-color: #fff;
  border: 1px solid #e9ecef;
  border-radius: 0.375rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.navbar .dropdown-menu.show {
  display: block;
}

.navbar .dropdown-item {
  display: block;
  width: 100%;
  padding: 8px 20px;
  clear: both;
  font-weight: 400;
  color: var(--brand-green-dark);
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  transition: color 0.3s, background-color 0.3s;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
  color: var(--brand-green-light);
  background-color: var(--brand-offwhite);
}

.navbar .dropdown-divider {
  height: 0;
  margin: 8px 0;
  overflow: hidden;
  border-top: 1px solid #e9ecef;
}

.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  
  .navbar ul {
    display: none;
  }
  
  .navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    transition: 0.3s;
    z-index: 999;
  }
  
  .navbar-mobile .mobile-nav-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
  }
  
  .navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 15px;
    bottom: 15px;
    left: 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow-y: auto;
    transition: 0.3s;
  }
  
  .navbar-mobile a,
  .navbar-mobile a:focus {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--brand-green-dark);
  }
  
  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover > a {
    color: var(--brand-green-light);
  }
  
  .navbar-mobile .dropdown > .dropdown-active {
    display: block;
  }
  
  .navbar-mobile .dropdown-menu {
    display: none;
  }
  
  .navbar-mobile .dropdown-menu.dropdown-active {
    display: block;
  }
  
  .navbar .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  
  .navbar .dropdown-item {
    padding-left: 40px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  width: 100%;
  height: 100vh;
  background: #f8f9fa;
  border-bottom: 2px solid #e9ecef;
}

#hero .container {
  padding-top: 80px;
}

#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--brand-green-dark);
}

#hero h2 {
  color: var(--brand-green-dark);
  margin-bottom: 20px;
  font-size: 24px;
}

#hero .lead {
  font-size: 18px;
  margin-bottom: 30px;
  color: #777777;
}

#hero .btn-get-started,
#hero .btn-get-quote {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px 0;
}

#hero .btn-get-started {
  background: var(--brand-green-dark);
  color: var(--brand-white);
  border: 2px solid var(--brand-green-dark);
}

#hero .btn-get-started:hover {
  background: transparent;
  color: var(--brand-green-dark);
}

#hero .btn-get-quote {
  background: transparent;
  color: var(--brand-green-dark);
  border: 2px solid var(--brand-green-dark);
}

#hero .btn-get-quote:hover {
  background: var(--brand-green-dark);
  color: var(--brand-white);
}

#hero .hero-img {
  text-align: center;
}

#hero .hero-img img {
  width: 70%;
}

@media (max-width: 991px) {
  #hero {
    height: auto;
    padding: 120px 0 60px 0;
  }
  
  #hero .hero-img {
    margin-top: 40px;
  }
  
  #hero .hero-img img {
    width: 50%;
  }
  
  #hero h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  #hero h2 {
    font-size: 20px;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .features {
  margin-top: 30px;
}

.about .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  margin-bottom: 20px;
  border-radius: 5px;
  transition: all 0.3s;
}

.about .icon-box:hover {
  background: #fff;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
}

.about .icon-box i {
  font-size: 32px;
  color: var(--brand-green-light);
  margin-right: 20px;
}

.about .icon-box h4 {
  font-size: 18px;
  margin: 0;
  font-weight: 600;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .service-box {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.services .service-box:hover {
  transform: translateY(-10px);
}

.services .service-box i {
  font-size: 48px;
  color: var(--brand-green-light);
  margin-bottom: 20px;
  display: block;
}

.services .service-box img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.services .service-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.services .service-box p {
  font-size: 15px;
  color: #777777;
  margin: 0;
}

/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/
.products {
  padding: 80px 0;
}

.products .btn-primary {
  background: var(--brand-green-dark);
  border: none;
  padding: 12px 40px;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s;
}

.products .btn-primary:hover {
  background: var(--brand-green-light);
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  background: #fff;
  padding: 40px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  border-radius: 5px;
}

.contact .info-box i {
  font-size: 48px;
  color: var(--brand-green-light);
  display: block;
  margin-bottom: 20px;
}

.contact .info-box h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .info-box p {
  font-size: 16px;
  margin: 0;
  color: #777777;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: var(--brand-green-dark);
  color: var(--brand-white);
  font-size: 14px;
  padding: 60px 0 30px 0;
}

#footer h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
}

#footer h4 {
  font-size: 20px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer p {
  margin: 0 0 10px 0;
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid var(--brand-green-light);
}

#footer .disclaimer {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.8;
  line-height: 1.4;
}

/*--------------------------------------------------------------
# Additional Image Styles
--------------------------------------------------------------*/
.rounded {
  border-radius: 0.5rem !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* About section image */
.about img {
  max-width: 100%;
  height: auto;
}

/* Service showcase images */
.services .text-center img {
  height: 150px;
  object-fit: cover;
  width: 100%;
  transition: transform 0.3s;
}

.services .text-center:hover img {
  transform: scale(1.05);
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonial-box {
  border: 1px solid #e9ecef;
  transition: all 0.3s;
}

.testimonial-box:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px);
}

.testimonial-box .item-name {
  color: var(--brand-green-dark);
  font-weight: 500;
}

.testimonial-box .feedback p {
  font-style: italic;
  color: #333;
  font-size: 16px;
}

.testimonial-box .buyer-info {
  border-top: 1px solid #e9ecef;
  padding-top: 10px;
}

/*--------------------------------------------------------------
# Rolex Collection & Reference Pages
--------------------------------------------------------------*/
.reference-card {
  transition: all 0.3s;
  border: 1px solid #e9ecef;
}

.reference-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.reference-image-container,
.reference-image-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
}

.reference-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.reference-image-placeholder {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

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

.spec-group h5 {
  color: var(--brand-green-dark);
  border-bottom: 2px solid var(--brand-green-light);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.spec-group ul li {
  padding: 2px 0;
}

.parts-sidebar {
  position: sticky;
  top: 100px;
}

.related-model {
  transition: all 0.3s;
}

.related-model:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

.badge {
  font-size: 0.75em;
}

/*--------------------------------------------------------------
# Bootstrap Button Overrides
--------------------------------------------------------------*/
.btn-primary {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--brand-green-light);
  border-color: var(--brand-green-light);
}

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

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  background-color: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: var(--brand-white);
}

.bg-primary {
  background-color: var(--brand-green-dark) !important;
}

.text-primary {
  color: var(--brand-green-dark) !important;
}

.badge.bg-primary {
  background-color: var(--brand-green-light) !important;
}