/* Base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f7f5ef;
  color: #3c372e;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.site-header {
  background-color: #01481e;
  color: #ffffff;
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand box */
.brand-wrapper {
  flex-shrink: 0;
}

.brand-box {
  border: 2px solid #d4af37;
  padding: 0.25rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  min-width: 7rem;
}

.brand-crown {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 2px;
}
.brand-crown span {
  width: 3px;
  height: 3px;
  background-color: #d4af37;
  border-radius: 50%;
  margin: 0 1px;
  position: relative;
}
.brand-crown span:nth-child(1) {
  height: 4px;
  width: 4px;
  transform: translateY(2px);
}
.brand-crown span:nth-child(2) {
  height: 5px;
  width: 5px;
  transform: translateY(0);
}
.brand-crown span:nth-child(3) {
  height: 6px;
  width: 6px;
  transform: translateY(-1px);
}
.brand-crown span:nth-child(4) {
  height: 5px;
  width: 5px;
  transform: translateY(0);
}
.brand-crown span:nth-child(5) {
  height: 4px;
  width: 4px;
  transform: translateY(2px);
}

.brand-text {
  font-size: 1rem;
  font-weight: bold;
  color: #d4af37;
  letter-spacing: 0.05rem;
  line-height: 1.1;
}

.brand-subtext {
  font-size: 0.55rem;
  color: #d4af37;
  margin-top: -2px;
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

/* Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
}
.main-nav a {
  color: #ffffff;
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}
.main-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background-color: #d4af37;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid #d4af37;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  background-image: url('assets/hero-landscape.jpg');
  background-size: cover;
  /* position to right so the watch is visible */
  background-position: right center;
  color: #ffffff;
  display: flex;
  align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0.3) 100%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-small {
  font-size: 1rem;
  letter-spacing: 0.1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.hero-title {
  font-size: 3.5rem;
  font-weight: bold;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.btn-primary {
  background-color: #02581d;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.btn-primary:hover {
  background-color: #013c13;
}

/* Welcome section */
.welcome {
  background-color: #f6f3ed;
  padding: 4rem 0;
}
.welcome-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.welcome-left,
.welcome-right {
  flex: 1 1 300px;
}
.welcome-left h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #3c372e;
  line-height: 1.3;
}
.welcome-right p {
  font-size: 1rem;
  color: #5f5548;
  line-height: 1.6;
}

/* Rolex watches */
.rolex-watches {
  background-color: #fdfbf7;
  padding: 4rem 0;
}
.section-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #3c372e;
  margin-bottom: 1.5rem;
}
.rolex-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 42%;
  overflow: hidden;
}
.rolex-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rolex-caption {
  margin-top: 1.25rem;
}
.rolex-caption .caption-small {
  font-size: 0.9rem;
  color: #5f5548;
  margin-bottom: 0.25rem;
}
.rolex-caption .caption-title {
  font-size: 1.5rem;
  color: #3c372e;
  margin-bottom: 0.25rem;
}
.rolex-caption .link-more {
  color: #02581d;
  text-decoration: none;
  font-size: 0.85rem;
}
.rolex-caption .link-more:hover {
  text-decoration: underline;
}

/* Contact section */
.contact {
  background-color: #f6f3ed;
  padding: 4rem 0;
}
.contact-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-item {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
}
.contact-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56%;
  overflow: hidden;
}
.contact-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-item h3 {
  font-size: 1.4rem;
  color: #3c372e;
  margin-top: 0.75rem;
  margin-bottom: 0.25rem;
}
.contact-item .link-more {
  font-size: 0.85rem;
  color: #02581d;
  text-decoration: none;
}
.contact-item .link-more:hover {
  text-decoration: underline;
}

/* Discover Rolex */
.discover-rolex {
  background-color: #fdfbf7;
  padding: 4rem 0;
}
.discover-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}
.discover-card {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
}
.card-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56%;
  overflow: hidden;
}
.card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-text {
  margin-top: 0.75rem;
}
.card-tag {
  font-size: 0.8rem;
  color: #5f5548;
  margin-bottom: 0.25rem;
}
.card-title {
  font-size: 1.5rem;
  color: #3c372e;
  margin-bottom: 0.25rem;
}
.discover-card .link-more {
  font-size: 0.85rem;
  color: #02581d;
  text-decoration: none;
}
.discover-card .link-more:hover {
  text-decoration: underline;
}

