/* 
 * iShootSnatches - Modern Olympic Weightlifting Website
 * Styles optimized for SEO and responsive design
 */

:root {
  --primary-color: #3498db; /* Blue */
  --secondary-color: #2c3e50; /* Dark Blue */
  --accent-color: #e74c3c; /* Red */
  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --text-color: #34495e;
  --container-width: 1200px;
  --border-radius: 4px;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
  overflow-x: hidden;
}

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

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

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

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

/* Header Styles */
header {
  background-color: var(--dark-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  margin-right: 0.5rem;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--light-color);
  font-size: 1.5rem;
  cursor: pointer;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 2rem;
}

nav ul li a {
  color: var(--light-color);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 0.5rem 0;
  position: relative;
}

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

nav ul li a:hover {
  color: var(--light-color);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h2 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero h2 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-transform: uppercase;
  transition: all var(--transition-speed) ease;
  letter-spacing: 1px;
}

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

.btn-primary:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: white;
  border: 2px solid var(--light-color);
  margin-left: 1rem;
}

.btn-secondary:hover {
  background-color: var(--light-color);
  color: var(--dark-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
  padding: 6rem 0;
}

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

.section-header h3 {
  font-size: 2.5rem;
  color: var(--dark-color);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
  font-size: 1.1rem;
}

.section-header h3::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 1rem auto 0;
}

/* Technique Section */
.technique {
  background-color: var(--light-color);
}

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

.technique-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform var(--transition-speed) ease;
  position: relative;
}

.technique-card:hover {
  transform: translateY(-10px);
}

.technique-image {
  height: 200px;
  background-color: var(--dark-color);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.technique-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.technique-card:hover .technique-image svg {
  transform: scale(1.1);
}

.technique-content {
  padding: 1.5rem;
}

.technique-content h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
  font-weight: 700;
}

.technique-content p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.technique-content .btn {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

/* About Section */
.about {
  background-color: var(--dark-color);
  color: white;
}

.about .section-header h3 {
  color: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.about-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.8;
  font-weight: 300;
}

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

.stat {
  text-align: center;
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--border-radius);
}

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

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

/* Testimonial Section */
.testimonials {
  background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.testimonial-item {
  padding: 2rem;
}

.testimonial-quote {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Entertainment Section */
.entertainment {
  background-color: white;
}

.links-container {
  margin-top: 2rem;
}

.links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.link-card {
  padding: 1rem;
  border-radius: var(--border-radius);
  background-color: var(--light-color);
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.link-card:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.link-card a {
  color: var(--dark-color);
  display: block;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
}

.link-card:hover a {
  color: white;
}

/* Contact Section */
.contact {
  background-color: var(--light-color);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
}

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

.contact-info p i {
  margin-right: 1rem;
  color: var(--primary-color);
  width: 20px;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--dark-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
}

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

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 35px;
  margin-right: 0.5rem;
}

.footer-logo h3 {
  font-size: 1.3rem;
  color: white;
  font-weight: 700;
}

.footer-about p {
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  color: white;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 0.8rem;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  transition: color var(--transition-speed) ease;
}

.footer-links ul li a:hover {
  color: white;
}

.footer-social a {
  display: inline-block;
  margin-right: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.2rem;
  transition: color var(--transition-speed) ease;
}

.footer-social a:hover {
  color: var(--accent-color);
}

.footer-newsletter p {
  margin-bottom: 1rem;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-family: inherit;
  font-size: 0.9rem;
}

.newsletter-form button {
  padding: 0 1rem;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.newsletter-form button:hover {
  background-color: var(--primary-color);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
}

.footer-bottom img {
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 5px;
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .hero h2 {
    font-size: 3.5rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--dark-color);
    flex-direction: column;
    padding: 1rem 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path var(--transition-speed) ease;
    text-align: center;
  }
  
  nav.active ul {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  
  nav ul li {
    margin: 0;
    padding: 0.8rem 0;
  }
  
  .hero h2 {
    font-size: 2.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 0.8rem 1.5rem;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  section {
    padding: 4rem 0;
  }
  
  .section-header h3 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    height: auto;
    min-height: 80vh;
    padding: 8rem 0 4rem;
  }
  
  .btn {
    display: block;
    width: 100%;
    margin: 1rem 0 0;
  }
  
  .btn-secondary {
    margin-left: 0;
  }
  
  .technique-grid {
    grid-template-columns: 1fr;
  }
}
