/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Hero Section */
.hero-section {
    background: url('images/Streaming-Setup-back.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.hero-section h1, .hero-section p {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section h1 {
    font-size: 3rem;
    margin: 0;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.2rem;
    margin: 20px 0;
}

/* Hero Section Button Container */
.cta-buttons {
    display: inline-flex;
    gap: 15px; /* Space between buttons */
    justify-content: center;
    margin-top: 20px;
}

/* General Button Styles */
.cta-button {
    background-color: #ff6600;
    color: white;
    padding: 12px 25px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

/* Hover effect for all buttons */
.cta-button:hover {
    background-color: #cc5200;
}

/* Specific Style for Latest News Button */
.latest-news {
    background-color: #823fbd; /* Unique color for Latest News */
    transition: background-color 0.3s ease;
}

.latest-news:hover {
    background-color: #5310a4; /* Darker shade on hover */
}

/* Value Proposition Section */
.value-proposition {
    padding: 50px 20px;
    text-align: center;
    background-color: #ffffff;
}

/* Features Section */
.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.feature {
    max-width: 250px;
    text-align: center;
}

/* Latest Content Section */
.latest-content {
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.blog-posts {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.post {
    width: 100%;
    max-width: 350px;
    background-color: #fafafa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.post:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.read-more {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 20px;
    border: 2px solid #ff6600;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.read-more:hover {
    background-color: #ff6600;
    color: white;
}

/* Featured Products Section */
.featured-products {
    padding: 50px 20px;
    background-color: #eeeeee;
    text-align: center;
}

.products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.product {
    width: 100%;
    max-width: 300px;
    text-align: center;
}

.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.product img:hover {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    background-color: #ffffff;
    padding: 50px 20px;
    text-align: center;
}

.testimonial {
    max-width: 600px;
    margin: 0 auto 20px;
    font-style: italic;
    padding: 20px;
    border-left: 4px solid #ff6600;
    background-color: #f9f9f9;
}

/* Footer Section */
.footer {
    background-color: #333333;
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.footer-links a {
    color: #ff6600;
    text-decoration: none;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff9900;
}

/* Responsive Design - Mobile Fixes */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    .features {
        flex-direction: column;
        align-items: center;
    }

    .feature {
        max-width: 90%;
    }

    .blog-posts {
        flex-direction: column;
        gap: 15px;
    }

    .products {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
        max-width: 400px;
    }

    .testimonial {
        max-width: 90%;
    }

    .footer {
        padding: 20px 10px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .feature h3 {
        font-size: 1.3rem;
    }

    .product {
        width: 100%;
        max-width: 350px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .read-more {
        font-size: 1rem;
        padding: 8px 16px;
        margin-top: 15px;
    }
}

/* Home Button */
.home-button {
    display: inline-block;
    margin-top: 20px;
    padding: 5px 10px;
    background: #FF6F00;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s;
}

/* Style for the 'View More Guides' button */
.view-more {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
    color: white;
    background-color: #823fbd; /* Adjust to match your site's color theme */
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.view-more:hover {
    background-color: #5310a4; /* Adjust to a darker shade on hover */
}

.view-more-container {
    text-align: center;
    margin-top: 20px;
}


/* Hamburger Menu Styles */
.hamburger-menu {
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 100;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger-icon .bar {
    width: 50px;
    height: 6px;
    background-color: #ff6600;
    border-radius: 4px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #0f0d0d75;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 99;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-menu-list {
    list-style-type: none;
    padding: 0;
}

.mobile-menu-list li {
    margin: 15px 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-list li a {
    font-size: 1.2rem;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-menu-list li a:hover {
    color: #ff6600;
}

/* Overlay for Menu */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 98;
}

/* Menu Animation - When Open */
.mobile-menu.open {
    transform: translateX(0);
}

.menu-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Hamburger Icon Animation */
.hamburger-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translateY(7px);
}

.hamburger-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translateY(-7px);
}

/* featured guide carousel with paid premium guides */
.featured-guide-carousel {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 15px;          /* side padding for smaller screens */
  box-sizing: border-box;   /* include padding in width */
  overflow: hidden;
  overflow-x: hidden;       /* prevent horizontal scroll */
  border-radius: 15px;
  background: #222;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
}

.guide-container {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
  gap: 0; /* ensure no spacing between slides */
}

.guide-card {
  flex: 0 0 100%; /* fixed full width per slide */
  display: flex;
  gap: 30px;
  padding: 30px;
  color: #fff;
  align-items: center;
  opacity: 0.4;
  transition: opacity 0.6s ease;
}

.guide-card.active {
  opacity: 1;
}

.guide-image img {
  width: 280px;
  max-width: 100%; /* ensure image does not overflow */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(255, 140, 0, 0.8);
}

.guide-content {
  max-width: 500px;
}

.guide-content h2 {
  font-size: 2rem;
  color: #ff8c00;
  margin-bottom: 15px;
}

.guide-content p {
  font-size: 1.1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  color: #ddd;
}

.guide-button {
  background: #ff8c00;
  color: #121212;
  padding: 12px 25px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 30px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s ease;
}

.guide-button:hover {
  background: #e07b00;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .guide-card {
    flex-direction: column;
    text-align: center;
    padding: 15px;             /* reduce padding */
    max-width: 600px;          /* limit width for tidier look */
    margin: 0 auto;            /* center horizontally */
  }
  .guide-image img {
    width: 80%;                /* slightly smaller */
    margin: 0 auto;
  }
  .guide-content {
    max-width: 100%;
  }
  .guide-content h2 {
    font-size: 1.5rem;         /* smaller heading */
  }
  .guide-content p {
    font-size: 1rem;           /* smaller paragraph */
  }
}
