/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}
  
.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    position: relative;
}
  
a {
    text-decoration: none;
    color: inherit;
}
  
/* Header Styles */
.header {
    width: 100%;
    height: 130px;
    background-color: #8B0000;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0px 2px 14px #8B0000;
    display: flex-start;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}
  
.header a {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 30px;
    padding: 0 15px;
    transition: all 0.3s ease;
}
  
.header a:hover {
    opacity: 0.8;
}

/* Navigation */
.navigation {
    display: flex;
    align-items: center;
    height: 50%;
    padding-left: 100px;
}

.navigation .nav-link {
    color: white;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 30px;
    padding: 0 15px;
    margin-right: 30px;
    transition: all 0.3s ease;
}

.navigation .nav-link:hover {
    opacity: 0.8;
}
  
/* Hero Section */
.hero {
    width: 100%;
    height: 130vh; 
    margin-top: 130px;
    background-image: url('Rectangle 2.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
  
/* About Section */
.about {
    width: 100%;
    min-height: 670px;
    background-color: #F7F7F7;
    background-image: url('ABOUT.svg');
    background-size: cover;
    background-position: center;
    padding: 50px 20px; 
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: left;
    
}

.about-content {
    max-width: 1240px;
    margin: 10 auto;
    padding: 20px;
}
  
.section-header {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.section-title {
    color: #f1ecec;
    font-size: 54px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    margin: 0 0px;
}

.decorative-line {
    height: 4px;
    background: #e9e5e5;
    flex: 1;
    max-width: 100px;
}
  
.about-text {
    color: #8B0000;
    font-size: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    line-height: 44px;
}
  
.social-media-header {
    display: flex;
    align-items: center;
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.social-media-header .social-icon {
    margin-left: 25px;
}

.social-media-header svg {
    width: 37px;
    height: 37px;
}
/* Rules Section */
.rules {
    width: 100%;
    position: relative;
    padding: 0; /* Changed from 50px 0px */
    margin-top: -4px;
}

img, picture, video {
    display: block;
    max-width: 100%;
}

.rules-content {
    width: 100%;
    max-width: 3000px;
    background: rgba(254, 197, 92, 0.89);
    margin: 0 auto;
    border-radius: 1px;
    padding: 50px 30px;
    background-image: url('RULES.svg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Height will be auto by default */
}

.the-rules-of-the-rhythm {
    color: #5B0A06;
    font-size: 54px;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    max-width: 1200px;
}

.rules-content p {
    color: #5B0A06;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 59px;
    text-align: center;
    max-width: 1200px;

   
}

/* Desktop-specific styles */
@media screen and (min-width: 769px) {
    .rules {
        height: 975px;
    }
    
    .rules-content {
        height: 925px;
    }
}

  
/* Footer Styles */
.footer {
    width: 100%;
    background-color: #8B0000;
    color: white;
    padding: 50px 0;
}
  
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}
  
.section-title {
    font-size: 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    margin-bottom: 20px;
}
  
.contact-info, .social-media-footer, .newsletter {
    flex: 1;
    padding: 0 20px;
    min-width: 250px;
    margin-bottom: 30px;
}
  
.email {
    font-size: 18px;
    margin-bottom: 10px;
}
  
.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
  
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}
  
.social-icons a:hover {
    transform: translateY(-5px);
}
  
.subscribe-form {
    display: flex;
    flex-direction: row;
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid white;
    border-radius: 8px;
    overflow: hidden;
}
  
.email-input {
    padding: 15px 20px;
    border: none;
    background-color: #8B1814; /* Dark red background */
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    width: 70%;
    outline: none;
}

.email-input::placeholder {
    color: white;
    opacity: 0.8;
}
  
.subscribe-btn {
    padding: 0px 0px;
    background-color: white;
    color: #6D160F; /* Dark red text */
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    width: 30%;
    transition: background-color 0.3s ease;
}

.subscribe-btn:hover {
    background-color: #ffae2e;
}

/* Social Media Icons */
.social-media-header {
    display: flex;
    align-items: center;
    position: absolute;
    right: 100px;
    top: 45px;
}
  
.social-media-header a {
    margin-left: 20px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* Mobile Menu Styles */
.navigation {
    display: flex;
  }
  
  @media screen and (max-width: 768px) {
    .mobile-menu-toggle {
      display: block;
      background: none;
      border: none;
      color: white;
      font-size: 24px;
      cursor: pointer;
      z-index: 1000;
      position: relative;
    }
    
    .navigation {
      position: fixed;
      top: 0;
      left: -100%;
      width: 250px;
      height: 100vh;
      background-color: #8B0000;
      flex-direction: column;
      padding-top: 60px;
      transition: left 0.3s ease;
      z-index: 99;
    }
    
    .navigation.active {
      left: 0;
    }
    
    .navigation .nav-link {
      display: block;
      padding: 15px 20px;
      color: white;
      text-decoration: none;
    }
  }
  
  @media screen and (min-width: 769px) {
    .mobile-menu-toggle {
      display: none;
    }
  }

/* Media Queries */
@media (max-width: 1200px) {
    .navigation {
        padding-left: 20px;
    }
    
    .social-media-header {
        margin-right: 20px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .contact-info, .social-media-footer, .newsletter {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}
  
@media (max-width: 768px) {
    .header {
        height: 80px;
        padding: 0 15px;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: block;
        z-index: 1100;
    }
    
    .navigation {
        display: none;
        flex-direction: column;
        background-color: #8B0000;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        padding: 20px 0;
        z-index: 1001;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
    }
    
    .navigation.active {
        display: flex;
    }
    
    .navigation .nav-link {
        margin: 10px 0;
        font-size: 24px;
        text-align: center;
        display: block;
        width: 100%;
    }
    
    .social-media-header {
        position: static;
        justify-content: center;
        margin: 0;
    }
    
    .social-media-header a {
        margin: 0 10px;
    }
    
    .social-media-header svg {
        width: 30px;
        height: 30px;
    }
    
    .hero {
        margin-top: 80px;
        height: 500px;
    }
    
    .about {
        min-height: auto;
        padding: 40px 15px;
    }
    
    .about-text {
        font-size: 20px;
        line-height: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .rules {
        min-height: auto;
        padding: 30px 15px;
    }
    
    .rules-content {
        min-height: auto;
        padding: 30px 15px;
    }
    
    .rules-text {
        font-size: 18px;
        line-height: 40px;
        padding: 15px;
    }
}
  
@media (max-width: 480px) {
    .header {
        height: 70px;
    }
    
    .header a {
        font-size: 22px;
        padding: 0 10px;
    }
    
    .navigation {
        top: 70px;
    }

    .email {
        font-size: 18px;
        margin-bottom: 10px;
      }
    
    .social-media-header svg {
        width: 25px;
        height: 25px;
    }
    
    .hero {
    height: 31vh;
    margin-top: 80px; /* Optional: Reduce top margin for small screens */
    background-size: contain; /* Optional: Try 'contain' if cover crops too much */
    background-repeat: no-repeat;
    background-position: center;
  }
}
    
    
    .about-text {
        font-size: 18px;
        line-height: 28px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .rules-text {
        font-size: 16px;
        line-height: 32px;
    }

    .rules {
        padding: 0px 0px;
    }
    
    .rules-content {
        padding: 0px 0px;
    }
    
    .rules-text {
        font-size: 14px;
        line-height: 1.5;
        padding: 10px;
    }
    
    .footer {
        padding: 30px 0;
    }
    
    .footer .section-title {
        font-size: 20px;
    }
    
    .contact-info, .social-media-footer, .newsletter {
        padding: 0 15px;
    }
