/* GLOBAL RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    background: linear-gradient(120deg, #0f2027, #203a43, #2c5364);
    color: #333;
    line-height: 1.6;
}

/* CONTAINERS */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* HEADER */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
}

.nav-links a.active,
.nav-links a:hover {
    color: #1e88e5;
}

/* HERO */
.hero-projects {
    padding: 80px 20px;
    text-align: center;
    color: #fff;
}

.hero-projects h1 {
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.hero-projects p {
    max-width: 700px;
    margin: auto;
}

/* PROJECTS */
.projects-section {
    background: #f9f9f9;
    padding: 70px 0;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: auto auto 50px;
    color: #555;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.project-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-6px);
}

.project-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.project-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

/* ADSENSE PLACEHOLDER */
.adsense-slot {
    margin: 50px 0;
    padding: 20px;
    background: #eaeaea;
    text-align: center;
    border-radius: 8px;
}

.adsense-label {
    font-size: 0.85rem;
    color: #666;
}

/* CTA */
.cta-box {
    margin-top: 60px;
    text-align: center;
    background: #1e88e5;
    color: #fff;
    padding: 40px 20px;
    border-radius: 12px;
}

.btn-primary {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: #fff;
    color: #1e88e5;
    font-weight: bold;
    border-radius: 30px;
}

/* FOOTER */
.main-footer {
    background: #111;
    color: #ccc;
    padding: 25px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.main-footer a {
    color: #1e88e5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-projects h1 {
        font-size: 2rem;
    }
}

#lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.call-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  background: #1e88e5;
  color: #fff;
  border-radius: 50%;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.video-hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.video-hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-hero .hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
}

.video-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
