/* ============================================
   PUBLIC CSS - Azizul Azami
   Navy & Gold Theme
   ============================================ */

:root {
  --navy-dark: #0B1428;
  --navy-medium: #152238;
  --navy-light: #1C2D4A;
  --gold: #F5C542;
  --gold-light: #FFD966;
  --gold-dark: #D4A017;
  --white: #FFFFFF;
  --text-light: #C8D6E5;
  --text-muted: #8899AA;
  --dark-bg: #080E1A;
  --card-bg: rgba(21, 34, 56, 0.6);
  --border-color: rgba(245, 197, 66, 0.15);
  --font-body: 'Outfit', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --radius: 16px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Yellow Hover for Cards */
.blog-card:hover h3, .project-card:hover h3 {
    color: var(--gold) !important;
}
.blog-card:hover, .project-card:hover {
    box-shadow: 0 20px 40px rgba(245,197,66,0.15);
}
.service-card:hover .service-icon {
    background: var(--gold);
    color: var(--navy-dark);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--navy-dark);
  color: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 16px 24px; transition: var(--transition);
}
.site-header.scrolled {
  padding: 8px 24px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  background: rgba(11, 20, 40, 0.92); backdrop-filter: blur(20px);
  border-radius: 60px; padding: 12px 28px;
  display: flex; align-items: center; justify-content: space-between;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.site-logo { display: flex; align-items: center; gap: 10px; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 22px; font-weight: 800; color: var(--gold);
  letter-spacing: -0.5px;
}
.site-nav.desktop-only { display: flex; gap: 6px; align-items: center; }
.nav-link {
  font-weight: 500; color: var(--text-light); font-size: 14px;
  padding: 8px 16px; border-radius: 30px; transition: var(--transition);
}
.nav-link:hover { color: var(--gold); background: rgba(245,197,66,0.08); }
.nav-link.active {
  background: var(--gold); color: var(--navy-dark); font-weight: 700;
}
.mobile-nav-side, .mobile-nav-backdrop { display: none; }

@media (max-width: 768px) {
  .site-nav.desktop-only { display: none; }
}


.mobile-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 5px; z-index: 2000;
}

.mobile-toggle span {
  width: 24px; height: 2px; background: var(--gold);
  border-radius: 2px; transition: var(--transition);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border-radius: 50px; font-weight: 700; font-size: 14px;
  transition: var(--transition); border: none; cursor: pointer; text-decoration: none;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy-dark) !important;
  box-shadow: 0 4px 15px rgba(245,197,66,0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(245,197,66,0.4);
}
.btn-outline {
  border: 2px solid var(--gold); color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: var(--gold); color: var(--navy-dark);
}
.btn-whatsapp {
  background: #25D366; color: white !important;
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
}

/* ============================================
   SECTION STYLING
   ============================================ */
.section {
  padding: 100px 24px;
  position: relative;
}
.section-inner {
  max-width: 1200px; margin: 0 auto;
}
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,66,0.1); border: 1px solid rgba(245,197,66,0.2);
  padding: 6px 18px; border-radius: 50px; font-size: 12px;
  font-weight: 700; color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 42px; font-weight: 800; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--white), var(--gold));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-subtitle {
  color: var(--text-muted); font-size: 16px; max-width: 600px; line-height: 1.8;
}
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ============================================
   HERO SECTION (LANDING PAGE)
   ============================================ */
.hero {
  min-height: 100vh; padding: 140px 24px 80px;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy-dark) 0%, #0D1830 50%, var(--navy-dark) 100%);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -50%; right: -30%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(245,197,66,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -20%; left: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,197,66,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,197,66,0.1); border: 1px solid rgba(245,197,66,0.25);
  padding: 8px 20px; border-radius: 50px; font-size: 11px;
  font-weight: 800; color: var(--gold); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px; background: var(--gold);
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.hero h1 {
  font-family: var(--font-heading);
  font-size: 56px; font-weight: 900; line-height: 1.1;
  margin-bottom: 24px; color: var(--white);
}
.hero h1 .gold { color: var(--gold); }
.hero-desc {
  color: var(--text-light); font-size: 17px; line-height: 1.8;
  margin-bottom: 36px; max-width: 520px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-image-wrapper { position: relative; }
.hero-image {
  width: 100%; border-radius: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  border: 2px solid var(--border-color);
}
.hero-image-glow {
  position: absolute; top: -20px; right: -20px; bottom: -20px; left: -20px;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(245,197,66,0.1), transparent);
  z-index: -1; filter: blur(40px);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center;
}
.about-image {
  border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.4);
  border: 2px solid var(--border-color);
}
.about-stats {
  display: flex; gap: 30px; margin-top: 30px;
}
.stat-item { text-align: center; }
.stat-item h3 {
  font-size: 32px; font-weight: 900; color: var(--gold);
  font-family: var(--font-heading);
}
.stat-item span { font-size: 13px; color: var(--text-muted); font-weight: 600; }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.service-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,197,66,0.4);
  box-shadow: 0 20px 50px rgba(245,197,66,0.1);
}
.service-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(245,197,66,0.2), rgba(245,197,66,0.05));
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--gold);
}
.service-card h3 {
  font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--white);
}
.service-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.why-image { border-radius: 24px; box-shadow: 0 30px 60px rgba(0,0,0,.4); }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); padding: 24px;
  transition: var(--transition); cursor: pointer;
}
.why-item:hover {
  border-color: rgba(245,197,66,0.4);
  box-shadow: 0 10px 30px rgba(245,197,66,0.08);
}
.why-item h4 {
  font-size: 18px; font-weight: 700; margin-bottom: 8px;
  color: var(--gold); display: flex; align-items: center; gap: 12px;
}
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.project-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition); position: relative;
}
.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,197,66,0.4);
  box-shadow: 0 20px 50px rgba(245,197,66,0.1);
}
.project-thumb {
  width: 100%; height: 200px; object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.project-thumb-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--navy-medium), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--gold); opacity: 0.3;
  border-bottom: 1px solid var(--border-color);
}
.project-body { padding: 24px; }
.project-type {
  display: inline-block; background: rgba(245,197,66,0.1);
  color: var(--gold); padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 10px;
}
.project-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.project-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ============================================
   BLOG CARDS (Landing Page Section)
   ============================================ */
