:root {
    --fore: #fff8f8;
    --fore-grey30: #d46969;
    --primary: #570909;
    --secondary: #3f0909;
}

body{
    background-color: var(--primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Navbar Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--secondary);
    padding: 0 20px;
    height: 60px;
    position: relative;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

/* Nav Links - Desktop View */
.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 20px;
    transition: background 0.3s ease;
}

.nav-links a:hover {
    background-color: #555;
}

/* Dropdown Menu Mechanics (Desktop) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    min-width: 180px;
    list-style: none;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 100;
}

.dropdown-content a {
    padding: 15px 20px;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Hide toggle checkbox and icon on Desktop */
.menu-checkbox {
    display: none;
}

.menu-icon {
    display: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Responsive Media Query for Mobile (max-width: 768px) */
@media screen and (max-width: 768px) {
    .menu-icon {
        display: block; /* Reveal hamburger icon */
    }

    /* Transform menu list into a hidden vertical drawer */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
        border-top: 1px solid #444;
    }

    .nav-links a {
        padding: 15px 20px;
    }

    /* Show main links when checkbox is checked */
    .menu-checkbox:checked ~ .nav-links {
        display: flex;
    }

    /* Dropdown adjustment for mobile layout */
    .dropdown-content {
        position: static; /* Stack vertically instead of floating over content */
        background-color: #444;
        width: 100%;
        box-shadow: none;
    }

    /* Click/tap to open mechanism alternative for mobile: 
       CSS hover behaves as tap toggle on standard mobile viewports */
    .dropdown:hover .dropdown-content {
        display: block;
    }
}








/* Section Wrapper */
.advert-intro-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Layout Container using Flexbox */
.advert-container {
  max-width: 1200px;
  width: 100%;
  display: flex; /* */
  align-items: center;
  gap: 50px; /* Spacing between columns */ /* */
}

/* Shared Column Rules */
.advert-col {
  flex: 1; /* */
  width: 50%; /* */
}

/* Text Column Specific Styling */
.advert-tag {
  display: inline-block;
  color: var(--fore);
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.advert-title {
  font-size: 2.5rem;
  color: var(--fore);
  line-height: 1.2;
  margin-bottom: 20px;
}

.advert-description {
  color: var(--fore);
  font-size: 1.125rem;
  margin-bottom: 30px;
}

/* Feature Checkmarks */
.advert-features {
  margin-bottom: 35px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--fore);
}

.feature-icon {
  color: #10b981;
  font-weight: bold;
}

/* Action Button */
.advert-btn {
  display: inline-block;
  background-color: var(--fore);
  color: var(--secondary);
  padding: 6px 28px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.advert-btn:hover {
  background-color: var(--primary);
  color: var(--fore);
  border: 1px solid var(--fore)
}

/* Visual Column / Image Layout */
.image-wrapper {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.advert-img {
  width: 100%;
  height: auto; /* Maintains original aspect ratio */ /* */
  display: block;
}

/* --- Responsive Breakpoint --- */
/* Stacks columns cleanly on tablet and mobile viewports */
@media screen and (max-width: 992px) {
  .advert-container {
    flex-direction: column; /* Switches rows to vertical stacking */ /* */
    gap: 40px;
  }

  .advert-col {
    width: 100%; /* Columns span full width when stacked */ /* */
  }

  .text-col {
    order: 2; /* Displays the text below the image on small screens */
  }

  .visual-col {
    order: 1; /* Prioritizes the visual asset at the top on small screens */
  }

  .advert-title {
    font-size: 2rem; /* Reduces text sizing for constrained screen spaces */
  }
}



/* Base footer styling */
.footer {
  background-color: var(--secondary);
  color: var(--fore);
  padding: 40px 20px 20px 20px;
}

/* Flexbox container for desktop layouts */
.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto; /* Centers the footer row content */
  gap: 30px;
}

/* Individual column styles */
.footer-column {
  flex: 1; /* Assigns equal width to all 3 columns */
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--fore); /* Accent color for titles */
  position: relative;
}

.footer-column p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fore);
}

/* Link list styling */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: var(--fore);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

/* Hover effect for links */
.footer-column ul li a:hover {
  color: var(--fore-grey30);
}

/* Copyright section at the very bottom */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--secondary);
  font-size: 0.8rem;
  color: var(--primary);
}

/* RESPONSIVE MEDIA QUERY */
/* Switches the layout to a single vertical column on mobile viewports */
@media screen and (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Stacks the columns vertically */
    gap: 40px; /* Space out stacked columns */
  }
  
  .footer-column {
    text-align: center; /* Optional: Centers text on mobile */
  }
}    