*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#f5f3ef;
color:#111;
font-family:'Inter', sans-serif;
overflow-x:hidden;
}

/* NAVBAR */
.navbar{
position:fixed;
top:20px;
left:50%;
transform:translateX(-50%);
width:85%;
padding:15px 40px;
display:flex;
justify-content:space-between;
align-items:center;
background:rgba(255,255,255,0.6);
backdrop-filter:blur(15px);
border-radius:50px;
z-index:1000;
}

.logo{
font-weight:600;
letter-spacing:3px;
}

.nav-links a{
margin-left:30px;
text-decoration:none;
color:#111;
font-weight:500;
}
/* --- Desktop Styles (Keep your existing ones and add this) --- */
.menu-toggle {
  display: none; /* Hide on desktop */
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #111;
  margin: 2px 0;
  transition: 0.3s;
}

/* --- Mobile Styles --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none; /* Hidden by default */
    position: absolute;
    top: 70px; /* Sits below the pill */
    left: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px; /* Match the aesthetic */
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  }

  /* This class is toggled by JavaScript */
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 15px 0;
    margin-left: 0; /* Reset your desktop margin */
    display: block;
  }
}
/* HERO SPLIT */
.hero{
display:flex;
height:100vh;
align-items:center;
padding:0 8%;
gap:80px;
}

.hero-left{
flex:1;
}

.hero-left h1{
font-family:'Playfair Display', serif;
font-size:70px;
line-height:1.1;
}

.hero-left p{
margin:20px 0;
font-size:18px;
color:#555;
}

.hero-right{
flex:1;
}

.hero-right img{
width:100%;
height:80vh;
object-fit:cover;
border-radius:20px;
}

/* BUTTON */
.btn{
padding:14px 35px;
background:#c2a878;
border:none;
border-radius:40px;
cursor:pointer;
font-weight:500;
position:relative;
transition:0.3s ease;
}

/* PROJECTS */
.projects{
padding:120px 8%;
}

.projects h2{
font-family:'Playfair Display', serif;
font-size:50px;
margin-bottom:40px;
}

.horizontal-scroll{
display:flex;
gap:40px;
overflow-x:auto;
scroll-snap-type:x mandatory;
}

.scroll-item{
min-width:400px;
scroll-snap-align:start;
}

.scroll-item img{
width:100%;
height:500px;
object-fit:cover;
border-radius:20px;
transition:0.6s;
}

.scroll-item img:hover{
transform:scale(1.05);
}

/* ABOUT */
.about{
padding:150px 8%;
background:white;
}

.about h2{
font-family:'Playfair Display', serif;
font-size:60px;
margin-bottom:20px;
}

/* CONTACT */
.contact{
padding:150px 8%;
text-align:center;
}

/* RESPONSIVE */
@media(max-width:900px){
.hero{
flex-direction:column;
height:auto;
padding-top:150px;
}
.hero-right img{
height:400px;
}
.hero-left h1{
font-size:40px;
}
}

/* SCROLL REVEAL BASE */
.reveal {
  opacity: 0;
  transform: translateY(80px);
  transition: 1.2s cubic-bezier(.19,1,.22,1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* PARALLAX IMAGE DEPTH */
.parallax img {
  transform: scale(1.2);
  transition: transform 0.3s ease-out;
}

/* PREMIUM CURSOR */
.cursor {
  width: 20px;
  height: 20px;
  border: 1px solid #c2a878;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: 0.1s ease-out;
  z-index: 2000;
}

.cursor-grow {
  transform: translate(-50%, -50%) scale(2);
  background: rgba(194,168,120,0.2);
}

.preloader{
position:fixed;
inset:0;
background:#f5f3ef;
display:flex;
justify-content:center;
align-items:center;
z-index:3000;
overflow:hidden;
}

.loader-text{
font-family:'Playfair Display', serif;
font-size:40px;
letter-spacing:5px;
animation:fadeUp 1.5s ease forwards;
}

@keyframes fadeUp{
0%{opacity:0; transform:translateY(40px);}
100%{opacity:1; transform:translateY(0);}
}

.grain{
position:fixed;
inset:0;
background:url('https://grainy-gradients.vercel.app/noise.svg');
opacity:0.08;
pointer-events:none;
z-index:2000;
}

.lightbox{
position:fixed;
inset:0;
background:rgba(0,0,0,0.9);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
pointer-events:none;
transition:0.4s;
z-index:4000;
}

.lightbox img{
max-width:90%;
max-height:90%;
}

.lightbox.active{
opacity:1;
pointer-events:auto;
}