@import url(https://fonts.googleapis.com/css?family=Quattrocento+Sans);

/*────────────────────────────────────────────────────────────
  Global Reset + Smooth Scroll
────────────────────────────────────────────────────────────*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth; /* for <a href="#sectionX"> jumps */
}

html,body {
  width: 100%;
  font-family: 'Playfair Display', serif;
  background: #000;
  color: white;
}

/*────────────────────────────────────────────────────────────
  Scroll‐Snap Container 
────────────────────────────────────────────────────────────*/
.container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: y mandatory; 
  scrollbar-width: none;            /* Firefox: hide scrollbar */
  position: relative;
}

.container::-webkit-scrollbar {
  display: none; /* Chrome/Safari: hide scrollbar */
}

/*────────────────────────────────────────────────────────────
  Each Section (snap‐point)
────────────────────────────────────────────────────────────*/


.section {
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  scroll-snap-align: start; 
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.5),
    rgba(255, 255, 255, 0.1)
  );
  backdrop-filter: blur(10px);
  z-index: 1;
}

/* Four different gradient backgrounds */
.section:nth-child(1) {
  background: linear-gradient(135deg, #040603, #031e24);
}
.section:nth-child(2) {
  background: linear-gradient(135deg, #1c2b4c, #040105);
}
.section:nth-child(3) {
  background: linear-gradient(135deg, #040007, #2a0143);
}
.section:nth-child(4) {
  background: linear-gradient(135deg, #221031, #010002);
}
.section:nth-child(5) {
  background: linear-gradient(135deg, #070708, #222121);
}
.section:nth-child(6) {
  background: linear-gradient(135deg, #21122e, #1b042b);
}

/*────────────────────────────────────────────────────────────
  Section Content (initially hidden, then fade in when active)
────────────────────────────────────────────────────────────*/
.content {
  width: 100%;
  z-index: 2;
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  filter: blur(70px);
  transition: opacity 1s ease-out, transform 1.5s ease-out;
}


/* Only when the section is “active” do we reveal/animate its content */
.section.active .content {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

/*────────────────────────────────────────────────────────────
  Section Headlines + Paragraphs
────────────────────────────────────────────────────────────*/
h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}
.section .content{
  transition: none;
}



.liver {
  position: absolute;
  display: flex;
  flex-direction: column;
   right: 30%;
   bottom: 90px;
   gap: 20px;
   width: auto;
     align-items: flex-start;
  font-family: 'Lucida Handwriting', cursive
}



.down1{
  font-family: 'Lucida Handwriting';
  justify-content: left;
  width: 100%;
  max-width: 500px;
  position: absolute;
  left: 48%;
  font-size: 1.4rem;
  z-index: 2;
  line-height: 2.4rem;
  text-align: justify;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.down1 {
  /* ...existing styles... */
  animation: fadeUp 1s ease-in-out;
}

.down {
  position: absolute;
  top: 430px;
  left: 50%;
  width: auto;
  display: flex;
  font-size: 1.6rem;
  font-family: 'Lucida Papyrus';
  transform: translateX(-50%);

  z-index: 2;
}

/* Animate the paragraph in with a slight delay */
.liver p {
  position: relative;
  padding: 0.5rem 1rem;
  font-weight: bold;
  background-color: transparent;
  width: auto;
  font-size: 2.3rem;
  line-height: 1.2;
  border: 0 solid white;       /* start with no border */
  /* 1) Slide‐in then 2) draw the border */
}

.liver.visible {
  animation:
    slideInBottomScale 1s ease-in-out both 1s,   /* your existing slide */
    borderGrow          2s ease-in-out both 2s; /* border draw after 1.4s */}

    .liver.visible p {
  animation:
    slideInBottomScale 1s ease-in-out both 0.4s, 
    borderGrow          0.6s ease-in-out both 1.4s;
}
/* reuse your slide keyframes */
@keyframes slideInBottomScale {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* new border animation */
@keyframes borderGrow {
  0% {
    border-width: 0;
    border-color: rgba(255,255,255,0);
  }
  30% {
    border-width: 0.05rem;
    border-color: rgba(255,255,255,0.5);
  }
  60% {
    border-width: 0.08rem;
    border-color: rgba(255,255,255,0.8);
  }
  100% {
    border-width: 0.1rem;
    border-color: #ffffff;
  }
}

/* If you still want the container itself to animate up */
#section2 .liver {
  animation: slideInBottomScale 0.8s ease-in-out both;
}

/* Keyframes (same as you already have) */
@keyframes slideInBottomScale {
  from {
    transform: translateY(100%) scale(5);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


#section2 .about-img {
  position: absolute;
  height: 70%;
  padding-right: 600px;
  border-radius: 10px;
    z-index: 1;
}




/*────────────────────────────────────────────────────────────
  Scroll‐Indicator Dots (right side)
────────────────────────────────────────────────────────────*/
/*──────────────────────────────────────────
  Scroll-Indicator Container & Dots
──────────────────────────────────────────*/
.scroll-indicator {
  position: fixed;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 1000;
}

.scroll-indicator .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.scroll-indicator .dot.active {
  background: #ffffff;
  transform: scale(1.4);
}


/*────────────────────────────────────────────────────────────
  Logo / Animated Text
────────────────────────────────────────────────────────────*/
.animated-text {
  color: #fff;
  position: absolute;
  top: 40%;
  left: 8%;
  transform: translate(-50%, -50%);
  background: transparent;
  padding: 10px 40px;
  height: 60px;
  overflow: hidden;
}

.line {
  text-align: center;
  font-size: 40px;
  line-height: 60px;
}

.line:first-child {
  animation: anim 14s infinite;
}

@keyframes anim {
  0%   { margin-top:    0; }
  16%  { margin-top:  -60px; }
  33%  { margin-top: -120px; }
  50%  { margin-top: -180px; }
  66%  { margin-top: -120px; }
  82%  { margin-top:  -60px; }
  100% { margin-top:    0; }
}

/*────────────────────────────────────────────────────────────
  Navbar Styles
────────────────────────────────────────────────────────────*/
.navbar {
  display: flex;
  flex-direction: row;
  justify-content: right;
  background-color: transparent;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  backdrop-filter: blur(100px);
}

/* ─────────────────────────────────────────── */
/* 1) Base navbar/link styling (adjust colors/spacing as needed) */
/* ─────────────────────────────────────────── */
/* 1) Basic Navbar/Link Styling */

.navbar nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar nav a,
.navbar .dropbtn-new {
  font-family: 'Montserrat', Arial, sans-serif;
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.3rem;
  padding: 0.5rem 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s ease;
}

.navbar nav a:hover,
.navbar .dropbtn-new:hover {
  color: #bbc7d1;
  text-decoration: underline;

}

/* ─────────────────────────────────────────── */
/* 2) Dropdown Wrapper Positioning */
.dropdown-new {
  position: relative;
  display: inline-block;
}

/* ─────────────────────────────────────────── */
/* 3) Hidden-by-default Dropdown Content */
.dropdown-new .dropdown-content-new {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top center;
  width: 160px; /* adjust as needed */
  background-color: rgba(127, 115, 115, 0.8);
  backdrop-filter: blur(8px);
  border-radius: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  overflow: hidden;

  opacity: 0;
  visibility: hidden;
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.25s ease,
    visibility 0s linear 0.3s; /* delay hiding until animation finishes */
  pointer-events: none;
  z-index: 100;
}

/* ─────────────────────────────────────────── */
/* 4) “Open” Class → Expand + Fade In */
.dropdown-new.open .dropdown-content-new {
  transform: translateX(-50%) scaleY(1);
  opacity: 1;
  visibility: visible;
  transition:
    transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.25s ease,
    visibility 0s; /* show visibility immediately */
  pointer-events: auto;
}

/* ─────────────────────────────────────────── */
/* 5) Submenu Items */
.dropdown-content-new a {
  display: block;
  padding: 0.65rem 1rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.7rem;
  transition: background-color 0.2s ease;
}

.dropdown-content-new a:not(:last-child) {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dropdown-content-new a:hover {
  background-color: rgba(0, 119, 204, 0.1);
}

/* ─────────────────────────────────────────── */
/* 6) Arrow Styling */
.dropbtn-new {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.arrow-new {
  width: 10px;
  height: 10px;
  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #fbfbfb;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
  margin-top: 2px;
}

/* Rotate arrow when “open” */
.dropdown-new.open .arrow-new {
  transform: rotate(-135deg);
}

/* ─────────────────────────────────────────── */
/* 7) Optional Hover Glow Behind Button */
.dropbtn-new::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: rgba(0, 119, 204, 0);
  transition: background 0.2s ease;
  z-index: -1;
}

.dropdown-new.open .dropbtn-new::before {
  /* light blue glow when menu is open */
  background: rgba(255, 255, 255, 0.1);
}
  .dropbtn-new::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    transition: background 0.2s ease;
    z-index: -1;
  }

  .dropdown-new:hover .dropbtn-new::before {
    background: rgba(0, 0, 0, 0.1);
    
  }

/*────────────────────────────────────────────────────────────
  dp Styles
────────────────────────────────────────────────────────────*/
.dp {
  align-items: center;
  justify-content: center;
  width: 420px;
  height: 400px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* button */
/* button */
.btn {
  font-size: 1.3rem;
  padding: 8px 15px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background: linear-gradient(45deg, #23408a, #84bcf8);
}
.btn::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  border-radius: 10px;
}
/* glow */
.btn::before {
  content: "";
  background: linear-gradient(
    45deg,
    #917b7b, #FF7300,
     #002BFF, #FF00C8, #FF0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height:  calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 10s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  opacity: 0;
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 100% 0;}
  100% {background-position: 0 0;}
}

/* hover */
.btn:hover::before {
  opacity: 1;
}

.btn:active:after {
  background: transparent;
}

.btn:active {
  color: #fff0f0;
}

/*────────────────────────────────────────────────────────────
  Contact
────────────────────────────────────────────────────────────*/
/* ===== CONTACT SECTION STYLES ===== */

#contact {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100vh;
  background-color: #f9f9f9;
}

#contact img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 800px;
  border-radius: 8px;
  padding: 70px 0;
  left: 6%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* ――― Base paragraph rules ――― */
#contact p {
  /* 1. Typographic rhythm */
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: clamp(1rem, 2vw, 1rem);  /* scales between 16px and 20px */
  line-height: 1.6;                       /* good vertical white-space */
  
  /* 2. Readability */
  color: #ffffff;                            /* dark gray on white bg */
  text-align: justify;                    
  hyphens: auto;                          /* break long words nicely */
  width: auto;
  /* 3. Measure (line length) */
  max-width: 60ch;                        /* ~60 characters per line */

  /* 4. (Optional) subtle text-shadow for overlay text */
  /* text-shadow: 0 1px 2px rgba(0,0,0,0.2); */
}

/* ――― Utility variant for light text over dark/colored bg ――― */
#contact p.light {
  color: #f8f8f8;                         /* off-white */
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}


#contact .content {
  width: 440px;
  margin: 0 auto;
  text-align: center;
}

#contact .content h2 {
  font-size: 2rem;
  margin-bottom: 24px;
  color: #fffdfd;
  letter-spacing: 1px;
}

/* ===== FORM STYLES ===== */

#contact .form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contact .form .input,
#contact .form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical;
  transition: border-color 0.2s ease;
}

#contact .form .input:focus,
#contact .form textarea:focus {
  outline: none;
  border-color: #6c63ff;
}

#contact .form textarea {
  min-height: 120px;
  line-height: 1.5;
}

#contact .form input[type="submit"]#send {
  align-self: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #6c63ff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#contact .form input[type="submit"]#send:hover {
  background-color: #5848c2;
}

