/* surf Christian.net - Responsive CSS Framework */

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

body {
  margin: 0;
  padding: 0;
  font-family: Comic Sans MS, sans-serif;
  line-height: 1.6;
  background-color: white;
  color: #333;
}

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.container-fluid {
  width: 100%;
  padding: 0 15px;
}

/* Header/Navigation */
.header {
  position: relative;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  z-index: 100;
}

.logo-section {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
}

.logo-dove {
  height: 60px;
  width: auto;
  flex-shrink: 0;
}

.home-link {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  margin-left: -10px;
}

/* Main Content Area */
.main-content {
  background: white;
  margin: 20px auto;
  padding: 30px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  max-width: 1000px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 20px 0;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 30px;
}

h2 {
  font-size: 2rem;
  text-decoration: underline;
  margin-bottom: 25px;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

/* Images */

img {
  border-radius: 5px;
}

.responsive-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Video Elements */
video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.responsive-video {
  width: 100%;
  max-width: 640px;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* Links */
a {
  color: #0066cc;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #004499;
  text-decoration: underline;
}

/* Flexbox Layout System */
.flexo {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.content-tile {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

.video-tile {
  flex: 1;
  padding: 20px;
  background: white;
  border-radius: 8px;
}

/* Section Headers */
.section-header {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

/* Horizontal Rules */
hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 30px 0;
  width: 30%;
  margin-left: auto;
  margin-right: auto;
}

/* Center Alignment */
.center {
  text-align: center;
}

/* Prayer Text Styling */
.prayer-text {
  font-style: italic;
  line-height: 1.8;
  margin: 20px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border-left: 4px solid #ddd;
}

.prayer-text p {
  margin: 10px 0;
}

/* Shop Section */
.shop-section {
  text-align: center;
  padding: 30px 0;
  border-top: 2px solid #ddd;
  margin-top: 40px;
}

.shop-image {
  max-width: 200px;
  height: auto;
  margin: 20px 0;
}

.shop-text {
  font-size: 0.9rem;
  color: #666;
  margin-top: 10px;
}

/* Mobile First Responsive Design */
@media (max-width: 767px) {
  .container {
    padding: 0 10px;
  }

  .main-content {
    margin: 10px;
    padding: 20px 15px 40px 15px; /* Extra bottom padding */
  }

  .logo-section {
    padding: 10px 15px;
    gap: 10px;
  }

  .logo-dove {
    height: 50px;
  }

  .home-link {
    height: 35px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  h4 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .content-tile,
  .video-tile {
    padding: 15px;
  }

  /* Mobile Video Styling */
  .responsive-video {
    width: 100%;
    max-width: 100%;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .main-content {
    margin: 20px;
    padding: 40px 30px;
  }

  .flexo {
    flex-direction: row;
    gap: 40px;
  }

  .content-tile {
    order: 1;
  }

  .video-tile {
    order: 0;
  }
}

/* Desktop Styles */
@media (min-width: 768px) {
  .main-content {
    margin: 30px auto;
    padding: 50px 40px;
  }

  .flexo {
    flex-direction: row;
    gap: 50px;
  }

  .content-tile {
    order: 1;
    flex: 2;
  }

  .video-tile {
    order: 0;
    flex: 1;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  /* Desktop Image Constraints */
  .main-content .responsive-image {
    max-width: 300px;
  }

  .main-content video {
    max-width: 300px;
  }

  .main-content .shop-image {
    max-width: 200px;
  }

  /* Desktop HR Styling */
  hr {
    width: 50%;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .main-content {
    padding: 60px 50px;
  }

  .flexo {
    gap: 60px;
  }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

/* Print Styles */
@media print {
  .header {
    box-shadow: none;
  }

  .main-content {
    box-shadow: none;
    margin: 0;
    padding: 0;
  }

  .content-tile,
  .video-tile {
    background: white;
  }
}
