/* Spanning Financial - Wallpaper Installation Services
   Modern Premium Design with Minimalist Aesthetic
   Color Palette: Neutral grays, warm accent colors, professional whites
*/

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('images/hero-cover.webp') center/cover no-repeat;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #e0e0e0;
  margin-top: 15px;
  font-style: italic;
}

.cta-button {
  display: inline-block;
  padding: 16px 48px;
  background-color: #d4a574;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.cta-button:hover {
  background-color: #c49460;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  text-decoration: none;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 40px;
}

nav a {
  color: #666;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #d4a574;
}

/* ============================================
   CONTAINER & SECTIONS
   ============================================ */

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

section {
  padding: 80px 0;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 50px;
  text-align: center;
  color: #333;
  font-weight: 700;
}

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

.about {
  background-color: #f9f9f9;
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

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

.services {
  background-color: #fff;
}

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

.service-card {
  background: white;
  padding: 0;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #f0f0f0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.service-card h3,
.service-card p {
  padding: 0 30px;
}

.service-card h3 {
  padding-top: 25px;
}

.service-card p {
  padding-bottom: 30px;
}

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

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #d4a574, #e8c9a0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
  margin-top: 0;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   LOCATION SECTION
   ============================================ */

.location {
  background-color: #f9f9f9;
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.location-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.location-info p {
  font-size: 1.05rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.location-info strong {
  color: #333;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  height: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

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

.contact {
  background-color: #fff;
}

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

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4a574;
  background-color: white;
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

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

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #d4a574;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 165, 116, 0.3);
}

.submit-btn:hover {
  background-color: #c49460;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
}

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

#form-success {
  display: none;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}

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

footer {
  background-color: #333;
  color: white;
  padding: 50px 0 20px;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #d4a574;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 20px;
  color: #999;
  font-size: 0.9rem;
}

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

@keyframes fadeInUp {
  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) {
  nav .container {
    padding: 0 20px;
  }

  nav ul {
    gap: 20px;
  }

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

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

  section {
    padding: 50px 0;
  }

  section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .container {
    padding: 0 20px;
  }

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

  .location-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-button {
    padding: 14px 40px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  nav ul {
    display: none;
  }

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

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

  section h2 {
    font-size: 1.5rem;
  }

  .service-card {
    padding: 30px 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/* ============================================
   ERROR MESSAGE ANIMATION
   ============================================ */

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

.error-message {
  animation: fadeInError 0.3s ease !important;
}