/* ===== ICON LINKS STYLES ===== */

#contact .icon {
  position: relative;
  gap: 16px;
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 24px;
  bottom: 0;
}

#contact .icon a {
  font-size: 1.8rem;
  color: #bbb4b4;
  transition: color 0.2s ease, transform 0.2s ease;
}

#contact .icon a:hover {
  color: #f0f0f6;
  transform: scale(1.2);
}

.footer {
  margin-top: 40px;
  padding: 20px 0;
  font-size: 0.9rem;
  color: #ffffff;
  text-align: center;
  border-top: 1px solid #ddd;
  line-height: 1.4;
}
#section4 .content .icon + .footer {
  margin-top: 32px;
}

/*
.icon{
    display: flex;
    flex-direction: row;
}

.icon a{
  text-decoration: none;
  display: flex;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid white;
  font-size: 17px;
  border-radius: 50%;
  color: lightblue;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgb(154, 217, 238) 50%, black 50%);
  background-size: 100% 200%;
  transition: all 1s;
}

.icon a:hover{
  background-position: left bottom;
  color: black;
  border: none;
  box-shadow: 0 0 40px rgb(94, 118, 176);
}
*/

/*culinary*/
/* Make sure #section3 can serve as a positioning context */
#section3 {
    /* Give the section some vertical space so its child can show */
  display: flex;    
  flex-direction: row;
  overflow: hidden;
  background-image: url(blurred.jpeg);
    background-attachment: fixed;

}


