/* Root app styles */
html, body {
  background-color: #111921;
  font-family: Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Prevents scrolling */
  cursor: none; /* Hide default browser cursor globally */
}

#app {
  color: #e0e0db;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  user-select: none;
  opacity: 1;
}

#logo {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1000;
    width: 120px;
    height: auto;
    transition: width 0.3s ease, top 0.3s ease, right 0.3s ease;
    mix-blend-mode: difference;
}

/* --- Simplified Image Slider Styles --- */
#image-container-wrapper { 
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden; 
}

.slider-item {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; 
    pointer-events: none; 
    transition: opacity 0s; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slider-item.active {
    opacity: 1; 
    pointer-events: auto; 
    z-index: 1; 
}


/* Page Indicators (retained style) */
#page-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 15px;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(224, 224, 219, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.indicator-dot.active {
    background-color: #ffc810;
    transform: scale(1.2);
}

/* Invisible container for the menu button */
#menu-button-container {
    position: absolute;
    top: 20px;
    left: 10px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    mix-blend-mode: difference;
}

#menu-button-container.active {
    mix-blend-mode: normal;
}

/* Hamburger Menu button */
.menu-btn {
    position: relative;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    pointer-events: none; /* Let container handle clicks */
}

.hamburger-line {
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: #e0e0db;
    border-radius: 3px;
    transition: transform 0.4s ease, top 0.4s ease, background-color 0.4s ease;
}

.hamburger-line:first-child {
    top: 0;
}

.hamburger-line:last-child {
    top: 18px;
}

/* Transform into 'X' when active */
.menu-btn.active .hamburger-line:first-child {
    top: 9px;
    transform: rotate(45deg);
    background-color: #ffc810;
}

.menu-btn.active .hamburger-line:last-child {
    top: 9px;
    transform: rotate(-45deg);
    background-color: #ffc810;
}

/* Full screen menu drop-down */
.menu-overlay {
  position: fixed;
  inset: 0; /* Replaces top, right, bottom, left */
  width: 100%;
  height: 100%;
  background: rgba(17, 25, 33, 0.95);
  color: #e0e0db;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 40px;
  box-sizing: border-box;
  z-index: 999;
  user-select: text;
  pointer-events: none;
  
  transition: opacity 0.5s ease;
  opacity: 0;
}

.menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.menu-overlay h1 {
    font-size: 3.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.menu-overlay h2 {
    font-size: 1.3rem;
    margin: 0 0 25px 0;
    font-weight: 100;
    color: #ffc810;
}

.menu-overlay p {
    margin: 10px 0;
    font-size: 1.1rem;
    text-align: center;
    max-width: 60%;
    cursor: text;
    line-height: 1.6;
}

.contact-info {
    position: absolute;
    bottom: 7%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-number {
    color: #e0e0db;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 100;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: #ffc810;
}
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #e0e0db;
    display: inline-block; /* Needed for transform */
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: #ffc810;
    transform: scale(1.1);
}

.social-links svg,
.social-links .social-logo {
    height: 28px; /* Consistent height for all icons */
}

.social-links svg {
    width: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.social-links .social-logo {
    width: auto; /* Maintain aspect ratio for the logo */
}
/* Cursor Styles */
#cursor-dot,
#cursor-outline {
  position: fixed;
  transform: translate3d(0, 0, 0) translate(-50%, -50%);
  border-radius: 50%;
  z-index: 9999;
  pointer-events: none;
  will-change: transform, width, height;
}

#cursor-dot {
  width: 10px;
  height: 10px;
  background-color: #e0e0db; 
  mix-blend-mode: difference;
  box-shadow: 0 0 35px #e0e0db;
  transition: none;
}

#cursor-outline {
  width: 40px;
  height: 40px;
  border: 1px solid #e0e0db;
  mix-blend-mode: difference;
  transition: transform 0.12s cubic-bezier(.2,1,.3,1), 
              width 0.3s ease-out, height 0.3s ease-out;
}

a, button, .indicator-dot, .menu-overlay p {
  cursor: pointer;
}

/* --- Instruction Overlay --- */
#instruction-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10001; /* Above everything */
  color: #e0e0db;
  font-size: 4rem;
  cursor: auto; /* Show default cursor on the overlay */
  transition: opacity 0.5s ease;
}

#instruction-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 25, 33, 0.7);
  z-index: -1; /* Place it behind the text */
  transition: opacity 1s ease; /* Match text animation duration */
}

#instruction-text {
  font-weight: 100; /* Thin font style */
  user-select: none;
}

#instruction-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* --- Responsive Styles for Mobile --- */
@media (max-width: 768px) {
    #menu-button-container {
        left: 0;
    }

    #logo {
        width: 90px;
        top: 25px;
        right: 20px;
    }

    #instruction-overlay {
        font-size: 3rem; /* Smaller font for instruction text on mobile */
    }

    #page-indicators {
        bottom: 20px;
        gap: 10px;
    }

    .menu-overlay h1 {
        font-size: 2.5rem;
    }

    .menu-overlay h2 {
        font-size: 1.1rem;
    }

    .menu-overlay p {
        font-size: 0.9rem; /* Smaller font for menu text on mobile */
        max-width: 90%;
    }

    .contact-info {
        bottom: 40px;
        gap: 15px;
    }

    .phone-number {
        font-size: 1rem;
    }

    .social-links {
        gap: 25px;
    }

    .social-links svg,
    .social-links .social-logo {
        height: 24px;
    }

    .social-links svg {
        width: 24px;
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none), (pointer: coarse) {
  #cursor-dot,
  #cursor-outline {
    display: none !important;
  }
  html, body {
    cursor: auto !important; /* Ensure default cursor is visible */
  }
}