/* ===============================
   CSS Variables
================================ */
:root {
    --color-bg: #0b0b0b;
    --color-bg-alt: #161616;
    --color-text: #f0f0f0;
    --color-text-muted: #a0a0a0;
    --color-gold: #C0C0C0;
    --color-gold-hover: #E0E0E0;
    --color-border: #333;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;

    --transition: all 0.3s ease;
}

/* ===============================
   Reset
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ===============================
   Layout Utilities
================================ */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 5rem 0;
}

/* ===============================
   Typography
================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

/* ===============================
   Buttons
================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-gold {
    background-color: var(--color-gold);
    color: #000;
    font-weight: 700;
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
}

/* ===============================
   NAVIGATION
================================ */
.navbar {
    background-color: rgba(11, 11, 11, 0.95);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #222;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--color-gold);
}

/* ===============================
   HAMBURGER
================================ */
/* Hide hamburger by default (Desktop) */
.hamburger {
  display: none;
}

/* Show hamburger only on mobile */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 28px;
    cursor: pointer;
  }
}

.hamburger .bar {
  display: block;
  width: 28px;
  height: 3px;
  background-color: white;   /* white bars */
  margin: 6px 0;
}

/* Show on mobile */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none; /* Hide normal menu on mobile */
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
}

/* Animate to X */
.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ===============================
   HERO SECTION
================================ */
.hero-section {
    height: 90vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../assets/images/mumbai-skyline.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    color: #fff;
}

.hero-content p {
    font-size: 1.2rem;
    color: #e0e0e0;
}

/* ===============================
   MOBILE RESPONSIVE
================================ */
@media (max-width: 768px) {

    h1 {
        font-size: 2.5rem;
    }

    /* Show hamburger */
    .hamburger {
        display: block;
    }

    /* Mobile menu */
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 5rem;
        transform: translateX(100%);
        transition: transform 0.4s ease;
        z-index: 1001;
    }

    .nav-links.active {
        transform: translateX(0);
    }
}

/* index page */
/* ===============================
   CRYSTAL CONTACT SECTION (ISOLATED)
================================ */

.cd-contact-section {
  background-color: #000;
  padding: 80px 0;
}

.cd-contact-section .cd-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

/* LEFT SIDE */
.cd-contact-section .cd-left {
  flex: 1;
}

.cd-contact-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  color: #C0C0C0;
  margin-bottom: 20px;
}

.cd-contact-section .cd-subtext {
  color: #aaa;
  margin-bottom: 30px;
}

.cd-contact-section .cd-address p {
  color: #bbb;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* RIGHT SIDE FORM */
.cd-contact-section .cd-right {
  flex: 1;
}

.cd-contact-section form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cd-contact-section input,
.cd-contact-section select {
  background-color: #111;
  border: 1px solid #333;
  padding: 14px;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

.cd-contact-section input:focus,
.cd-contact-section select:focus {
  outline: none;
  border-color: #C0C0C0;
}

/* BUTTON */
.cd-contact-section button {
  background-color: #C0C0C0;
  color: #000;
  padding: 16px;
  border: none;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: 0.3s ease;
}

.cd-contact-section button:hover {
  background-color: #E0E0E0;
}

/* MOBILE */
@media (max-width: 768px) {
  .cd-contact-section .cd-container {
    flex-direction: column;
    gap: 50px;
  }
}

/* ===============================
   CRYSTAL STATS SECTION (ISOLATED)
================================ */

.cd-stats-section {
  /* background: linear-gradient(to bottom, #111, #0d0d0d); */
  padding: 70px 0;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.cd-stats-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.cd-stats-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.cd-stat-item {
  flex: 1;
}

/* Numbers */
.cd-stat-number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #C0C0C0;
  margin-bottom: 12px;
}

/* Labels */
.cd-stat-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaa;
}

/* Mobile */
@media (max-width: 768px) {
  .cd-stats-grid {
    flex-direction: column;
    gap: 40px;
  }

  .cd-stat-number {
    font-size: 36px;
  }
}

/* footer */
/* ===============================
   CRYSTAL FOOTER (ISOLATED)
================================ */

.cd-footer {
  background-color: #000;
  padding: 50px 0 60px;
  border-top: 1px solid #1a1a1a;
  text-align: center;
}

.cd-footer-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Copyright */
.cd-footer-copy {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

/* Social Links */
.cd-footer-social {
  display: flex;
  justify-content: center;
  gap: 30px;
}

.cd-footer-social a {
  color: #999;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s ease;
}

.cd-footer-social a:hover {
  color: #C0C0C0;
}

/* Mobile */
@media (max-width: 768px) {
  .cd-footer-social {
    flex-direction: column;
    gap: 15px;
  }
}

.center {
    text-align: center;
}

/* project page */
/* ===============================
   PORTFOLIO PAGE HEADER
================================ */

.page-header {
  background: #111;
  padding: 100px 0 80px;
}

.page-header h1 {
  font-size: 48px;
  color: #cfcfcf;
  font-weight: 500;
  margin-bottom: 15px;
}

.page-header p {
  color: #9a9a9a;
  font-size: 16px;
}


/* ===============================
   PROJECT GRID
================================ */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

/* Card Base */
.project-card {
  text-decoration: none;
  background: #141414;
  overflow: hidden;
  transition: 0.4s ease;
  border: 1px solid #1f1f1f;
}

/* Image Section */
.project-image {
  height: 240px;
  background-size: cover;
  background-position: center;
  transition: 0.4s ease;
}

/* Bottom Content */
.project-info {
  padding: 40px 30px;
  background: #0f0f0f;
}

.project-info h3 {
  font-size: 22px;
  color: #d6d6d6;
  margin-bottom: 10px;
}

.project-info p {
  font-size: 14px;
  color: #8a8a8a;
  margin-bottom: 25px;
}

/* Button */
.btn-gold {
    background-color: var(--color-gold);
    color: #000;
    border-color: var(--color-gold);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
/* Hover Effect */
.project-card:hover {
  transform: translateY(-8px);
  border-color: #333;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}


/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .page-header h1 {
    font-size: 36px;
  }
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid #444;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
    color: var(--color-text-muted);
}