.drop{
  display: flex;
  flex-direction: row;

}

#section3 h1{
  display: none;
  flex-direction: column;
  align-items: center;
  font-size: 3rem;     
  color: rgb(226, 223, 223);
}

/* Option 1: Absolutely position the <p> so it sits higher in the viewport */
#section3 .culinary {
  display: none;
  font-size: 1.5rem;
  line-height: 1.2;
  text-align: justify;
  max-width: 900px;
  padding: 100px 80px;
  font-size: 1.5rem;
    opacity: 0.8;

}

.services-title-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  padding: 30px 90px;
}

.services-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #ffffff;
  font-family: 'Papyrus', cursive;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  margin: 0;
}

/* Decorative line to the left */
.services-title::before {
  content: "";
  flex-shrink: 0;
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}

#section3 .cards-container input[type="radio"] {
  display: none;
}

.wrapper{
  display: flex;
  padding: 0 100px;
  width: 100%;
  align-items: center;
  justify-content: center;
}
#section3 .cards-container{
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  }
/* Base card styles */
#section3 .cards-container .card {
  height: 500px;
  width: 150px;
  margin: 0 5px;
  border-radius: 3rem;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  
  /* start off to the left and invisible */
  opacity: 0;
  transform: translateX(-140px);

  /* one unified transition for everything */
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    width 0.6s cubic-bezier(.28,-0.03,0,.99),
    box-shadow 0.3s ease;
  
  box-shadow: 0 10px 30px -5px rgba(77, 160, 219, 0.8);
}

