/* styles.css */

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

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#0d0d0d;
  color:white;
  overflow-x:hidden;
}

/* Animated Background */

.bg-blur{
  position:fixed;
  border-radius:50%;
  filter:blur(120px);
  z-index:-1;
  opacity:0.35;
  animation:float 12s ease-in-out infinite;
}

.blur1{
  width:350px;
  height:350px;
  background:#ffb347;
  top:-100px;
  left:-100px;
}

.blur2{
  width:400px;
  height:400px;
  background:#ff5e9c;
  bottom:-120px;
  right:-100px;
  animation-delay:4s;
}

@keyframes float{
  0%{
    transform:translateY(0px) translateX(0px);
  }

  50%{
    transform:translateY(30px) translateX(20px);
  }

  100%{
    transform:translateY(0px) translateX(0px);
  }
}

/* NAV */

.navbar{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1.3rem 7%;
  position:sticky;
  top:0;
  z-index:1000;

  background:rgba(15,15,15,0.65);
  backdrop-filter:blur(12px);

  border-bottom:1px solid rgba(255,255,255,0.08);
}

.logo{
  font-size:1.6rem;
  font-weight:700;
  letter-spacing:1px;
}

.nav-links{
  display:flex;
  gap:2rem;
}

.nav-links a{
  text-decoration:none;
  color:white;
  transition:0.3s;
  font-weight:500;
}

.nav-links a:hover{
  color:#ffb347;
}

/* HERO */

.hero{
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  padding:5rem 7%;
  gap:4rem;
}

.tag{
  color:#ffb347;
  font-weight:600;
  margin-bottom:1rem;
  letter-spacing:1px;
}

.hero h1{
  font-size:clamp(3rem,8vw,6rem);
  line-height:1;
  margin-bottom:1.5rem;
}

.hero-text{
  color:#cfcfcf;
  line-height:1.7;
  max-width:550px;
  margin-bottom:2rem;
}

.hero-buttons{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
}

.btn{
  padding:1rem 1.6rem;
  border-radius:999px;
  text-decoration:none;
  transition:0.3s;
  font-weight:600;
}

.primary-btn{
  background:white;
  color:black;
}

.primary-btn:hover{
  transform:translateY(-4px);
}

.secondary-btn{
  border:1px solid rgba(255,255,255,0.2);
  color:white;
}

.secondary-btn:hover{
  background:white;
  color:black;
}

.hero-card{
  display:flex;
  justify-content:center;
}

.floating-card{
  width:100%;
  max-width:400px;

  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(12px);

  border:1px solid rgba(255,255,255,0.1);

  padding:2rem;
  border-radius:28px;

  animation:levitate 5s ease-in-out infinite;
}

.floating-card i{
  font-size:2.5rem;
  margin-bottom:1rem;
  color:#ffb347;
}

.floating-card h3{
  margin-bottom:1rem;
  font-size:1.5rem;
}

.floating-card p{
  color:#d0d0d0;
  line-height:1.6;
}

@keyframes levitate{
  0%{
    transform:translateY(0px);
  }

  50%{
    transform:translateY(-15px);
  }

  100%{
    transform:translateY(0px);
  }
}

/* SECTIONS */

.section{
  padding:6rem 7%;
}

.section-title{
  margin-bottom:3rem;
}

.section-title span{
  color:#ffb347;
  font-weight:600;
}

.section-title h2{
  font-size:clamp(2rem,5vw,4rem);
  margin-top:0.5rem;
}

/* ABOUT */

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

.about-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);

  border-radius:24px;
  padding:2rem;

  transition:0.3s;
}

.about-card:hover{
  transform:translateY(-10px);
  background:rgba(255,255,255,0.08);
}

.about-card i{
  font-size:2rem;
  margin-bottom:1rem;
  color:#ffb347;
}

.about-card h3{
  margin-bottom:1rem;
}

.about-card p{
  color:#d3d3d3;
  line-height:1.6;
}

/* GALLERY */

.scroll-gallery{
  display:flex;
  gap:1.5rem;
  overflow-x:auto;
  padding-bottom:1rem;

  scroll-snap-type:x mandatory;
}

.scroll-gallery::-webkit-scrollbar{
  height:8px;
}

.scroll-gallery::-webkit-scrollbar-thumb{
  background:#444;
  border-radius:999px;
}

.gallery-card{
  min-width:320px;
  max-width:320px;
  height:450px;

  border-radius:28px;
  overflow:hidden;

  scroll-snap-align:start;

  position:relative;
  flex-shrink:0;

  transition:0.4s;
}

.gallery-card:hover{
  transform:scale(1.03);
}

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

/* CONTACT */

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

.contact-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);

  padding:2rem;
  border-radius:24px;

  transition:0.3s;
}

.contact-card:hover{
  transform:translateY(-10px);
}

.contact-card i{
  font-size:2rem;
  color:#ffb347;
  margin-bottom:1rem;
}

.contact-card h3{
  margin-bottom:1rem;
}

.contact-card p{
  color:#d0d0d0;
  line-height:1.6;
}

/* SOCIALS */

.socials{
  margin-top:4rem;
  display:flex;
  justify-content:center;
  gap:1.5rem;
}

.socials a{
  width:60px;
  height:60px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  text-decoration:none;

  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.1);

  color:white;
  font-size:1.3rem;

  transition:0.3s;
}

.socials a:hover{
  transform:translateY(-8px) scale(1.08);
  background:white;
  color:black;
}

/* FOOTER */

.footer{
  padding:2rem;
  text-align:center;
  color:#9f9f9f;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* ANIMATIONS */

.fade-up{
  animation:fadeUp 1s ease forwards;
}

.fade-in{
  animation:fadeIn 1.5s ease forwards;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeIn{
  from{
    opacity:0;
  }

  to{
    opacity:1;
  }
}

/* RESPONSIVE */

@media(max-width:900px){

  .hero{
    grid-template-columns:1fr;
    padding-top:3rem;
  }

  .hero-card{
    justify-content:flex-start;
  }

  .nav-links{
    gap:1rem;
  }
}

@media(max-width:600px){

  .navbar{
    flex-direction:column;
    gap:1rem;
  }

  .nav-links{
    flex-wrap:wrap;
    justify-content:center;
  }

  .gallery-card{
    min-width:260px;
    max-width:260px;
    height:380px;
  }

  .socials{
    flex-wrap:wrap;
  }
}