/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Gilroy-Bold;
}

/* Modern Cursor Styles */
.cursor {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  mix-blend-mode: difference;
  display: none; /* Hidden by default, shown by JS */
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #e11931; /* Ray-Ban red */
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
  pointer-events: none;
}

.cursor-outline {
  width: 40px;
  height: 40px;
  border: 2px solid #e11931;
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    height 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
  opacity: 0.7;
  pointer-events: none;
}

/* Hide default cursor */
html,
body,
a,
button {
  cursor: none !important;
}

/* Hover States */
a:hover + .cursor .cursor-outline,
button:hover + .cursor .cursor-outline,
.hover-effect:hover + .cursor .cursor-outline,
a:hover ~ .cursor .cursor-outline,
button:hover ~ .cursor .cursor-outline,
.hover-effect:hover ~ .cursor .cursor-outline {
  width: 60px;
  height: 60px;
  background-color: rgba(225, 25, 49, 0.2);
  opacity: 1;
}

/* Click State */
body:active .cursor-dot {
  transform: translate(-50%, -50%) scale(0.8);
}

body:active .cursor-outline {
  width: 50px;
  height: 50px;
  border-color: #ffffff;
}

/* Rest of your existing CSS remains the same */
html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

#main {
  position: relative;
  width: 100%;
  height: 100vh;
}

/* BACKGROUND */
#back {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#back canvas {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 1;
}

/* OVERLAY content */
#top {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 2;
}

#workingarea {
  position: relative;
  width: 80%;
  margin: 0 auto;
  height: 100vh;
  max-width: 1920px;
}

/* Navigation - Enhanced Styling */
#nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5;
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#nav img {
  height: 60px;
  transition: transform 0.3s ease;
}

#nav img:hover {
  transform: scale(1.05);
}

#nleft,
#nright {
  display: flex;
  align-items: center;
  gap: 60px;
}

#nav a {
  color: #fff;
  pointer-events: all;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  position: relative;
  transition: color 0.3s ease;
}

#nav a:hover {
  color: #e11931;
}

#nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #e11931;
  transition: width 0.3s ease;
}

#nav a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  transform: translate(0%, -50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

#heroleft {
  min-width: 50%;
}

#heroleft .elem {
  position: relative;
  height: 9vw;
  overflow: hidden;
}

#heroleft .elem h1:nth-child(1) {
  top: 0;
}

#heroleft .elem h1 {
  position: absolute;
  top: 100%;
  left: 0;
  line-height: 0.9;
  font-family: "kajiro";
  color: white;
  font-weight: 100;
  font-size: 11vw;
}

#heroleft button {
  cursor: pointer;
  pointer-events: all;
  padding: 0.8vw 3vw;
  font-size: 3vw;
  margin-top: 2vw;
  font-family: "kajiro";
  background-color: white;
  color: #e11931;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#heroleft button:hover {
  background-color: #e11931;
  color: white;
  transform: translateY(-3px);
}

#heroright {
  width: 17%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

#heroright p {
  font-size: 14px;
  font-weight: 300;
  text-align: right;
}

#heroright #imagediv {
  width: 100%;
  height: 170px;
  margin-top: 20px;
  margin-bottom: 30px;
  background-image: url(https://plus.unsplash.com/premium_photo-1672790905681-ef3b169f5a19?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTd8fGV5ZXdlYXJ8ZW58MHwxfDB8fHww);
  background-size: cover;
  background-position: center;
  border-radius: 1rem;
}

#heroright p:nth-child(3) {
  margin-bottom: 100px;
}

/* Simple Footer with Social Icons */
#simple-footer {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  z-index: 3;
  pointer-events: all;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-links a {
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #e11931;
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  #workingarea {
    width: 90%;
  }

  #nleft,
  #nright {
    gap: 40px;
  }

  #heroright {
    width: 25%;
  }
}

@media (max-width: 992px) {
  #nav {
    padding: 30px 0;
  }

  #nav img {
    height: 50px;
  }

  #nleft,
  #nright {
    gap: 30px;
  }

  #hero {
    flex-direction: column;
    align-items: flex-start;
    top: 45%;
  }

  #heroleft {
    width: 100%;
    margin-bottom: 40px;
  }

  #heroleft .elem {
    height: 12vw;
  }

  #heroleft button {
    font-size: 4vw;
    padding: 1.2vw 4vw;
  }

  #heroright {
    width: 40%;
    align-items: flex-start;
  }

  #heroright p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  #nav {
    padding: 20px 0;
    flex-direction: column;
    gap: 20px;
  }

  #nleft,
  #nright {
    width: 100%;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }

  #heroleft .elem {
    height: 15vw;
  }

  #heroleft h1 {
    font-size: 15vw;
  }

  #heroleft button {
    font-size: 5vw;
    padding: 1.5vw 5vw;
  }

  #heroright {
    width: 60%;
  }

  #heroright #imagediv {
    height: 120px;
  }
}

@media (max-width: 576px) {
  #workingarea {
    width: 95%;
  }

  #nav a {
    font-size: 12px;
  }

  #heroleft .elem {
    height: 18vw;
  }

  #heroleft h1 {
    font-size: 18vw;
  }

  #heroleft button {
    font-size: 6vw;
    padding: 2vw 6vw;
    margin-top: 4vw;
  }

  #heroright {
    width: 80%;
  }

  #heroright p {
    font-size: 12px;
  }

  #heroright #imagediv {
    height: 100px;
  }

  #simple-footer {
    bottom: 20px;
  }

  .social-links {
    gap: 15px;
  }

  .social-links a {
    font-size: 16px;
  }
}

/* Mobile Landscape */
@media (max-height: 500px) and (orientation: landscape) {
  #nav {
    padding: 15px 0;
  }

  #hero {
    top: 40%;
  }

  #heroleft .elem {
    height: 12vw;
  }

  #heroright {
    display: none;
  }

  #simple-footer {
    bottom: 10px;
  }
}
