@import url('https://fonts.googleapis.com/css2?family=Cedarville+Cursive&display=swap');

:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --accent-color: #b4b4b4;
}

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

*::selection {
  color: red;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  line-height: 1.6;
  animation: fadeInHeader 1s ease-out forwards;
}

header {
  background-color: var(--primary-color);
  padding: 1rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu {
  font-family: 'Montserrat', sans-serif;
}

.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}

.menu li {
  display: inline-block;
  margin: 0 15px;
}

.menu a {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  display: block;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
  letter-spacing: 1px;
}

.menu a::before {
  content: "";
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: #fff;
  transition: 0.5s transform ease;
  transform: scale3d(0,1,1);
  transform-origin: 0 50%;
}

.menu a:hover::before {
  transform: scale3d(1,1,1);
}

.menu-2 a::before {
  transform-origin: 50% 50%;
  background: #daced2;
}

@keyframes fadeInHeader {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sonata-textani {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 40px;
  color: transparent;
  overflow: hidden;
  background: var(--secondary-color);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: drawText 5s infinite;
  letter-spacing: 2px;
}

@keyframes drawText {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  object-fit: cover;
  border-radius: 50%;
}

.logo span {
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 1rem;
}

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

nav a:hover {
  color: var(--accent-color);
}

.icons {
  display: flex;
  align-items: center;
}

.icons button, .icons a {
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-left: 1rem;
  cursor: pointer;
}

.burger {
  display: none;
  cursor: pointer;
}

.burger div {
  width: 25px;
  height: 3px;
  background-color: var(--secondary-color);
  margin: 5px;
  transition: all 0.3s ease;
}

.search-container {
  position: absolute;
  top: 100%;
  right: 1rem;
  display: none;
  background-color: var(--secondary-color);
  padding: 0.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.search-container.active {
  display: flex;
}

.search-input {
  border: none;
  padding: 0.5rem;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
}

.search-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1rem;
  cursor: pointer;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1001;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
  animation: fadeIn 0.3s;
}

.modal-content {
  background-color: #333;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #000000;
  width: 80%;
  max-width: 800px;
  display: flex;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal-left {
  flex: 1;
  padding-right: 20px;
}

.modal-left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.modal-right {
  flex: 1;
  padding-left: 20px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.tab-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tab-button {
  background-color: #f1f1f1;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 10px 20px;
  transition: 0.3s;
  font-size: 17px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tab-button:hover {
  background-color: #ddd;
}

.tab-button.active {
  background-color: #ccc;
}

.form-container {
  display: none;
}

.form-container.active {
  display: block;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.form-container form {
  display: flex;
  flex-direction: column;
}

.form-container input {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: 'Lato', sans-serif;
}

.form-container button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-container button:hover {
  background-color: #333;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.social-login {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f1f1;
  color: #333;
  margin: 0 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-icon:hover {
  background-color: #ddd;
}

.social-icon i {
  font-size: 20px;
}

#landing-page {
  height: 100vh;
  background-image: url('https://www.watchonista.com/sites/default/files/styles/body_content_848x0/public/watchographer/856/news/384223/body/omega_valentines_day_2015_2.jpg?itok=X6LWxZ3W');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 5%;
}

.landing-content {
  max-width: 50%;
  text-align: right;
}

.landing-content h1 {
  /* font-size: 2rem; */
  font-size: 2.4vw;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

#wrist-timer{
 color: red;
}


.landing-content h2 {
  /* font-size: 2.5rem; */
  font-size: 2.4vw;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 1px;
}

.landing-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.6;
}

.read-more {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more:hover {
  background-color: var(--accent-color);
}

.slider {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.year {
  color: red;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#wrist-timer-welcome-note {
  text-align: left;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
}

.slide p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-family: 'Lato', sans-serif;
  font-weight: 300;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: var(--secondary-color);
  padding: 1rem;
  border: none;
  cursor: pointer;
  font-size: 2rem;
}

.prev {
  left: 1rem;
}

.next {
  right: 1rem;
}

button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

button:hover {
  background-color: var(--accent-color);
  color: var(--primary-color);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

#featured-collections {
  padding: 2rem;
}

.collection-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.collection-card {
  position: relative;
  width: 48%;
  height: 300px;
  overflow: hidden;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.card-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.card-content h3, .collection-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

#services {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding: 2rem 0;
  background-color: #111;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem;
}

.service-item i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease-in-out;
}

.service-item i:hover {
  transform: rotate(360deg);
}

.service-item span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

#shop-by-collection {
  padding: 2rem;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.collection-item {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.collection-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.collection-content {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  text-align: center;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#world-branded {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: url('https://www.titan.co.in/dw/image/v2/BKDD_PRD/on/demandware.static/-/Sites-titan-master-catalog/default/dwb5faa7ee/images/Sonata/Catalog/SP70034SM01W_1.jpg?sw=800&sh=800');
  background-size: cover;
  background-position: center;
  position: relative;
}

#world-branded::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
}

#world-branded h2,
#world-branded button {
  position: relative;
  z-index: 1;
}

#world-branded h2 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

/* Footer styles */
footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.footer-column {
  flex: 1;
  margin-right: 2rem;
}

.footer-column:last-child {
  margin-right: 0;
}

.footer-column h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

.footer-column p {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
}

.footer-column ul {
  list-style-type: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: 'Lato', sans-serif;
}

.footer-column ul li a:hover {
  color: #b4b4b4;
}

.social-icons {
  display: flex;
}

.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #b4b4b4;
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    margin-right: 0;
    margin-bottom: 2rem;
  }
}
.social-icons a {
  color: #fff;
  font-size: 1.5rem;
  margin-right: 1rem;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #b4b4b4;
}
.animate-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-section.active {
  opacity: 1;
  transform: translateY(0);
}

.collection-card, .service-item, .collection-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.collection-card.active, .service-item.active, .collection-item.active {
  opacity: 1;
  transform: translateY(0);
}

#scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out, background-color 0.3s ease-in-out;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

#scroll-to-top:hover {
  background-color: var(--accent-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

#scroll-to-top.bounce {
  animation: bounce 2s infinite;
}

@media screen and (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0px;
    height: 92vh;
    top: 8vh;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
  }

  .nav-links li {
    opacity: 0;
  }

  .burger {
    display: block;
  }

  .nav-active {
    transform: translateX(0%);
  }

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

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px,6px);
  }

  .toggle .line2 {
    opacity: 0;
  }

  .toggle .line3 {
    transform: rotate(45deg) translate(-5px,-6px);
  }

  .collection-row {
    flex-direction: column;
  }

  .collection-card {
    width: 100%;
    margin-bottom: 1rem;
  }

  .footer-content {
    flex-direction: column;
  }

  .footer-column {
    width: 100%;
  }

  .landing-content {
    max-width: 90%;
  }

  #wrist-timer-welcome-note {
    font-size: 5vw;
  }

  .landing-content h2 {
    font-size: 1.5rem;
  }


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

  .slider {
    height: 300px;
  }

  .slide-content {
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  }

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

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

  #services {
    flex-direction: column;
    align-items: center;
  }

  .service-item {
    margin: 1rem 0;
  }

  #world-branded {
    height: auto;
    padding: 2rem 0;
  }

  #scroll-to-top {
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .modal-content {
    flex-direction: column;
    width: 95%;
    max-width: 400px;
    padding: 15px;
  }

  .modal-left {
    display: none;
  }

  .modal-right {
    padding-left: 0;
  }

  .tab-button {
    padding: 8px 15px;
    font-size: 15px;
  }

  .form-container input {
    font-size: 14px;
    padding: 8px;
  }

  .form-container button {
    padding: 10px;
    font-size: 16px;
  }

  .social-login {
    flex-wrap: wrap;
  }

  .social-icon {
    width: 35px;
    height: 35px;
    margin: 5px;
  }
}

.scrollup-animation {
  animation: appear linear;
  animation-timeline: view();
  animation-range: entry 0%;
  animation-range: entry 0% cover 40%;
}

@keyframes appear {
  0% {
    opacity: 0;
    scale: 0.5;
  }

  100% {
    opacity: 1;
    scale: 1;
  }
}

@media (max-width: 1024px){
  .landing-content h1 {
    font-size: 2.4vw;
    
  }
}