/*
Theme Name: My Hybrid Theme
Theme URI: https://github.com/nic-dgl233-wi26/dlu1-project-3-Varunkanth471.git
Author: Varunkanth Arani Panneerselvam
Description: A hybrid WordPress theme combining classic PHP templates with modern block editor support. Built for clean wireframe layouts, ACF integration, and flexible custom post types.
Version: 1.0
Tested up to: 6.5
Requires PHP: 7.4
Tags: hybrid, block-editor, classic-theme, custom-menu, featured-images, responsive-layout, accessibility-ready, custom-logo, full-width-template
*/


/* GLOBAL RESET */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.5;
  color: #000;
  background: #f4f4f4;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #000;
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-weight: bold;
  margin-top: 0;
}
p {
  color: #000;
}
/* LAYOUT CONTAINERS */
.site-header,
.site-footer {
  max-width: 1800px;
  margin: 0 auto;
  padding: 1.5rem;
}
.site-footer {
  padding: 0;
}
/* HEADER */
.site-header {
  background-color: #4a4a4a;
  height: 5rem;
  align-items: center;
  justify-content: center;
}
.site-header__top {
  display: flex;
  padding-bottom: 1rem;
  margin-top: 0;
  margin-left: 10rem;
  margin-right: 10rem;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.site-logo img {
  justify-content: center;
  align-items: center;
  max-width: 5rem;
  height: 3.5rem;
}

.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-content: center;
  justify-content: space-around;
  align-items: center;
  margin-left: 6.9rem;
  margin-right: 6.9rem;
}

.site-nav a {
  font-size: 1rem;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  text-decoration: none;
}

/* HERO SECTION */
.hero {
  margin: 0;
  background: #e5e5e5;
}
.hero-content {
  text-align: left;
  align-items: flex-start;
  justify-content: flex-start;
  background: #e5e5e5;
  margin-left: 10rem;
  margin-right: 10rem;
  padding-bottom: 3rem;
}

.hero p {
  font-size: 2rem;
  color: white;
  text-align: justify;
}

.hero a {
  font-size: 1rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}

/* HOME SECTIONS */
.home-section {
  margin: 0;
  margin-left: 10rem;
  margin-right: 10rem;
}

.home-section h2 {
  font-size: 2rem;
  margin: 0;
}
.home-section p {
  color: #000;
  font-size: 1rem;
  margin-top: 0;
}
/* GRID + CARDS */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-bottom: 3rem;
  margin-top: 0;
  padding-top: 0;
}

.card {
  border: 2px solid #000;
  padding: 1.5rem;
  background: #f0f0f0;
}

.card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: bold;
  text-decoration: underline;
}

/* PLACEHOLDER IMAGE BOX */
.placeholder-img {
  width: 100%;
  height: 180px;
  background: #d9d9d9;
  border: 2px solid #000;
  margin-bottom: 1rem;
}

/* DISCOVER LOCAL AREA PAGE */
.section-title {
  font-size: 2rem;
  margin: 2rem 0 1rem 0;
}

.large-placeholder-img {
  width: 100%;
  height: 300px;
  background: #d9d9d9;
  border: 2px solid #000;
  margin: 1rem 0 2rem 0;
}

.location-block {
  margin-bottom: 2rem;
}

.location-block h3 {
  margin-bottom: 0.5rem;
}

/* ARCHIVE PAGES */
.archive-page {
  margin-left: 10rem;
  margin-right: 10rem;
}
.archive-hero {
  background: #000;
  margin-top: 0;
}

h1 {
  font-size: 1.5rem;
  margin-top: 1rem;
}
.archive-featured h2 {
  color: white;
  font-size: 1.5rem;
  margin-top: 3rem;
  padding-top: 3rem;
}
.archive-header p {
  font-size: 1rem;
  color: black;
}
.archive-featured {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
}

.filter-buttons a {
  padding: 0.5rem 1rem;
  border: 2px solid #000;
  background: #e5e5e5;
  font-weight: bold;
  text-decoration: none;
  color: #000;
}

.back-to-top {
  display: inline-block;
  margin-top: 2rem;
  font-weight: bold;
}

/* SINGLE PAGES */
.single-page {
  margin-left: 10rem;
  margin-right: 10rem;
}
.single-listing {
  padding: 2rem 0;
  margin-left: 10rem;
  margin-right: 10rem;
}
.single-description {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}
.single-listing h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.single-listing__contact p {
  margin: 0.3rem 0;
}
.single-image {
  width: 120rem;
  height: auto;
}
.single-listing__amenities ul {
  padding-left: 1.2rem;
}

.single-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #000; 
  background-color: #8e8e8e; /* fallback if no image */
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.single-banner h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
    margin-left: 10rem;
  margin-right: 10rem;
}

.single-banner p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.2rem;
    margin-left: 10rem;
  margin-right: 10rem;
}

.single-listing figure {
  margin-top: 2rem;
  background: #d9d9d9;
  padding: 1rem;
}

.single-listing figcaption {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.page__content {
  margin-left: 10rem;
  margin-right: 10rem;
}
/* VISITOR INFO */
.footer-banner {
  background: #4a4a4a;
}
.visitor-info {
  background: #4a4a4a;
  margin-left: 10rem;
  margin-right: 10rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.visitor-info h2 {
  margin-top: 0;
  color: white;
}
.visitor-info p {
  margin-top: 0;
  color: white;
}
/* FOOTER */
.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  margin-left: 10rem;
  margin-right: 10rem;
}

.footer-column h3 {
  margin-top: 0;
}
.footer-bottom {
  background-color: #000;
  color: white;
  align-items: center;
  text-align: center;
  padding: 1.8rem;
  margin: 0;
}
.footer-bottom p {
  color: white;
}
/* RESPONSIVE */
@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .site-header__top {
    flex-direction: column;
    gap: 1rem;
  }
  .single-description {
    display: flex;
    flex-direction: column;
  }
}
.placeholder-img {
  width: 100%;
  height: 180px;
  background: #d9d9d9;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.placeholder-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}
.breadcrumbs {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    text-decoration: none;
    color: #333;
}

.breadcrumbs .current {
    font-weight: bold;
}