/* styles.css - Complete Stylesheet for Lunobyte */

:root {
  /* Color Variables */
  --primary-color: #6c63ff;
  --secondary-color: #4d44db;
  --dark-color: #2a2a72;
  --light-color: #f8f9fa;
  --accent-color: #ff6584;
  --text-color: #333;
  --text-light: #777;
  --white: #fff;
  --black: #000;
  --transition: all 0.3s ease;
}

/* ======================
  GLOBAL STYLES (All Pages)
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.highlight {
  color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
}

.cta-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
  padding: 10px;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.2);
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--primary-color);
  margin-left: 15px;
}

.cta-button.secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

section {
  padding: 80px 0;
}

/* ======================
  REUSABLE COMPONENTS
======================= */

/* Page Hero (All Pages) */
.page-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  text-align: center;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

/* Card Styles (Multiple Pages) */
.card {
  background: var(--white);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* ======================
  HEADER & NAVIGATION
======================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 15px 0;
  background-color: rgba(255, 255, 255, 0.95);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-weight: 600;
  position: relative;
}

.nav-links a:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:hover:after {
  width: 100%;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}


/* ======================
  PORTFOLIO PAGE SPECIFIC
======================= */
.portfolio-filter {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  margin: 0 10px;
  background: none;
  border: none;
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 50px;
}

.filter-btn.active, .filter-btn:hover {
  color: var(--white);
  background-color: var(--primary-color);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.portfolio-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(108, 99, 255, 0.9);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.pagination {
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.page-number, .next-page {
  display: inline-block;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
  color: var(--text-light);
  font-weight: 600;
  transition: var(--transition);
}

.page-number:hover, 
.page-number.active {
  background-color: var(--primary-color);
  color: var(--white);
} */

/* ======================
  CONTACT PAGE SPECIFIC
======================= */
.contact .container {
  display: flex;
  gap: 50px;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input, 
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus, 
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.2);
}

.contact-info {
  flex: 1;
}

.contact-info ul {
  list-style: none;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info li img {
  width: 20px;
  margin-right: 15px;
}

.map iframe {
  width: 100%;
  height: 450px;
  border: none;
  filter: grayscale(50%);
  transition: var(--transition);
}

.map iframe:hover {
  filter: grayscale(0%);
}

/* ======================
  FOOTER (All Pages)
======================= */
footer {
  background-color: var(--dark-color);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.footer-column {
  flex: 1;
  min-width: 200px;
  margin-bottom: 30px;
}

.footer-column h4 {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* ======================
  RESPONSIVE STYLES
======================= */
@media (max-width: 992px) {
  .hero .container,
  .about .container,
  .contact .container {
    flex-direction: column;
  }
  
  .hero-content,
  .about-content {
    padding-right: 0;
    margin-bottom: 50px;
  }
  
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links li {
    margin: 15px 0;
  }
  
  .page-hero h1,
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 120px 0 60px;
  }
  
  .hero-content h1,
  .page-hero h1 {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .cta-button.secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-btn {
    margin: 5px;
  }
}