/* 
 * Mbrella Sound Radio - Main Stylesheet
 * Modern music-themed design with SEO optimization
 */

:root {
  --primary: #FF3366;
  --secondary: #3A1C71;
  --accent: #4CB8C4;
  --light: #FFFFFF;
  --dark: #121212;
  --gray: #F8F9FA;
  --text: #303030;
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Poppins', sans-serif;
  --transition: all 0.3s ease;
}

/* Base Styles & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-secondary);
  color: var(--text);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -1px;
}

h2 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}

h3 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
  padding: 0;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--dark);
  color: var(--light);
}

.section--gradient {
  background: var(--gradient);
  color: var(--light);
}

.section--gray {
  background: var(--gray);
}

.section__header {
  text-align: center;
  margin-bottom: 4rem;
}

.section__title {
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section__title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

.section--dark .section__title,
.section--gradient .section__title {
  color: var(--light);
}

.section--dark .section__title::after {
  background: var(--light);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Grid & Flex */
.grid {
  display: grid;
  gap: 2rem;
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.flex {
  display: flex;
}

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

.flex--center {
  justify-content: center;
  align-items: center;
}

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

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.5rem 0;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 1rem 0;
}

.header--dark {
  background: var(--dark);
}

.logo {
  display: flex;
  align-items: center;
  font-family: var(--font-primary);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
}

.logo__img {
  height: 40px;
  margin-right: 0.75rem;
}

.logo__text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-weight: 600;
  color: var(--dark);
  position: relative;
  padding: 0.5rem 0;
}

.header--dark .nav__link {
  color: var(--light);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: var(--transition);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.header__cta {
  margin-left: 2rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--light);
  overflow: hidden;
  padding: 7rem 0 5rem;
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/favicon.svg') center/cover no-repeat;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero__title {
  color: var(--light);
  margin-bottom: 1.5rem;
}

.hero__title span {
  color: var(--primary);
}

.hero__subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero__cta {
  display: flex;
  gap: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: var(--font-primary);
}

.btn--primary {
  background: var(--primary);
  color: var(--light);
  box-shadow: 0 8px 15px rgba(255, 51, 102, 0.25);
}

.btn--primary:hover {
  background: #ff1a53;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 51, 102, 0.3);
  color: var(--light);
}

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

.btn--outline:hover {
  background: var(--primary);
  color: var(--light);
  transform: translateY(-3px);
}

.btn--dark {
  background: var(--dark);
  color: var(--light);
}

.btn--dark:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

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

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.btn__icon {
  margin-left: 0.75rem;
  font-size: 1.1rem;
  transition: var(--transition);
}

.btn:hover .btn__icon {
  transform: translateX(5px);
}

/* Features */
.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature {
  background: var(--light);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--gradient);
  opacity: 0.05;
  transition: var(--transition);
  z-index: -1;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.feature:hover::before {
  height: 100%;
}

.feature__icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 51, 102, 0.1);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.feature:hover .feature__icon {
  background: var(--primary);
  color: var(--light);
  transform: rotateY(180deg);
}

.feature__title {
  margin-bottom: 1rem;
}

/* Entertainment Links */
.entertainment {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.03) 0%, rgba(58, 28, 113, 0.03) 100%);
}

.entertainment::before,
.entertainment::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  z-index: 0;
}

.entertainment::before {
  top: -100px;
  right: -100px;
  background: radial-gradient(rgba(255, 51, 102, 0.1), transparent 70%);
}

.entertainment::after {
  bottom: -100px;
  left: -100px;
  background: radial-gradient(rgba(58, 28, 113, 0.1), transparent 70%);
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.link-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  border-left: 3px solid transparent;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left: 3px solid var(--primary);
}

.link-card a {
  display: block;
  font-weight: 500;
  position: relative;
  padding-left: 1.5rem;
}

.link-card a::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.link-card:hover a {
  color: var(--primary);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__image {
  text-align: center;
  position: relative;
}

.about__image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
}

.about__image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  border-radius: var(--radius);
  transform: rotate(-5deg);
  top: 20px;
  left: -20px;
  z-index: 0;
  opacity: 0.3;
}

.about__content h2 {
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-primary);
}

.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.service {
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service__image {
  height: 200px;
  overflow: hidden;
}

.service__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service__content {
  padding: 2rem;
}

.service:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
}

.service:hover .service__image img {
  transform: scale(1.1);
}

.service__title {
  margin-bottom: 1rem;
}

.service__title i {
  color: var(--primary);
  margin-right: 0.5rem;
}

/* Contact */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact__info {
  background: var(--gradient);
  color: var(--light);
  padding: 3rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.contact__info::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: url('../images/favicon.svg') center no-repeat;
  opacity: 0.1;
  z-index: 0;
}

.contact__info-content {
  position: relative;
  z-index: 1;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.contact__info-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact__info-text h4 {
  color: var(--light);
  margin-bottom: 0.5rem;
}

.contact__form {
  background: var(--light);
  padding: 3rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form__group {
  margin-bottom: 1.5rem;
}

.form__label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.form__control {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
  font-family: var(--font-secondary);
  transition: var(--transition);
}

.form__control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 51, 102, 0.1);
}

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

/* Footer */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer__wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: var(--gradient);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.footer__logo-img {
  height: 50px;
  margin-right: 1rem;
}

.footer__logo-text {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--light);
}

.footer__about p {
  margin-bottom: 2rem;
}

.footer__heading {
  color: var(--light);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary);
}

.footer__links li {
  margin-bottom: 1rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding-left: 1.25rem;
}

.footer__links a::before {
  content: '♪';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.footer__links a:hover {
  color: var(--light);
}

.footer__newsletter p {
  margin-bottom: 1.5rem;
}

.footer__form {
  position: relative;
}

.footer__input {
  width: 100%;
  padding: 1rem;
  padding-right: 3rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--light);
}

.footer__input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.15);
}

.footer__submit {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50px;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
}

.footer__submit:hover {
  color: var(--light);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

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

.social-link:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
}

.footer__bottom p {
  margin-bottom: 0;
}

.footer__bottom a {
  color: var(--primary);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.animate {
  opacity: 0;
}

.animate--fadeIn {
  animation: fadeInUp 1s ease forwards;
}

.animate--fadeInLeft {
  animation: fadeInLeft 1s ease forwards;
}

.animate--fadeInRight {
  animation: fadeInRight 1s ease forwards;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-400 {
  animation-delay: 0.4s;
}

.delay-600 {
  animation-delay: 0.6s;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 90%;
  }
}

@media screen and (max-width: 992px) {
  html {
    font-size: 15px;
  }
  
  .grid--3, 
  .grid--4,
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2.75rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .grid--2,
  .grid--3,
  .grid--4,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__image {
    order: -1;
  }
  
  .hero__cta {
    flex-wrap: wrap;
  }
  
  .hero__cta .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .nav__toggle {
    display: block;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--light);
    flex-direction: column;
    padding: 5rem 2rem;
    z-index: 100;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav__menu.active {
    right: 0;
  }
  
  .header--dark .nav__menu {
    background: #1a1a1a;
  }
  
  .header__cta {
    margin-left: 0;
    margin-top: 2rem;
    width: 100%;
  }
}