/* When JS adds .in-view, slide into place & fade in */
#section3 .cards-container .card.in-view {
  opacity: 1;
  transform: translateX(0);
}


/* 3) Hide description by default */
#section3 .card .description {
  opacity: 0;
  transform: translateX(60%) skewX(-15deg);
  transition: 
    transform 0.6s cubic-bezier(.25,.8,.25,1), /* springy */
    opacity   0.4s ease-out 0.2s;              /* delayed fade-in */
}

#section3 .card .description {
  background: rgba(0,0,0,0.5);
  padding: 1rem;
  border-top-left-radius: 0.5rem;
}

/* 4) Expand on hover */
#section3 .cards-container .card:hover {
  width: 30%;
  box-shadow: 0 15px 40px -5px rgba(121, 40, 40, 0.9);
}

/* 5) Reveal description on the hovered card */
#section3 .cards-container .card:hover .description {
  opacity: 1;
  transform: translateX(0) skewX(0deg);
}

/* 6) Dim the non-hovered cards to draw focus */
#section3 .cards-container .card:not(:hover) {
  opacity: 0.9;
}

/* 7) (Optional) Smooth out text and icon colors, keep them white */
#section3 .card .row,
#section3 .card .icon,
#section3 .card h4,
#section3 .card p {
  color: #fff;
}

/* 8) Background images for each card (unchanged) */
#section3 label[for="c1"] {
   background-image: url('/images/e.png'); 
  }
#section3 label[for="c2"] { background-image: url('/images/ss.png'); }
#section3 label[for="c3"] { background-image: url('/images/yy.png'); }
#section3 label[for="c5"] { background-image: url('/images/54.jpg'); }


.card-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}
/*image-tranding*/
/* ===== IMAGE TRACK (VERTICAL) ===== */
.fashion {
  font-size: 1.5rem;
  line-height: 1.2;
  position: relative;
  align-items: center;
  justify-content: center;
  text-align: justify;
  padding: 50px;
  padding-left: 300px;
  max-width: 90%;
    opacity: 0.8;

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


/* Image slider*/
/* ===== SLIDER WRAPPER ===== */
#section4 {
  display: flex;
  flex-direction: row;
  padding: 100px 100px;
}

.verti {
  position: absolute;
  padding: 10px 10px;
  right: 8%;
  top: 7%;
  z-index: 14;
  font-weight: bold;
  border: #ffffff solid 1px;
  /* cursive styling */
  font-family: 'Great Vibes', cursive;
  font-size: 2rem;              /* adjust size as needed */
  color: #fafafa;               /* light text */
  text-shadow: 
    1px 1px 2px rgba(0,0,0,0.3),
    2px 2px 4px rgba(0,0,0,0.2);
  letter-spacing: 0.05em;       /* subtle spacing */
  line-height: 1.1;

    /* rotate 90° */
  transform: rotate(90deg);
  /* adjust the pivot point if needed */
  transform-origin: top left;
}



/* 1) Make the containers positioning context */
#nextSection .container {
  display: flex;
  
  height: 500px;          /* or whatever height you want */
}
/* 1) Make the image‐side a positioned box that fills half the carousel */
.image-container {
  position: relative;
  width: 100%;
  height: 500px;       /* or whatever height you want your slides to be */
}

.text-item{
  padding: 50px;
  font-family: 'Quattrocento Sans', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.3rem);  /* scales between 16px and 20px */
  line-height: 2;                       /* good vertical white-space */
  
  /* 2. Readability */
  color: #ffffff;                            /* dark gray on white bg */
  text-align: justify;                    
  hyphens: auto;                          /* break long words nicely */

  /* 3. Measure (line length) */
  max-width: 60ch;  

    opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.8s ease-out,
              transform 1s ease-out;
}



