/* Quick Web Limited - Global Stylesheet (Night Desert Theme) */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800&display=swap');

/* CSS Custom Variables for Theme */
:root {
  /* Color Tokens */
  --bg-deep-space: #050811;       /* Very dark space blue */
  --bg-night-sky: #0B132B;        /* Primary night sky background */
  --bg-dune-dark: #1C2541;        /* Darker dune blue */
  --bg-card: rgba(28, 37, 65, 0.4); /* Glassmorphic card fill */
  --border-glow: rgba(114, 9, 183, 0.3); /* Purple border glow */
  --border-gold-glow: rgba(224, 169, 109, 0.2); /* Sand gold border glow */
  
  --primary-glow: #7209B7;       /* Twilight Violet */
  --accent-pink: #F72585;         /* Sunset Pink */
  --accent-orange: #FF7B00;       /* Sunset Amber */
  --gold-sand: #E0A96D;           /* Dunes light gold */
  --gold-sand-dark: #D4A373;      /* Dunes dark gold */
  
  --text-white: #F8F9FA;          /* Primary off-white text */
  --text-muted: #abb8c3;          /* Secondary gray/blue text */
  
  /* Fonts */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout constraints */
  --max-width: 1200px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep-space);
  color: var(--text-white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Canvas starry background container styling */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep-space);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-night-sky);
  border: 2px solid var(--bg-deep-space);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-sand);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

a {
  color: var(--gold-sand);
  text-decoration: none;
  transition: all 0.3s ease;
}
a:hover {
  color: var(--accent-pink);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

/* Header & Navigation */
header.site-header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(5, 8, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(224, 169, 109, 0.1);
  transition: all 0.3s ease;
}

header.site-header.scrolled {
  background: rgba(5, 8, 17, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 1px;
  font-family: var(--font-heading);
}

.logo img {
  height: 38px;
  width: 38px;
}

.logo-text span {
  background: linear-gradient(135deg, var(--gold-sand), var(--accent-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav.main-navigation ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav.main-navigation ul li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-white);
  position: relative;
  padding: 0.5rem 0;
}

nav.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-sand), var(--accent-pink));
  transition: width 0.3s ease;
}

nav.main-navigation ul li a:hover::after,
nav.main-navigation ul li.current-menu-item a::after {
  width: 100%;
}

nav.main-navigation ul li a:hover,
nav.main-navigation ul li.current-menu-item a {
  color: var(--gold-sand);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-white);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Footer Section */
footer.site-footer {
  background: var(--bg-deep-space);
  border-top: 1px solid rgba(224, 169, 109, 0.15);
  padding: 4rem 0 2rem 0;
  margin-top: 5rem;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-sand);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links ul li a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

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

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-contact ul li i {
  color: var(--gold-sand);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-bottom-links a:hover {
  color: var(--gold-sand);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(224, 169, 109, 0.05), rgba(114, 9, 183, 0.05));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(114, 9, 183, 0.15);
}

.glass-card:hover::before {
  opacity: 1;
}

/* Primary Button Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-sand), var(--accent-orange));
  color: var(--bg-deep-space);
  border: none;
  box-shadow: 0 4px 15px rgba(224, 169, 109, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(224, 169, 109, 0.5);
  color: var(--bg-deep-space);
  background: linear-gradient(135deg, var(--gold-sand-dark), var(--accent-orange));
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--gold-sand);
}

.btn-secondary:hover {
  background: rgba(224, 169, 109, 0.1);
  border-color: var(--accent-pink);
  color: var(--text-white);
  transform: translateY(-2px);
}

/* Hero Section */
section.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-white) 40%, var(--gold-sand));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-sphere {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-pink) 0%, var(--primary-glow) 50%, transparent 70%);
  position: relative;
  filter: blur(20px);
  animation: pulse 6s infinite alternate;
  opacity: 0.6;
}

.hero-wireframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  height: 280px;
  border: 1px solid rgba(224, 169, 109, 0.4);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(224, 169, 109, 0.15);
  animation: rotate 20s linear infinite;
}

.hero-wireframe::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 1px dashed rgba(114, 9, 183, 0.4);
  border-radius: 50%;
}

/* Sections General */
section.section-padding {
  padding: 8rem 0;
  position: relative;
  z-index: 5;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-glow), var(--gold-sand));
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Services Grid (Home & Services Page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  background: rgba(114, 9, 183, 0.15);
  border: 1px solid rgba(114, 9, 183, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--gold-sand);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--primary-glow);
  color: var(--text-white);
  box-shadow: 0 0 20px var(--primary-glow);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-white);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Detailed Services page layouts */
