
/* Tim Sque Comedy Website - Main Stylesheet */

/* Global Styles */
:root {
  --primary-color: #333;
  --secondary-color: #666;
  --background-color: #f5f5f5;
  --accent-color: #000;
  --text-color: #333;
  --link-color: #000;
  --link-hover-color: #555;
  --header-height: 60px;
}
.logo {
  max-height: 40px;
  width: auto;
  height: auto;
}



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

body {

  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
  opacity: 1;
  transition: opacity 0.5s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

/* Header Styles */
header {
  background-color: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.site-title {
  font-size: 1.5rem;
  font-weight: 400;
}

.site-title a {
  text-decoration: none;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.site-title a:hover {
  color: var(--link-hover-color);
}

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

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

nav ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 1rem;
  transition: color 0.3s ease;
}

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

nav ul li a.active {
  border-bottom: 2px solid var(--accent-color);
}

/* Main Content */


/* Hero Section (Desktop) */
.hero {
  margin-bottom: 40px;
}


.hero img {
  width: 50%; /* Image takes up 50% of the section */
  height: 100%;
  object-fit: cover; /* Ensure image covers space properly */
}

.about-section {
  flex: 1;
  padding-left: 20px;
  text-align: left; /* Align text to the left */
}

/* Links */
p a {
  display: block;
  margin: 10px 0;
}

/* Footer */
footer {
  background-color: #fff;
  padding: 20px 0;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-top: 0;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fade-in {
  animation: fadeIn 1s ease-in;
  opacity: 1; /* Ensure fade-in elements are visible */
}

/* Responsive Design (Mobile) */
@media (max-width: 768px) {
  /* Hero Section: Stack vertically on mobile */
  .hero {
  margin-bottom: 40px;
}


  .hero img {
    width: 100%; /* Make the image fill the width */
    height: auto; /* Let the image scale naturally */
    margin-bottom: 20px; /* Space between image and text */
  }

  .about-section {
    text-align: center; /* Center the text */
    padding: 20px;
  }

  /* Social Links */
  .social-links {
    width: 100%;
    padding: 10px;
    text-align: center;
  }

  .social-links p {
    margin: 10px 0;
    word-wrap: break-word; /* Prevent links from overflowing */
  }

  .social-links a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: #333;
  }
}

/* Very Small Mobile View */
@media (max-width: 480px) {
  .hero img {
    height: 40%; /* Reduce image height on small screens */
  }

  .about-section {
    padding: 10px;
  }

  .social-links p {
    margin: 5px 0; /* Reduced margin to fit more links */
  }

  .social-links a {
    font-size: 1rem; /* Adjust font size for smaller screens */
  }
}


/* Main Content */
main {
  flex: 1;
  padding: 40px 0;
}

/* Hero layout */
.hero-content {
  display: flex;
  flex-direction: row-reverse; /* image on the right */
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 70vh; /* tall but not fixed */
}

/* image/text sizing */
.image-container, .text-container {
  flex: 1 1 50%;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-section {
  text-align: left;
}

.social-links p { margin: 10px 0; }
.social-links a { text-decoration: none; color: var(--link-color); }
.social-links a:hover { color: var(--link-hover-color); }

/* Mobile hero overrides */
@media (max-width: 768px) {
  .hero-content { flex-direction: column; gap: 20px; min-height: auto; }
  .image-container, .text-container { flex: 1 1 auto; width: 100%; }
}