/* 2) Stack the .pic wrappers absolutely, but full‐size */
#nextSection .pic {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  /* start off invisible and shifted right */
  opacity: 0;
  transform: translateX(500px);

  /* one unified transition for both properties */
  transition:
    opacity 0.8s ease-out,
    transform 3s ease-out;
}


#nextSection.in-view .text-item {
  opacity: 1;
  transform: translateX(0);
}
#nextSection.in-view .pic,
#nextSection .pic.active {
  opacity: 1;
  transform: translateX(0);
}

/* 4) Make the actual <img> fill its wrapper and preserve aspect */
#nextSection .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* or “contain” if you’d rather see the whole image */
  display: block;
  padding: 0px 60px;
}


#nextSection .text-item.active {
  display: block;
  max-width: 2000px;
}

/* Shared Button Styles */
#nextSection button {
    font-weight: 600;
    color: #fdfdfd;
    background: rgba(0, 0, 0, 0.1);
    border: 0.1px solid rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 10px;
    font-size: 20px;
    padding: 34px;
    bottom: 20px;
}

/* Hover/Active Effects */
#nextSection button:hover {
    transform: scale(1.08);

}

#nextSection button:active {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}


.dot-container {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 9;
}

.dot-container .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot-container .dot.active {
    background-color: #ffffff;
    transform: scale(1.3);
}




/* ===== slider STYLES ===== */
/* 1) Make sure overflow is hidden so that when the center slide scales up, it stays clipped */
/* 1) Container must be 1000×600, centered, with no other conflict */
/* 1) Center the entire carousel on screen */

.containers{
    width: 100vh;
    height: 100vh;
    background: #f5f5f5;
}

.containers .slides .items{
    width: 200px;
    height: 300px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: 0.5s;
}

.slides .items:nth-child(1),
.slides .items:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}


.slides .items:nth-child(4){
    left: calc(50% + 440px);
}

.slides .items:nth-child(3){
    left: calc(50% + 220px);
}
.slides .items:nth-child(5){
  display: none;
}

/* here n = 0, 1, 2, 3,... */
.slides .items:nth-child(n + 6){
    left: calc(50% + 660px);
    opacity: 0;
}



.items .contents{
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slides .items:nth-child(2) .contents{
    display: block;
}


.contents .name{
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.contents .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.contents button{
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}


@keyframes animate {
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}



.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 150px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 1px solid #000;
    transition: 0.3s;
    
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

/* 1) Remove the hidden radios (if still present) */

#section5 {
  overflow: hidden;
  z-index: 0;
  height: 100vh;
}

#slider-section {
  padding-top:100px;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.track {
  display: flex;
  width: calc(200%); /* because we duplicated the images */
  animation: scrollSlider 600s linear infinite;
  gap: 30px;
}

.track img {
  width: 50vw; /* full screen width */
  height: 60vh; /* full screen height */
  object-fit: cover;
  flex-shrink: 0;
}

/* Animation Keyframes */
@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* Move by half since it's duplicated */
}




#image-track {
  display: flex;
  background-color: #000;
  flex-direction: row;   /* stack images top→down */
  gap: 5vmin;
  position: relative;
  user-select: none;        /* prevent highlighting during drag */
  width: 100%;
  padding: 10px 10px; /* horizontal padding for spacing */
  /* give it a fixed height (e.g. full‐viewport height) */
}

/* Each circular image stays the same size */
.image {
  width: 35vmin;
  height: 25vmin;
  object-fit: cover;
  object-position: center;
  filter: brightness(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover and “active” states remain identical */
.image:hover {
  transform: scale(1.1) !important;
  filter: brightness(1.1) !important;
}

.image.active {
  transform: scale(1.2) !important;
  filter: brightness(1.2) !important;
}

/* dot container */
.dot-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 20px 0;
}

/* each dot */
.dot-nav .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

/* active dot */
.dot-nav .dot.active {
  background: #ffffff;
  transform: scale(1.3);
}
/* Keyframes */
@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-400%); } /* Adjust based on number of images */
}

/*────────────────────────────────────────────────────────────
  1) Mobile (≤ 768px) – Tablet & Large Phones
────────────────────────────────────────────────────────────*/
@media (max-width: 768px) {
  /*----------------------------------------------------------------
    A) GENERAL FONT‐SIZES & PADDING
  ----------------------------------------------------------------*/
  body {
    font-size: 0.9rem;        /* slightly smaller base text */
  }

  h1 {
    font-size: 2.25rem;       /* shrink large headings */
  }



.container {
  height: 100vh;
  width: 100%;
  overflow-y: scroll;
  scroll-snap-type: none; 
  scrollbar-width: none;            /* Firefox: hide scrollbar */
  position: relative;
}


#section2 {
  width: 100vw;     /* reduce padding for smaller screens */
  height: 100vh;    /* full viewport height */
}




