/* ACTIVE MENU LINK */
nav a.active{
  color:#0066ff;   /* BLUE */
}


/* FIX FOR STICKY HEADER OFFSET */
section{
  scroll-margin-top: 220px; /* header height (200px) + thoda gap */
}


*{margin:0;padding:0;box-sizing:border-box;font-family:Arial}
html{scroll-behavior:smooth}
body{background:#f5f5f5;color:#333}

.container{max-width:1400px;margin:auto;padding:0 20px}

/* HEADER */
header{
  position:sticky;top:0;z-index:999;
  background:#fff;height:100px;
  box-shadow:0 2px 10px rgba(0,0,0,.1)
}
.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between}
.logo{display:flex;align-items:center;gap:15px}
.logo img{height:80px}
.logo h1{font-size:32px;color:#330066}

/* MENU */
nav ul{list-style:none;display:flex;gap:30px}
nav li{font-size:18px;font-weight:bold}
nav a{text-decoration:none;color:#333}
nav a:hover{color:#660099}
.hamburger{display:none;font-size:32px;cursor:pointer}

/* SLIDER */
.slider{height:600px;position:relative;overflow:hidden}
.slide{position:absolute;width:100%;height:100%;opacity:0;transition:1.5s}
.slide.active{opacity:1}
.slide img{width:100%;height:100%;object-fit:cover}
.caption{
  position:absolute;bottom:60px;left:50%;
  transform:translateX(-50%);
  background:rgba(0,0,0,.6);
  color:#fff;padding:15px 30px;
  font-size:32px;border-radius:6px
}

/* SECTIONS */
section{padding:80px 0;background:#fff}
section:nth-child(even){background:#fafafa}
h2{text-align:center;margin-bottom:40px;font-size:36px;color:#330066}

/* SERVICES */
.services-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px
}
.service-box{
  background:#fff;padding:30px;text-align:center;
  border-radius:10px;box-shadow:0 5px 20px rgba(0,0,0,.1)
}

/* GALLERY */
.gallery-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px
}
.gallery-grid img{width:100%;border-radius:8px;cursor:pointer}

/* LIGHTBOX */
.lightbox{
  position:fixed;top:0;left:0;width:100%;height:100%;
  background:rgba(0,0,0,.9);display:none;
  align-items:center;justify-content:center;z-index:2000
}
.lightbox-content{text-align:center;color:#fff}
.lightbox img{max-width:80%;max-height:80%}
.lightbox span{position:absolute;font-size:40px;color:#fff;cursor:pointer}
.close{top:20px;right:40px}
.prev{left:40px}
.next{right:40px}

/* CONTACT */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}
input,textarea{width:100%;padding:12px;margin-bottom:15px}
button{padding:12px 30px;background:#330066;color:#fff;border:none}

/* FOOTER */

/* FOOTER LINK – ALWAYS WHITE */
footer a,
footer a:visited,
footer a:hover,
footer a:active,
footer a:focus{
  color:#ffffff !important;
  text-decoration:none !important;
}

footer{
  position:sticky;bottom:0;
  background:#330066;color:#fff;
  padding:15px;text-align:center
}

/* MOBILE */
@media(max-width:900px){
  header{height:auto;padding:20px 0}
  .hamburger{display:block}
  nav ul{
    position:absolute;top:200px;right:20px;
    background:#fff;flex-direction:column;
    padding:20px;display:none
  }
  nav ul.show{display:flex}
  .contact-grid{grid-template-columns:1fr}
}
/* CSS Document */

/* =====================
   CONTACT – STYLISH
===================== */
.contact{
  background:linear-gradient(135deg,#f9f6ff,#ffffff);
}

.contact-info{
  background:#ffffff;
  padding:40px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.contact-info h3{
  font-size:28px;
  color:#330066;
  margin-bottom:20px;
}

.info-title{
  font-weight:bold;
  margin-top:20px;
  color:#660099;
}

.contact-info p{
  line-height:1.7;
  font-size:16px;
}

.contact-form{
  background:#ffffff;
  padding:40px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:14px;
  margin-bottom:15px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:15px;
}

.contact-form textarea{
  resize:none;
  height:120px;
}

.contact-form button{
  width:100%;
  padding:14px;
  font-size:16px;
  background:#330066;
  color:#fff;
  border:none;
  border-radius:6px;
  cursor:pointer;
}

.contact-form button:hover{
  background:#000000;
}

html{scroll-behavior:smooth}

/* header height */
header{height:140px}

/* scroll offset fix */
section{
  scroll-margin-top:160px;
}

/* active menu */
nav a.active{
  color:#0066ff;
}

/* footer sketch always white */
footer a,
footer a:visited,
footer a:hover,
footer a:active{
  color:#ffffff !important;
  text-decoration:none !important;
}


/* ================= DROPDOWN MENU ================= */

#menu .dropdown{
    position:relative;
}

#menu .dropdown-menu{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    min-width:220px;
    background:#fff;
    list-style:none;
    padding:0;
    margin:0;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    z-index:999;
}

#menu .dropdown-menu li{
    width:100%;
}

#menu .dropdown-menu li a{
    display:block;
    padding:12px 15px;
    text-decoration:none;
    color:#333;
    white-space:nowrap;
}

#menu .dropdown-menu li a:hover{
    background:#f4f4f4;
}

/* Desktop */
#menu .dropdown:hover .dropdown-menu{
    display:block;
}

/* Mobile */
@media(max-width:768px){

    #menu .dropdown-menu{
        position:static;
        width:100%;
        box-shadow:none;
        background:#f8f8f8;
    }

    #menu .dropdown.active .dropdown-menu{
        display:block;
    }
}