.blog-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.blog-card {
  background: var(--card-bg); border: 1px solid var(--border-color);
  border-radius: var(--radius); overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245,197,66,0.4);
  box-shadow: 0 20px 50px rgba(245,197,66,0.1);
}
.blog-card-image {
  width: 100%; height: 220px; object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}
.blog-card-image-placeholder {
  width: 100%; height: 220px;
  background: linear-gradient(135deg, var(--navy-medium), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; color: var(--gold); opacity: 0.2;
}
.blog-card-body { padding: 24px; }
.blog-card-cat {
  display: inline-block; background: rgba(245,197,66,0.15);
  color: var(--gold); padding: 4px 12px; border-radius: 50px;
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 18px; font-weight: 700; margin-bottom: 10px;
  line-height: 1.4; color: var(--white);
}
.blog-card h3:hover { color: var(--gold); }
.blog-card p {
  font-size: 14px; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 16px;
}
.blog-card-meta {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; color: var(--text-muted);
}
.blog-card-meta i { color: var(--gold); }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-form-wrapper {
  max-width: 700px; margin: 0 auto;
}
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-input, .form-textarea {
  width: 100%; padding: 14px 20px;
  background: var(--navy-medium); border: 1px solid var(--border-color);
  border-radius: 12px; color: var(--white); font-size: 15px;
  font-family: var(--font-body); transition: var(--transition); outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(245,197,66,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-textarea { min-height: 140px; resize: vertical; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 30px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px; margin-bottom: 40px;
}
.footer-brand {
  font-family: var(--font-heading);
  font-size: 24px; font-weight: 800; color: var(--gold);
  margin-bottom: 12px;
}
.footer-about p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }
.footer-social {
  display: flex; gap: 12px; margin-top: 20px;
}
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy-medium); border: 1px solid var(--border-color);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 14px; transition: var(--transition);
}
.footer-social a:hover {
  background: var(--gold); color: var(--navy-dark); border-color: var(--gold);
}
.footer-col h4 {
  color: var(--gold); font-size: 16px; font-weight: 700; margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li {
  color: var(--text-muted); font-size: 14px;
  display: flex; align-items: center; gap: 8px;
}
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--gold); }


.footer-bottom {
  padding-top: 24px; border-top: 1px solid var(--border-color);
  text-align: center;
}
.footer-bottom p { color: var(--text-muted); font-size: 13px; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero h1 { font-size: 42px; }
  .hero-desc { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .mobile-toggle { display: flex; }
  
  .mobile-nav-side {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 300px; max-width: 85%; height: 100%;
    background: #0B1428;
    z-index: 100002;
    display: flex; flex-direction: column;

    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -15px 0 50px rgba(0,0,0,0.8);
    border-left: 1px solid rgba(245,197,66,0.2);
    visibility: hidden;
  }
  
  .mobile-nav-side.open { 
    transform: translateX(0); 
    visibility: visible;
  }
  
  .mobile-nav-header {
    padding: 24px;
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(245,197,66,0.1);
    flex-shrink: 0;
  }
  
  .mobile-close {
    background: none; border: none; color: var(--gold);
    font-size: 32px; cursor: pointer; line-height: 1;
  }
  
  .mobile-nav-links {
    padding: 24px;
    display: flex; flex-direction: column; gap: 10px;
    overflow-y: auto;
    flex-grow: 1;
  }
  
  .mobile-nav-links .nav-link {
    font-size: 18px; font-weight: 600; color: var(--white);
    padding: 14px 18px; border-radius: 12px;
    display: block; width: 100%; transition: 0.3s;
    border: 1px solid transparent;
  }
  
  .mobile-nav-links .nav-link:hover, .mobile-nav-links .nav-link.active {
    background: rgba(245,197,66,0.1);
    color: var(--gold);
    border-color: rgba(245,197,66,0.2);
  }

  .mobile-nav-backdrop {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 100001;
    display: block;
    opacity: 0; visibility: hidden;
    transition: 0.4s ease;
  }

  
  .mobile-nav-backdrop.show {
    opacity: 1; visibility: visible;
  }

  .hero { padding: 120px 20px 60px; }
  .hero h1 { font-size: 32px; }
  .section { padding: 70px 20px; }
  .section-title { font-size: 30px; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .blog-cards { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-social { justify-content: center; }
  .footer-col ul { align-items: center; }
  .footer-col li { justify-content: center; }
}