.liver {
  position: absolute;
  display: none;
  flex-direction: column;
  text-align: center;
   gap: 10px;
   padding: 0 10px;
   padding-bottom: 140px;
  font-family: 'Lucida Handwriting', cursive;
}

.down1 {
  font-family: 'Lucida Handwriting';
    display: flex;
    line-height: 1.5rem;
  font-size: 1.1rem;
  z-index: 2;
  text-align: justify;
  width: 100%;
  max-width: 270px;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 66px;
}

.down {
  position: absolute;
  top: 430px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  display: flex;
  font-size: 1.4rem;
  font-family: 'Lucida Papyrus';
  z-index: 2;
}

/* Animate the paragraph in with a slight delay */
.liver p {
  position: relative;
  font-weight: bold;
  background-color: transparent;
  width: auto;
  font-size: 1.2rem;
  line-height: 1;
  border: 0.5px solid white;       /* start with no border */
  /* 1) Slide‐in then 2) draw the border */
}

.liver.visible {
  animation:
    slideInBottomScale 1s ease-in-out both 1s,   /* your existing slide */
    borderGrow          2s ease-in-out both 2s; /* border draw after 1.4s */}

    .liver.visible p {
  animation:
    slideInBottomScale 1s ease-in-out both 0.4s, 
    borderGrow          0.6s ease-in-out both 1.4s;
}
/* reuse your slide keyframes */
@keyframes slideInBottomScale {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* new border animation */
@keyframes borderGrow {
  0% {
    border-width: 0;
    border-color: rgba(255,255,255,0);
  }
  30% {
    border-width: 0.05rem;
    border-color: rgba(255,255,255,0.5);
  }
  60% {
    border-width: 0.08rem;
    border-color: rgba(255,255,255,0.8);
  }
  100% {
    border-width: 0.1rem;
    border-color: #ffffff;
  }
}

/* If you still want the container itself to animate up */
#section2 .liver {
  animation: slideInBottomScale 0.8s ease-in-out both;
}

/* Keyframes (same as you already have) */
@keyframes slideInBottomScale {
  from {
    transform: translateY(100%) scale(5);
    opacity: 0;
  }
  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}


#section2 .about-img {
  display: block;
  top: 113%;
  padding: 1px;
  width: 65%;
  height: 40%;
  object-fit: cover; /* optional: trims image if needed */
  border-radius: 8px; /* optional: adds rounded corners */
}



  /*----------------------------------------------------------------
    B) SCROLL‐SNAP SECTIONS
  ----------------------------------------------------------------*/
  /* Keep sections full‐height, but reduce the large pseudo‐overlay blur
     so mobile devices don’t feel too “heavy.” */
  .section::before {
    backdrop-filter: blur(6px);
  }

  /* If the animation feels too “long” on mobile, we can reduce transition times */
  .section,
  .section .content {
    transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  }







  /*----------------------------------------------------------------
    C) NAVBAR / DROPDOWN
  ----------------------------------------------------------------*/
  .navbar {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 13px 9px;
    backdrop-filter: blur(50px); /* slightly reduce blur intensity */
  }

  /* Stack nav items if they overflow */
  .navbar nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.2rem;
  }

  .navbar nav a,
  .navbar .dropbtn-new {
    font-size: 1.1rem;
    padding: 0.4rem 0.6rem;
  }

  /* Shrink the dropdown’s width */
  .dropdown-new .dropdown-content-new {
    width: 140px;
  }

  .dropdown-content-new a {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
  }

  .arrow-new {
    width: 8px;
    height: 8px;
    border-width: 2px;
  }

  /*----------------------------------------------------------------
    D) ANIMATED TEXT (“ABI D CRUZ”)
  ----------------------------------------------------------------*/
  .animated-text {
    display: none;
    top: 30%;
    left: 15%;
    transform: translate(-50%, -30%);
    padding: 8px 10px;
  }

  .line {
    font-size: 26px;
    line-height: 52px;
  }

  /*----------------------------------------------------------------
    F) “HIRE ME!” BUTTON (GLOW EFFECT)
  ----------------------------------------------------------------*/
  .btn {
    font-size: 1.1rem;
    padding: 6px 12px;
    border-radius: 8px;
  }

  .btn::before {
    top: -1.5px;
    left: -1.5px;
    width: calc(100% + 3px);
    height: calc(100% + 3px);
    filter: blur(6px);
  }
  
  #section1{
    overflow: hidden;
    height: 100vh;
    width: 100vw;
  }

  /*----------------------------------------------------------------
    G) “CULINARY” TEXT IN #section3
  ----------------------------------------------------------------*/
  /* Remove the huge “padding-top: 5400px” that pushes text off‐screen.
     Instead, let it flow naturally vertically, and center within its section. */
  #section3 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    height: 100vh;  /* full viewport height */
    
  }

  #section3 h1 {
    display: none;

  }


