/* ============================================
   GINA'S WALLPAPER INSTALLATION - STYLESHEET
   Professional, Modern, Conversion-Optimized
   ============================================ */

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

:root {
  /* Color Palette - Soft Neutrals & Professional Blues */
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --border-color: #ecf0f1;
  --success-color: #27ae60;
  --error-color: #ff6b6b;

  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', 'Times New Roman', serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  font-family: var(--font-heading);
}

nav ul {
  list-style: none;
  display: flex;
  gap: var(--spacing-lg);
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--secondary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(52, 152, 219, 0.8) 100%),
              url('images/hero-wallpaper.jpg') center/cover;
  background-attachment: fixed;
  color: var(--white);
  padding: 8rem var(--spacing-lg) 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="white" opacity="0.1"/></svg>');
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideDown 0.8s ease-out;
}

.hero .tagline {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

.btn {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(231, 76, 60, 0.3);
}

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

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.services {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background-color: var(--light-bg);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  color: var(--primary-color);
  position: relative;
  padding-bottom: var(--spacing-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: var(--border-color);
}

.service-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-color);
}

.service-description {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.service-cta {
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  align-self: flex-start;
}

.service-cta:hover {
  color: var(--accent-color);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background-color: var(--white);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
}

.about-content h2 {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  margin-bottom: var(--spacing-md);
  color: var(--primary-color);
}

.about-content p {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-section {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background-color: var(--light-bg);
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-container h2 {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--primary-color);
}

#map {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */

.contact {
  padding: var(--spacing-2xl) var(--spacing-lg);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact h2 {
  font-size: 2.2rem;
  font-family: var(--font-heading);
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1rem;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  background-color: var(--accent-color);
  color: var(--white);
  padding: 1rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: var(--spacing-md);
}

.form-submit:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(231, 76, 60, 0.3);
}

.form-submit:active {
  transform: translateY(0);
}

#form-success {
  display: none;
  text-align: center;
  padding: var(--spacing-lg);
  background-color: rgba(39, 174, 96, 0.2);
  border-radius: 4px;
  border-left: 4px solid var(--success-color);
}

#form-success h3 {
  margin-bottom: var(--spacing-sm);
  font-size: 1.3rem;
}

#form-success p {
  font-size: 0.95rem;
}

.error-message {
  color: var(--error-color);
  margin-top: var(--spacing-xs);
  font-size: 0.85rem;
  animation: fadeIn 0.3s ease;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background-color: var(--primary-color);
  color: var(--white);
  text-align: center;
  padding: var(--spacing-lg);
  font-size: 0.9rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  nav ul {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .hero {
    padding: 4rem var(--spacing-md) 3rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero .tagline {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-container {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 2rem;
  }

  #map {
    height: 300px;
  }

  .contact {
    padding: var(--spacing-xl) var(--spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 2.5rem;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .service-title {
    font-size: 1.1rem;
  }

  .contact h2 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}