/* Keep exploring */
.keep-exploring {
  background-color: #fff;
  padding: 4rem 0;
}
.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-top: 2rem;
}
.slider {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  flex-shrink: 0;
  width: 250px;
  margin-right: 1.5rem;
}
.slide img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 0px;
}
.slide-title {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: #3c372e;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: #f2f2f2;
  color: #000000;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 1;
}
.slider-arrow:hover {
  background-color: #c2c2c2;
}
.slider-indicators {
  display: flex;
  gap: 6px;
  margin-top: 1rem;
  align-items: center;
  justify-content: center;
}
.slider-indicators span {
  display: block;
  width: 20px;
  height: 3px;
  background-color: #cfcac3;
}
.slider-indicators .active {
  background-color: #01481e;
}

/* Footer */
.site-footer {
  background-color: #01481e;
  color: #ffffff;
  padding: 20px 0;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer-crown {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 32px;
  padding: 50px 0px;
}
.crown-icon {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 100%;
}
.crown-icon span {
  display: block;
  background-color: #d4af37;
  border-radius: 50%;
  margin: 0 1px;
  width: 6px;
  height: 6px;
  position: relative;
}
.crown-icon span:nth-child(1) {
  transform: translateY(4px);
  width: 5px;
  height: 5px;
}
.crown-icon span:nth-child(2) {
  transform: translateY(2px);
  width: 6px;
  height: 6px;
}
.crown-icon span:nth-child(3) {
  transform: translateY(0);
  width: 7px;
  height: 7px;
}
.crown-icon span:nth-child(4) {
  transform: translateY(2px);
  width: 6px;
  height: 6px;
}
.crown-icon span:nth-child(5) {
  transform: translateY(4px);
  width: 5px;
  height: 5px;
}
.back-to-top {
  border-top: 1px solid rgba(255,255,255,0.4);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.back-to-top:hover {
  text-decoration: underline;
}

/* arrow up inside back-to-top */
.arrow-up {
  font-size: 1.1rem;
  line-height: 1;
}

/* Utility: hide desktop/mobile images based on viewport */
.desktop-img {
  display: block;
}
.mobile-img {
  display: none;
}

/* Responsive styles */
@media (max-width: 992px) {
  .main-nav ul {
    gap: 1rem;
    font-size: 0.8rem;
  }
  .slide {
    width: 200px;
  }
  .slide img {
    height: 140px;
  }
}

@media (max-width: 768px) {
  /* Toggle nav */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #01481e;
    display: none;
    z-index: 99;
  }
  .main-nav.open {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li {
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav a {
    display: block;
    padding: 0.75rem 1rem;
  }
  .menu-toggle {
    display: inline-block;
  }
  /* Adjust hero for mobile */
  .hero {
    height: 80vh;
    min-height: 480px;
    background-image: url('assets/hero-portrait.jpg');
    background-position: center top;
    align-items: flex-end;
    padding-bottom: 3rem;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-small {
    font-size: 0.85rem;
  }
  .btn-primary {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
  /* Welcome section */
  .welcome-inner {
    flex-direction: column;
  }
  /* Rolex watches */
  .rolex-image-wrapper {
    padding-bottom: 100%;
  }
  /* Contact section */
  .contact-items {
    flex-direction: column;
  }
  .contact-image-wrapper {
    padding-bottom: 75%;
  }
  /* Discover Rolex */
  .discover-grid {
    flex-direction: column;
  }
  .discover-card {
    flex: 1 1 100%;
  }
  .card-image {
    padding-bottom: 75%;
  }
  /* Slider adjustments */
  .slide {
    width: 180px;
  }
  .slide img {
    height: 120px;
  }
  .slider-arrow {
    width: 28px;
    height: 28px;
    font-size: 1rem;
  }
  .slider-indicators span {
    width: 16px;
  }
  /* show mobile-specific images */
  .desktop-img {
    display: none;
  }
  .mobile-img {
    display: block;
  }
}


.back-to-top {
  display: flex;
  flex-direction: column;  /* arrow on top of text */
  align-items: center;
  justify-content: center;
  gap: 4px;                /* space between arrow & text */
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #ffffff;          /* white color */
  background: none;        /* no background */
  padding: 8px;
  cursor: pointer;
}

.back-to-top:hover {
  color: #d0af6b; /* soft gold hover (optional) */
}

.arrow-up svg {
  transform: rotate(-90deg); /* rotates right arrow → upward */
  display: block;
}

}


.back-to-top-wrapper {
  border-top: 1px solid rgba(255,255,255,0.4); /* full width line */
  padding-top: 20px;       /* reduced space above arrow */
  padding-bottom: 0px;    /* very small bottom spacing */
  text-align: center;
  width: 100%;
}

.back-to-top {
  display: flex;
  flex-direction: column; /* arrow above text */
  align-items: center;
  justify-content: center;
  gap: 4px;               /* tighter gap */
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #fff;
  background: none;
  cursor: pointer;
}

.back-to-top:hover {
  color: #d0af6b; /* hover effect */
}

.arrow-up svg {
  transform: rotate(-90deg); /* rotate to point up */
  display: block;
}