.services-title-wrapper {
  position: relative;
  display: flex;
}

.services-title {
  width: 100%;
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  font-family: 'Papyrus', cursive;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  text-align: center;
  align-items: center;
  justify-content: center;
  margin: 0;;
}

/* Decorative line to the left */
.services-title::before {
  display: none;
  content: "";
  flex-shrink: 0;
  position: absolute;
  left: -60px;
  top: 0%;
  transform: translateY(-50%);
  width: 50px;
  height: 2px;
  background-color: #ffffff;
}



  #section3 .culinary {
    display: none; /* hide the paragraph on mobile */
  }

  /* Your existing styles above remain unchanged */

  #section3 .cards-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 90px;

  }

  #section3 .cards-container .card {
    width: 150%;
    height: 80px;
  /* start off to the left and invisible */
  opacity: 0;
  transform: translateX(-390px);

  /* one unified transition for everything */
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out,
    height 0.6s cubic-bezier(.28,-0.03,0,.99),
    box-shadow 0.3s ease;
  
  box-shadow: 0 10px 30px -5px rgba(77, 160, 219, 0.8);
}

/* When JS adds .in-view, slide into place & fade in */
#section3 .cards-container .card.in-view {
  opacity: 1;
  transform: translateX(0);
}


  #section3 .cards-container .card:hover {
    height: 250px;
    width: 150%;
  }

  #section3 .card .description {
    font-size: 0.9rem;
    padding: 10px;
  }

  #section3 .card h4 {
    font-size: 1.2rem;
  }

  #section3 .card p {
    font-size: 0.95rem;
  }

  /*----------------------------------------------------------------
    H) IMAGE TRACK (VERTICAL) IN #section2 OR .fashion
  ----------------------------------------------------------------*/
  /* On mobile, stack images vertically—but center them,
     and shrink their diameter to fit the narrower screen. */



/* ─── Mobile Styles (≤768px) ─── */
  /* Stack section4 vertically */
  #section4 {
    display: flex;
    flex-direction: row;
    padding: 0px 10px;
    width: 100%;
    height: 100vh;           /* let it grow with content */

  }

  /* Reposition & simplify the rotated text */
  .verti {
    display: none;
    background-color: #cca87c;
    width: auto;
    justify-content: center;
    align-items: center;
    right: 39%;
    top: 50%;
    font-size: 0.9rem;
    padding: 5px;
  }

  /* Center the carousel container */
  /* Make the carousel container stack */
  #nextSection .container {
    flex-direction: column;
    height: 100%;
    overflow: hidden; /* hide overflow for mobile */
  }

  /* Text items full width & smaller type */
  .text-item {
    margin-top: 30px;
    padding: 10px;
    font-size: 0.9rem;
    max-width: 100%;
  }

  /* Shrink the “stage” height */
  .image-container {
    width: 100%;
    position: relative;
    height: 200px;
    justify-content: center;
    align-items: center;
    position: relative;
  }

  /* Override absolute stacking so the active slide simply shows */
  #nextSection .pic{
    opacity: 0;
    object-fit: cover;
  }

  #nextSection .pic.active {
    opacity: 1 !important;
    transform: translateX(0) !important;
    object-fit: cover;
  }

  /* Ensure images fill their box */
  #nextSection .pic img {
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0px 10px;
  }

  /* Buttons become full-widthish and smaller */
  #nextSection button {
    
    max-width: 300px;
    font-size: 0.9rem;
    padding: 0.1rem 0.5rem;
  }

  #nextSection .button-group {
    display: flexs;
    padding: 40px;
  }

  /* Tighter dot layout */
  .dot-container {
    display: none;
    bottom: 5px;
    gap: 5px;
  }

  .dot-container .dot {
    display: none;
    width: 10px;
    height: 10px;
  }

  /*----------------------------------------------------------------
    J) “scroll-indicator” DOTS (OPTIONAL HIDE ON MOBILE)
  ----------------------------------------------------------------*/
  .scroll-indicator {
    display: none;  /* remove side‐dots on smaller screens */
  }




#section5 {
  overflow: hidden;
  z-index: 0;
  height: 90vh;
}

