/* css/style.css */

/* CSS Variables for consistent styling */
:root {
  --primary-bg: #121212;
  --secondary-bg: #1f1f1f;
  --accent-color: #FF4081;
  --accent-hover: #F50057;
  --light-color: #e0e0e0;
  --dark-color: #212121;
  --white: #ffffff;
  --font-family: 'Roboto', sans-serif;
  --transition-speed: 0.3s;
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base Style */
body {
  font-family: var(--font-family);
  line-height: 1.6;
  background: var(--primary-bg);
  color: var(--light-color);
  scroll-behavior: smooth;
}

/* Header & Navigation */
header {
  background: var(--secondary-bg);
  border-bottom: 1px solid #334155;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo h1 {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: 1px;
  color: var(--light-color);
}

.nav-menu {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 20px;
}

.nav-menu li a {
  color: var(--light-color);
  text-decoration: none;
  font-size: 1rem;
  position: relative;
  transition: color var(--transition-speed) ease;
}

.nav-menu li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

.nav-menu li a:hover {
  color: var(--accent-color);
}

.nav-menu li a:hover::after {
  width: 100%;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.mobile-menu span {
  background: var(--light-color);
  height: 3px;
  width: 25px;
  margin: 4px 0;
  transition: all var(--transition-speed) ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: url('main.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 1s ease;
}

.hero-text h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.5rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section.about,
section.contact {
  padding: 100px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  background: var(--secondary-bg);
  border-radius: 16px;
  margin-top: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

section.about h2,
section.contact h2 {
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  color: var(--light-color);
  text-transform: capitalize;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 25px;
}

.features-list {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.features-list li {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: var(--light-color);
}

.seo-text {
  margin-top: 30px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

section.about h2::after,
section.contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--accent-color);
  transform: translateX(-50%);
  transition: width var(--transition-speed) ease;
}

section.about h2:hover::after,
section.contact h2:hover::after {
  width: 100px;
}

/* Contact Section */
.contact-info {
  margin-bottom: 40px;
}

.contact-details {
  text-align: center;
  margin-bottom: 60px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}

.contact-details h3 {
  font-size: 2rem;
  margin-bottom: 25px;
  color: var(--accent-color);
}

.mail-box {
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mail-box p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--dark-color);
}

.mail-link {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
  padding: 5px 15px;
  border-radius: 4px;
}

.mail-link:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-top: 40px;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 450px;
}


/* Footer */
footer {
  background: var(--dark-color);
  color: #ddd;
  text-align: center;
  padding: 20px 0;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .mail-box {
    padding: 15px;
  }
  
  .mail-link {
    font-size: 1.2rem;
    padding: 8px 12px;
  }

  .nav-menu {
    display: none;
  }
  .mobile-menu {
    display: flex;
  }
  .hero {
    height: 80vh;
    background-attachment: scroll;
  }
  .hero-text {
    padding: 20px;
    width: 90%;
  }
  .hero-text h2 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1.2rem;
  }
  section.about,
  section.contact {
    padding: 60px 20px;
    margin: 20px;
    border-radius: 12px;
  }
  section.about h2,
  section.contact h2 {
    font-size: 2rem;
  }
  .contact-details h3 {
    font-size: 1.5rem;
  }
  .contact-details p {
    font-size: 1rem;
  }
  .map-container {
    margin: 20px -20px;
    border-radius: 0;
  }
  .map-container iframe {
    height: 350px;
  }
  .contact-form {
    padding: 30px 20px;
  }
  input, textarea {
    font-size: 1rem;
    padding: 12px;
  }
  .cta-button {
    width: 100%;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero-text h2 {
    font-size: 1.75rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
  section.about,
  section.contact {
    margin: 10px;
  }
}