/* ================================
   RESET & BASE STYLES
   These rules remove default browser
   styles and set a global design system
================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Keeps padding/borders inside element width */
}

body {
  font-family: 'Roboto', sans-serif; /* Clean modern font */
  line-height: 1.6;
  color: #fff; /* Default text color set to white for readability */
  font-size: 18px; /* Slightly larger base text for accessibility */
  scroll-behavior: smooth; /* Smooth scroll on anchor links */
  background: url('/images/nunest-background.png') no-repeat center center fixed;
  background-size: cover; /* Responsive full background */
}

/* Optional overlay to soften background */
.overlay {
  background-color: rgba(255, 255, 255, 0.85);
  min-height: 10vh;
  padding: 0;
}

/* ================================
   LAYOUT UTILITIES
   Quick helpers for alignment/spacing
================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.flex {
  display: flex;
}
.space-between {
  justify-content: space-between;
}
.align-center {
  align-items: center;
}

/* ================================
   HEADER & NAVBAR
   Sticky navigation with logo + links
================================== */
header {
  background-color: #85653C; /* Warm brown tone */
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .logo {
  font-size: 2.5em; /* Increased logo font size */
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}


nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
  padding: 0;
  flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

nav li a {
  color: #fff;
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  padding: 8px 12px;
  transition: color 0.3s ease, transform 0.3s ease;
}

nav a {
  color: #fff;
  font-weight: 500;
  font-size: 1.2rem; /* Bigger nav links */
  text-decoration: none;
  transition: color 0.3s ease;
}
nav a:hover {
  color: #ffd700; /* Gold highlight on hover */
}

/* ================================
   HERO SECTION
   Large banner with background + text
================================== */
.hero {
  background: url('/images/1.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content {
  max-width: 700px;
  background: whitesmoke; /* Dark overlay for contrast */
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  animation: fadeIn 1.5s ease-in-out; /* Fade animation */
}

.hero h1 {
  font-size: 4.5rem; /* Larger hero heading */
  margin-bottom: 20px;
  color: rgb(210, 170, 110);
  text-transform: uppercase;
}

.hero p {
  font-size: 1.5rem; /* Bigger subtext */
  margin-bottom: 30px;
  color: rgb(225, 174, 99);
}

.logo-circle {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid #00796b;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .logo-circle {
    width: 50px;
    height: 50px;
    top: 10px;
    left: 10px;
  }

  header .logo {
    text-align: center;
    font-size: 2rem;
    margin-top: 70px; /* Push text below the logo */
    position: relative;
    z-index: 5;
  }
}

/* Simple fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================================
   SECTION STYLES
   General spacing and typography
================================== */
section {
  padding: 80px 20px;
}

h2 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-align: center;
  color: #00d8ff; /* Bright cyan headings */
}

p {
  font-size: 1.7rem;
  margin-bottom: 20px;
  text-align: center;
}

/* ================================
   CARDS (Services / Features)
================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  border-radius: 10px;
  background: linear-gradient(to bottom right, #ada9a9, #1a899c);
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  border-bottom: 1px solid black;
  padding-bottom: 8px;
}

/* ================================
   CTA (Call To Action)
================================== */
.cta {
  background-color: #85653C;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}
.cta h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}
.cta p {
  font-size: 1.3rem;
  margin-bottom: 30px;
}
a[href="/contact"] {
  background-color: #85653C; /* your brown shade */
  color: #fff; /* text color */
  padding: 10px 20px; /* spacing */
  border-radius: 5px; /* optional */
  text-decoration: none; /* remove underline */
}

/* ================================
   FOOTER
================================== */

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #3498db, #2c3e50);
  color: #fff;
  padding: 60px 30px 40px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  border-top: 5px solid #ffffff20;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1;
  min-width: 220px;
}

.footer-column h3,
.footer-column h4 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 0.5px;
}

.footer-column p,
.footer-column a {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  font-size: 1.6rem;
  color: #f0f0f0;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
  transform: scale(1.2) rotate(5deg);
}



/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #ddd;
  border-top: 1px solid #ffffff30;
  padding-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ================================
   RESPONSIVE DESIGN
   Ensures site works on all devices
================================== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 10px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
}


/* Social icons */
.social-icons a {
  margin-right: 10px;
  font-size: 1.2rem;
  color: #fff;
}

/* 🔧 Mobile Fixes */
@media (max-width: 768px) {
}
  .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo {
    margin-bottom: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  /* Contact Section */
.contact {
  background-color: #f5f8fa;
  padding: 60px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #2c3e50;
}

.contact .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #1a1a1a;
}

.contact p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
}

/* Form Response */
.form-response {
  font-size: 1rem;
  margin-bottom: 20px;
  color: green;
}

/* Contact Form */
#contactForm {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#contactForm input,
#contactForm textarea {
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

#contactForm input:focus,
#contactForm textarea:focus {
  border-color: #3498db;
  outline: none;
}

#contactForm button {
  padding: 15px;
  background-color: #3498db;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contactForm button:hover {
  background-color: #2980b9;
}

/* Responsive Design */
@media (max-width: 600px) {
  .contact h2 {
    font-size: 2rem;
  }

  #contactForm input,
  #contactForm textarea {
    font-size: 0.95rem;
  }

  #contactForm button {
    font-size: 0.95rem;
  }
}