#slider-section {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.track {
  display: flex;
  width: calc(200%); /* because we duplicated the images */
  animation: scrollSlider 600s linear infinite;
  gap: 30px;
}

.track img {
  width: 50vw; /* full screen width */
  height: 60vh; /* full screen height */
  object-fit: cover;
  flex-shrink: 0;
}

/* Animation Keyframes */
@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); } /* Move by half since it's duplicated */
}




#image-track {
  display: flex;
  background-color: #000;
  flex-direction: row;   /* stack images top→down */
  gap: 5vmin;
  position: relative;
  user-select: none;        /* prevent highlighting during drag */
  width: 100%;
  /* give it a fixed height (e.g. full‐viewport height) */
}

/* Each circular image stays the same size */
.image {
  width: 35vmin;
  height: 25vmin;
  object-fit: cover;
  object-position: center;
  filter: brightness(1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover and “active” states remain identical */
.image:hover {
  transform: scale(1.1) !important;
  filter: brightness(1.1) !important;
}

.image.active {
  transform: scale(1.2) !important;
  filter: brightness(1.2) !important;
}

/* dot container */
.dot-nav {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 20px 0;
}

/* each dot */
.dot-nav .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

/* active dot */
.dot-nav .dot.active {
  background: #ffffff;
  transform: scale(1.3);
}












/* ===== CONTACT SECTION STYLES ===== */

#contact {
  width: 100%;
  height: 90vh;
  padding: 00px 15px;
  background-color: #f9f9f9;
}
#contact img{
  display: none;
}
#contact .content {
  margin: 0 auto;
  text-align: center;
}

#contact .content h2 {
  font-size: 1.5rem;
  color: #fffdfd;
}

#contact p{
  width: 100%;
  font-size: 0.9rem;
  position: relative;
  gap: 0px;
  padding: null;
  left: 0;
}

/* ===== FORM STYLES ===== */

#contact .form {
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

#contact .form .input,
#contact .form textarea {
  width: 100%;
  padding: 7px 10px;
  font-size: 0.9rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

#contact .form .input:focus,
#contact .form textarea:focus {
  outline: none;
  border-color: #6c63ff;
}

#contact .form textarea {
  line-height: 1;
}

#contact .form input[type="submit"]#send {
  align-self: center;
  padding: px 13px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  background-color: #6c63ff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#contact .form input[type="submit"]#send:hover {
  background-color: #5848c2;
}

/* ===== ICON LINKS STYLES ===== */

#contact .icon {
  gap: 10px;
  display: none;
  justify-content: center;
  gap: 24px;
}

#contact .icon a {
  font-size: 1.3rem;
  color: #bbb4b4;
  transition: color 0.2s ease, transform 0.2s ease;
}

#contact .icon a:hover {
  color: #f0f0f6;
  transform: scale(1.2);
}

.footer {
  font-size: 0.75rem;
  color: #ffffff;
  border-top: 1px solid #ddd;
  line-height: 1.4;

}
.last{
  display: none;
}


.items .contents{
    position: absolute;
    top: 30%;
    left: 50px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
}


.slides .items:nth-child(2) .contents{
    display: block;
}


.contents .name{
    font-size: 30px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
}

.contents .des{
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.contents button{
    border: none;
    cursor: pointer;
    opacity: 0;
    margin-bottom: 85px;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
}

/* section1 button Styles */
.button{
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 130px;
}

.button button{
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: none;
    transition: 0.3s;
    
}

.button button:hover{
    background: #ababab;
    color: #fff;
}

/*
.icon{
    display: flex;
    flex-direction: row;
}

.icon a{
  text-decoration: none;
  display: flex;
  width: 35px;
  height: 35px;
  background: transparent;
  border: 1px solid white;
  font-size: 17px;
  border-radius: 50%;
  color: lightblue;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to top, rgb(154, 217, 238) 50%, black 50%);
  background-size: 100% 200%;
  transition: all 1s;
}

.icon a:hover{
  background-position: left bottom;
  color: black;
  border: none;
  box-shadow: 0 0 40px rgb(94, 118, 176);
}
*/




/* === Mobile Adjustments for Slider Section === */

/* Small tablets & large phones */
  /* Shrink slide height, show more of each image */


  #slider-section {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
  .track img {
    width: 100vw;      /* slightly smaller so you see a peek of next slide */
    height: 50vh;     /* shorter slide height */
  }

  /* Tighter gap between slides */
  .track {
    gap: 26px;
  }

  /* If you have nav buttons */
  .slider-nav {
    gap: 1rem;
  }


    .slider-track img {
    height: 60%;
    width: 40%;
    background-color: #000000;
}
}