/*
Theme Name: Quinyland
Description: Standalone version of the Quinyland theme.
Author: Denis Quinlan
Version: 1.0
*/

/* === Base Styling === */
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  background-color: #fff8f0;
  color: #333;
}

a {
  text-decoration: none;
  color: #8b00b9;
}

/* === Hide Site Title (if printed from bloginfo) === */
.site-title,
.site-branding,
.custom-logo-link {
  display: none !important;
}

/* === Site Layout Wrappers === */
#page {
  position: relative;
}

.site-content {
  padding-top: 0;
}

/* === Quincy Penguin Logo === */
.quincy-logo-wrapper {
  position: relative;
  display: inline-block;
  z-index: 1001;
  vertical-align: bottom;
  margin-right: 20px;
}

.quincy-logo {
  height: 80px;
  position: relative;
  top: 5px;            /* increased from -10px to +5px to move down */
  margin-bottom: -5px; /* less overhang from flippers */
}

/* === Navigation Menu Styling === */
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #d10072;
  padding: 5px 0; /* reduced from 15px */
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-block;
}

.main-menu li {
  display: inline-block;
  margin: 0 20px;
}

.main-menu li a {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.3s;
}

.main-menu li a:hover {
  color: #ffe1ea;
}

/* === Hamburger Menu Button === */
.menu-toggle {
  display: none;
  background: #d10072;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 1.2rem;
  cursor: pointer;
}

/* === Hero Background === */
.quinyland-hero-bg {
  background-image: url('https://quinyland.com/wp-content/themes/quinyland-child/images/quinyland-poster.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top center;
  width: 100%;
  aspect-ratio: 9 / 12;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

/* === Hero Content === */
.quinyland-hero-content {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.quinyland-hero-content h1 {
  color: #d10072;
  font-size: 2rem;
  margin-bottom: 10px;
}

.quinyland-hero-content .tagline {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* === Button Styling === */
.btn-primary {
  background-color: #d10072;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #a9005a;
}

/* === Wrapper for Desktop Centering === */
.page-wrapper {
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px;
}

/* === Section Styling === */
section {
  padding: 40px 0;
  text-align: center;
}

section h2 {
  font-size: 1.8rem;
  color: #444;
  margin-bottom: 10px;
}

/* === Footer / Signup Section === */
footer,
.subscribe-section {
  background-color: #ffe1ea;
  padding: 30px 20px;
  text-align: center;
}

.subscribe-section input[type="email"] {
  padding: 10px;
  width: 250px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-right: 10px;
}

.subscribe-section input[type="submit"],
.subscribe-section button {
  padding: 10px 15px;
  border: none;
  background-color: #d10072;
  color: white;
  border-radius: 5px;
  cursor: pointer;
}

.subscribe-section input[type="submit"]:hover,
.subscribe-section button:hover {
  background-color: #a9005a;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    background-color: #d10072;
  }

  .menu-open .main-menu {
    display: flex;
  }

  .main-menu li {
    display: block;
    margin: 10px 0;
  }

  .quincy-logo {
    height: 60px;
    top: 0;
    margin-bottom: 0;
  }

  .quinyland-hero-content h1 {
    font-size: 1.5rem;
  }

  .quinyland-hero-content .tagline {
    font-size: 1rem;
  }

  .subscribe-section input[type="email"] {
    width: 100%;
    margin-bottom: 10px;
  }

  .subscribe-section input[type="submit"] {
    width: 100%;
  }
}


/* === Media Page Gallery Styling === */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.media-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.media-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.media-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #8b00b9;
}

/* === Media Page Gallery Styling === */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.media-card {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}

.media-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.media-card h3 {
  margin-top: 10px;
  font-size: 1.1rem;
  color: #8b00b9;
}

.full-image-display img {
  width: 100%;
  max-width: 800px;
  margin: 20px auto;
  display: block;
}

/* Ensure parent menu items are positioned correctly */
.main-menu li {
  position: relative;
}

/* Submenu hidden by default and positioned relative to parent */
.main-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;  /* <- This anchors it below the parent */
  background-color: #d10072;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  z-index: 1000;
  border-radius: 0 0 5px 5px;
}

/* Show submenu on hover */
.main-menu li:hover > ul {
  display: block;
}

/* Submenu links styling */
.main-menu li ul li a {
  color: white;
  padding: 10px 20px;
  display: block;
  text-align: left;
  text-decoration: none;
}

.main-menu li ul li a:hover {
  background-color: #a9005a;
}

.eats-hero {
  background-color: #fdf0ff;
  padding: 40px 20px;
  border-bottom: 2px solid #d10072;
  text-align: center;
}

.restaurant-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}

.eatery-card {
  width: 300px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  text-align: left;
}

.eatery-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.eatery-card h2 {
  margin: 15px 20px 10px;
  color: #d10072;
}

.eatery-card p {
  margin: 0 20px 20px;
  color: #333;
  font-size: 0.95rem;
}

.ql-iframe {
  width: 100%;
  border: none;
  /* Keep a reasonable max height for desktop; mobile can scroll */
  min-height: 1200px;
}

/* Optional: a “page” look around the iframe */
.ql-resume {
  background: #f7f7f7;
  padding: 1rem;
  border-radius: 12px;
}
.ql-resume iframe {
  background: white;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  border-radius: 8px;
}

/* Print: hide the frame chrome, rely on your PDF download for printing */
@media print {
  .ql-cta { display: none; }
}

