/* Google Fonts - Inter and Playfair Display */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  /* Premium Dark Theme Colors */
  --bg-dark: #0f1115;
  --bg-card: #181b21;
  --bg-card-hover: #22262e;
  --text-main: #e2e8f0;
  --text-muted: #94a3b8;
  
  /* Gold/Copper Accents */
  --accent-gold: #d4af37;
  --accent-gold-hover: #f1ca4e;
  --accent-dark: #b5952f;
  
  /* Glassmorphism */
  --glass-bg: rgba(24, 27, 33, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  /* Typography */
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  /* Layout */
  --container-width: 1200px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #fff;
}

a {
  text-decoration: none;
  color: var(--text-main);
  transition: var(--transition);
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  padding: 20px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 12px 0;
  background: rgba(15, 17, 21, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 75px;
  width: auto;
  transform: scale(1.25);
  transform-origin: left center;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--accent-gold);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(rgba(15, 17, 21, 0.7), rgba(15, 17, 21, 0.9)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  margin-top: 0;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  animation: fadeIn 1.5s ease-out;
}

.hero-content h1 {
  font-size: 64px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  border: 1px solid var(--accent-gold);
  cursor: pointer;
  transition: var(--transition);
}

.btn:hover {
  background-color: transparent;
  color: var(--accent-gold);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-gold);
  border: 1px solid var(--accent-gold);
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: #000;
}

/* Projects Section & Tabs */
.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
}

.section-header p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 12px 25px;
  border-radius: 30px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-gold);
}

.tab-btn.active {
  background: var(--accent-gold);
  color: #000;
  border-color: var(--accent-gold);
}

/* Project Grid & Cards */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  display: block;
}

.project-card.hide {
  display: none;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .card-img {
  transform: scale(1.05);
}

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gold);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  z-index: 2;
}

.card-content {
  padding: 25px;
}

.card-title {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
}

.card-location {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-specs {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding-top: 15px;
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 14px;
}

.card-specs span {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Page Headers (About, Contact, Details) */
.page-header {
  padding: 150px 0 80px;
  background: var(--bg-card);
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
}

.page-header h1 {
  font-size: 48px;
  color: var(--accent-gold);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #fff;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
}

.info-item {
  margin-bottom: 30px;
}

.info-item h4 {
  font-family: var(--font-sans);
  color: var(--accent-gold);
  margin-bottom: 10px;
  font-size: 18px;
}

.info-item p {
  color: var(--text-muted);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  color: #fff;
  border-radius: 4px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

.map-container {
  margin-top: 60px;
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Project Details Page */
.project-details-hero {
  padding: 150px 0 50px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
}

.details-grid > div {
  min-width: 0;
}

.main-gallery {
  position: relative;
  cursor: pointer;
}

.main-gallery img, .main-gallery video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.main-gallery:hover::after {
  content: '\f065'; /* FontAwesome expand icon */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}

.main-gallery:hover img {
  opacity: 0.8;
}

.main-gallery:hover::after {
  opacity: 1;
}

.thumbnail-gallery {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 15px;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.thumbnail-gallery::-webkit-scrollbar {
  height: 8px;
}
.thumbnail-gallery::-webkit-scrollbar-track {
  background: var(--bg-card); 
  border-radius: 4px;
}
.thumbnail-gallery::-webkit-scrollbar-thumb {
  background: var(--accent-gold); 
  border-radius: 4px;
}

.thumbnail-gallery .thumb-item {
  min-width: 140px;
  height: 100px;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumbnail-gallery .thumb-item.active {
  border-color: var(--accent-gold);
}

.thumbnail-gallery .thumb-item img, 
.thumbnail-gallery .thumb-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.thumbnail-gallery .thumb-item:hover img,
.thumbnail-gallery .thumb-item:hover video {
  opacity: 0.7;
}

.video-icon-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  background: rgba(0,0,0,0.6);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  pointer-events: none;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
}

.lightbox-content img, .lightbox-content video {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 8px;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--accent-gold);
}

/* Lightbox Modal Navigation */
.lightbox-prev, .lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  z-index: 2010;
  user-select: none;
  background: rgba(255,255,255,0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover, .lightbox-next:hover {
  background: var(--accent-gold);
  color: #000;
}

.project-info-box {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  position: sticky;
  top: 100px;
}

.project-info-box h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--accent-gold);
}

.project-price {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 25px;
}

.spec-list {
  margin-bottom: 30px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.spec-item span:first-child {
  color: #fff;
  font-weight: 500;
}

.content-section {
  margin: 40px 0;
}

.content-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--accent-gold);
}

.content-section p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* Footer */
footer {
  background: #0a0b0e;
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-widget h4 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 18px;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-widget p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-contact li {
  color: var(--text-muted);
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-contact li i {
  color: var(--accent-gold);
  margin-top: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  color: #fff;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-gold);
  color: #000;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
  font-size: 14px;
}

.footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo img {
  max-height: 90px;
  transform-origin: left center;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .details-grid {
    grid-template-columns: 1fr;
  }
  .project-info-box {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-card);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