.service-detail-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 8rem;
}

.service-detail-row:nth-child(even) {
  direction: rtl;
}

.service-detail-row:nth-child(even) .service-detail-content {
  direction: ltr;
}

.service-detail-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.service-detail-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-bullets {
  list-style: none;
  margin-top: 1.5rem;
}

.service-bullets li {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-white);
  font-size: 0.95rem;
}

.service-bullets li i {
  color: var(--gold-sand);
  font-size: 1.1rem;
}

/* About Section Preview (Home) */
.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.about-preview-visual {
  position: relative;
  height: 350px;
}

.dune-shape-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-dune-dark), var(--bg-deep-space));
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  border: 1px solid rgba(224, 169, 109, 0.2);
  z-index: 1;
}

.floating-card-1 {
  position: absolute;
  top: 40px;
  right: -20px;
  z-index: 3;
  width: 220px;
  background: rgba(11, 19, 43, 0.8);
  border: 1px solid var(--border-glow);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.floating-card-2 {
  position: absolute;
  bottom: 40px;
  left: -20px;
  z-index: 3;
  width: 220px;
  background: rgba(11, 19, 43, 0.8);
  border: 1px solid var(--border-gold-glow);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.floating-card-1 h4, .floating-card-2 h4 {
  font-size: 1rem;
  color: var(--gold-sand);
  margin-bottom: 0.5rem;
}

.floating-card-1 p, .floating-card-2 p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.about-preview-content h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.about-preview-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Contact Page Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(224, 169, 109, 0.1);
  border: 1px solid rgba(224, 169, 109, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-sand);
}

.contact-detail-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-detail-text a:hover {
  color: var(--gold-sand);
}

/* Contact Form styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: var(--gold-sand);
}

.form-control {
  width: 100%;
  background: rgba(5, 8, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.9rem 1.2rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--gold-sand);
  box-shadow: 0 0 10px rgba(224, 169, 109, 0.2);
  background: rgba(5, 8, 17, 0.8);
}

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

.form-status {
  margin-top: 1rem;
  font-size: 0.95rem;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid #2ecc71;
  color: #2ecc71;
}

.form-status.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}

/* Map Mockup */
.map-mockup {
  height: 250px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(224, 169, 109, 0.2);
  background: linear-gradient(135deg, var(--bg-night-sky), var(--bg-deep-space));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
}

.map-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 30px 30px;
  background-image: 
    linear-gradient(to right, rgba(224, 169, 109, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(224, 169, 109, 0.05) 1px, transparent 1px);
  opacity: 0.6;
}

.map-pin {
  position: relative;
  z-index: 5;
  color: var(--accent-pink);
  font-size: 2.5rem;
  animation: bounce 2s infinite;
  text-shadow: 0 0 20px var(--accent-pink);
}

.map-label {
  position: absolute;
  z-index: 6;
  background: rgba(5, 8, 17, 0.9);
  padding: 0.5rem 1rem;
  border: 1px solid var(--gold-sand);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--text-white);
  top: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Legal Pages Styling */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem 0;
  color: var(--gold-sand);
}

.legal-content p {
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.legal-content ul {
  list-style: disc;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.legal-content ul li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

/* Cookie Banner Popup styling */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 4rem);
  max-width: 700px;
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--gold-sand);
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.show {
  bottom: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--gold-sand);
}

.cookie-text p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.cookie-text a {
  color: var(--accent-pink);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-buttons .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

/* Animations */
@keyframes rotate {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive Rules */
@media screen and (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .about-preview-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .service-detail-row {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .service-detail-row:nth-child(even) {
    direction: ltr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media screen and (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
    position: relative;
    z-index: 110;
  }
  
  nav.main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(5, 8, 17, 0.98);
    border-left: 1px solid var(--border-glow);
    padding: 6rem 2rem 2rem 2rem;
    z-index: 105;
    transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  }
  
  nav.main-navigation.active {
    right: 0;
  }
  
  nav.main-navigation ul {
    flex-direction: column;
    gap: 2rem;
  }
  
  nav.main-navigation ul li a {
    font-size: 1.2rem;
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-brand {
    grid-column: span 1;
  }
  
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    gap: 1.5rem;
    width: calc(100% - 2rem);
  }
  
  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
}
