/* 
* DM Sonu 411 - Main Stylesheet
* Modern Digital Marketing Website
*/

/* Variables */
:root {
  --primary: #9C27B0;
  --primary-dark: #7B1FA2;
  --primary-light: #E1BEE7;
  --secondary: #FF5722;
  --text-dark: #212121;
  --text-light: #757575;
  --white: #FFFFFF;
  --light-bg: #F5F5F5;
  --border: #EEEEEE;
  --gradient: linear-gradient(135deg, #9C27B0, #673AB7);
  --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 40px;
  text-align: center;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 20px;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition);
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(156, 39, 176, 0.3);
}

.btn:hover {
  background-color: var(--secondary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow);
  padding: 15px 0;
}

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

.logo a {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
}

.logo svg {
  margin-right: 10px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 600;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
#hero {
  background: var(--gradient);
  color: var(--white);
  text-align: center;
  padding: 180px 0 100px;
  margin-top: -1px;
}

#hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

#hero p {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.2s;
  animation-fill-mode: both;
}

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

/* Services Section */
#services {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--light-bg);
  border-radius: 10px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

/* Entertainment Section */
#entertainment {
  background-color: var(--light-bg);
}

.resources ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.resources ul li {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  padding-left: 20px;
}

.resources ul li:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resources ul li a {
  font-weight: 600;
  color: var(--primary);
  display: block;
  margin-bottom: 5px;
}

.resources ul li a:hover {
  color: var(--secondary);
}

/* Contact Section */
#contact {
  background-color: var(--white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

form input,
form textarea {
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition);
}

form input:focus,
form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.2);
}

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

.contact-info {
  background-color: var(--primary);
  color: var(--white);
  padding: 40px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-logo svg {
  margin-bottom: 10px;
}

.footer-links ul {
  display: flex;
  gap: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--secondary);
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  #hero {
    padding: 150px 0 80px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 0;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 20px 0;
    text-align: center;
    transition: var(--transition);
  }
  
  nav ul.active {
    left: 0;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  #hero {
    padding: 130px 0 60px;
  }
  
  #hero p {
    font-size: 1.2rem;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .resources ul {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
