/* ===================================
ParadiseCoupons.com - Clean Styles
=================================== */

/* -----------------------------------
1. Root Variables
----------------------------------- */
:root {
--primary: #165a37;
--primary-dark: #0d3d25;
--accent: #f4c542;
--background: #fdfcf8;
--white: #fff;
--gray: #ccc;
--black: #222;
--link: #2a628f;
--soft-gray: #f5f5f5;
}

/* -----------------------------------
2. Reset & Base
----------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
font-family: 'Segoe UI', Tahoma, sans-serif;
background: var(--background);
color: var(--black);
font-size: 16px;
line-height: 1.6;
}

a {
color: var(--link);
text-decoration: none;
}
a:hover { color: var(--primary); text-decoration: underline; }

h1, h2, h3 { color: var(--primary); margin-bottom: 15px; line-height: 1.3; text-align: center; }
h1 { font-size: 2.2em; }
h2 { font-size: 1.6em; }
p { margin: 0 0 1em; text-align: center; }

/* -----------------------------------
3. Layout Containers
----------------------------------- */
.container,
.page-content {
max-width: 1000px;
margin: 20px auto;
background: var(--white);
padding: 24px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* -----------------------------------
4. Header & Nav
----------------------------------- */

.site-header {
background: linear-gradient(180deg, #ffffff 0%, #fafafa 60%, #f3f3f3 100%);
border-bottom: 1px solid #eee;
border-radius: 14px;
padding: 18px;
text-align: center;
margin: 18px auto;
max-width: 1000px;
box-shadow:
0 3px 10px rgba(0,0,0,0.08),
0 6px 18px rgba(0,0,0,0.06);
}

.header-logo { max-width: 180px; height: auto; margin-bottom: 8px; }

.main-nav {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
}
.main-nav a { color: var(--primary); font-weight: 500; }
.main-nav a:hover,
.main-nav a.active { color: var(--accent); }

/* -----------------------------------
5. Tiles (Homepage)
----------------------------------- */
.business-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 20px;
margin: 20px 0;
}

.business-card {
border: 1px solid #ddd;
border-radius: 8px;
padding: 16px;
display: flex;
justify-content: center;
align-items: center;
background: var(--white);
transition: all 0.2s ease;
}
.business-card:hover {
transform: scale(1.03);
border-color: var(--accent);
box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}
.business-logo {
max-width: 100%;
max-height: 100px;
object-fit: contain;
}

/* -----------------------------------
6. Forms
----------------------------------- */
.contact-form {
max-width: 900px;
margin: 30px auto;
background: var(--white);
border: 1px solid var(--card-border, #e5e5e5);
border-radius: 12px;
padding: 24px;
box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.contact-form .form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 18px 24px;
margin-bottom: 18px;
}

.contact-form .field {
display: flex;
flex-direction: column;
}

.contact-form label {
font-weight: 600;
margin-bottom: 8px;
color: var(--text, #222);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
appearance: none;
width: 100%;
border: 1px solid var(--gray, #ccc);
border-radius: 10px;
padding: 12px 14px;
font-size: 1rem;
background: var(--white);
outline: none;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
border-color: var(--primary, #165a37);
box-shadow: 0 0 0 3px rgba(22,90,55,0.12);
}

.contact-form textarea {
min-height: 140px;
resize: vertical;
}

.contact-form .actions {
margin-top: 8px;
}

.contact-form input[type="submit"],
.contact-form button[type="submit"] {
display: inline-block;
border: none;
border-radius: 999px;
padding: 12px 20px;
font-weight: 700;
cursor: pointer;
background: var(--primary, #165a37);
color: #fff;
}

.contact-form input[type="submit"]:hover,
.contact-form button[type="submit"]:hover {
filter: brightness(1.05);
}

.visually-hidden {
position: absolute !important;
width: 1px; height: 1px;
padding: 0; margin: -1px;
overflow: hidden; clip: rect(0 0 0 0);
white-space: nowrap; border: 0;
}

/* -----------------------------------
6.5. Client Pages
----------------------------------- */

/* Business Header */
.business-header {
display: flex;
align-items: center;
gap: 15px; /* Reduced gap between the logo and text */
margin-bottom: 30px;
}

/* Elegant Hero Banner */
.business-banner {
position: relative;
margin: 0 0 28px;
padding: 6px; /* light outer frame */
background: linear-gradient(180deg, #fff, #f8f8f8);
border-radius: 14px;
overflow: hidden;
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.hero-banner {
width: 100%;
height: clamp(180px, 22vw, 230px); /* cinematic scaling */
object-fit: cover; /* prevents stretch, crops instead */
object-position: 50% 45%; /* tweak to focus key area */
display: block;
border-radius: 10px;
transition: transform 0.4s ease, filter 0.4s ease;
}

/* Vignette for subtle depth */
.business-banner::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
box-shadow: inset 0 0 140px rgba(0, 0, 0, 0.15);
border-radius: inherit;
}

/* Gentle hover polish */
.hero-banner:hover {
transform: scale(1.02);
filter: contrast(1.03) saturate(1.05);
}

.business-logo-wrap {
text-align: center;
}

.client-logo {
max-width: 160px;
height: auto;
border-radius: 8px;
}

.business-details {
flex: 1;
}

.business-details h1 {
margin-bottom: 10px;
font-size: 1.8em;
color: var(--primary);
}

.business-details p {
margin: 4px 0;
font-size: 1.1em;
}

/* Coupon Box */
.coupon {
margin: 40px 0;
text-align: center;
}

.coupon-box {
border: 2px dashed var(--primary);
border-radius: 10px;
padding: 20px;
background: var(--soft-gray);
max-width: 500px;
margin: 0 auto;
}

.coupon-box .offer {
font-size: 1.6em;
font-weight: bold;
color: var(--primary-dark);
margin-bottom: 10px;
}

.coupon-box .restrictions,
.coupon-box .expires {
font-size: 0.95em;
color: #555;
margin: 5px 0;
}

/* Print Button */
.print-btn {
display: inline-block;
margin-top: 15px;
padding: 10px 18px;
border-radius: 999px;
background: var(--accent);
color: #000;
font-weight: bold;
text-decoration: none;
transition: background 0.3s ease;
}

.print-btn:hover {
background: #f6d25f;
text-decoration: underline;
}

/* Share Bar */
.share-bar {
margin-top: 20px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 10px 12px;
justify-content: center;
}

.share-label {
font-size: 0.95em;
font-weight: 600;
color: var(--primary);
}

/* Share buttons reuse .print-btn, this just tweaks spacing/size */
.share-btn {
margin-top: 0;
font-size: 0.9em;
white-space: nowrap;
}

/* About Section */
.about {
margin-top: 50px;
}

.about h2 {
margin-bottom: 15px;
color: var(--primary);
}

.about p {
margin-bottom: 12px;
font-size: 1.05em;
line-height: 1.6;
}

.about ul, .fancy-list {
list-style: none;
margin: 25px auto;
padding: 0;
max-width: 520px;
text-align: left;
background: var(--white);
border-radius: 10px;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.about li, .fancy-list li {
position: relative;
padding: 10px 34px;
line-height: 1.6;
border-bottom: 1px solid #eee;
}

.about li:nth-child(odd), .fancy-list li:nth-child(odd) {
background: #f8f8f8;
}

.about li:nth-child(even), .fancy-list li:nth-child(even) {
background: #fdfdfd;
}

.about li:last-child, .fancy-list li:last-child {
border-bottom: none;
}

.about li::before, .fancy-list li::before {
content: "✓";
color: var(--primary);
font-weight: bold;
position: absolute;
left: 10px;
top: 10px;
}

/* Gallery Images */
.gallery {
text-align: center;
}

.gallery img {
display: inline-block;
width: 80%;
max-width: 600px;
height: auto;
border-radius: 10px;
margin: 15px auto;
box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Photo Gallery (Client Pages) */
.photo-gallery {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 18px;
margin: 30px auto;
max-width: 900px;
}

.photo-gallery img {
width: 100%;
height: 220px;
object-fit: cover;
border-radius: 10px;
box-shadow: 0 4px 10px rgba(0,0,0,0.06);
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.photo-gallery img:hover {
transform: scale(1.05);
box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Blockquote Styling (for Testimonials) */
blockquote {
font-style: italic;
background: #f9f9f9;
border-left: 4px solid var(--primary);
margin: 20px auto;
padding: 15px 20px;
max-width: 800px;
color: #333;
border-radius: 6px;
line-height: 1.5;
}

blockquote::before {
content: "“";
font-size: 2em;
color: var(--accent);
vertical-align: -0.4em;
margin-right: 4px;
}

blockquote::after {
content: "”";
font-size: 2em;
color: var(--accent);
vertical-align: -0.4em;
margin-left: 2px;
}

/* -----------------------------------
7. Footer
----------------------------------- */
footer {
font-size: 0.9em;
margin-top: 40px;
text-align: center;
color: #777;
padding: 20px;
border-top: 2px solid #bbb;
background: var(--soft-gray);
}

/* -----------------------------------
8. Responsive
----------------------------------- */
@media screen and (max-width: 768px) {
body {
font-size: 18px;
padding: 10px;
}
.container,
.page-content {
padding: 20px 15px;
}
.header-logo {
max-width: 140px;
margin-bottom: 10px;
}
.hero-img {
max-height: 250px;
}
.logo-title {
flex-direction: column;
align-items: center;
text-align: center;
}
.tagline {
text-align: center;
font-size: 1.1em;
padding: 0 10px;
}
.main-nav {
position: fixed;
top: 0;
left: 0;
width: 100%;
max-height: 95vh;
display: none;
flex-direction: column;
justify-content: flex-start;
background: rgba(255,255,255,0.97);
z-index: 100;
padding: 40px 0 20px;
margin: 0;
transition: opacity 0.3s ease;
opacity: 0;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.nav-toggle:checked ~ .site-header .main-nav {
  display: flex;
  opacity: 1;
}

.nav-toggle:checked ~ .site-header .logo-title {
  visibility: hidden;
}
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle-label {
position: fixed;
top: 15px;
right: 20px;
z-index: 110;
display: block;
cursor: pointer;
width: 40px;
height: 30px;
}
.hamburger,
.hamburger::before,
.hamburger::after {
content: "";
display: block;
background-color: var(--primary);
height: 4px;
width: 100%;
border-radius: 2px;
position: absolute;
left: 0;
transition: 0.3s ease;
}
.hamburger {
top: 50%;
transform: translateY(-50%);
}
.hamburger::before {
top: -12px;
}
.hamburger::after {
top: 12px;
}
.nav-toggle:checked + .nav-toggle-label .hamburger {
opacity: 0;
}
.nav-toggle:checked + .nav-toggle-label::after {
content: "✕";
font-size: 2em;
color: var(--primary-dark);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
.main-nav a {
font-size: 1.2em;
padding: 10px 20px;
text-align: center;
border-bottom: 1px solid #eee;
width: 100%;
color: var(--primary-dark);
}
.main-nav a:last-child {
border-bottom: none;
}
.main-nav a:hover {
color: var(--accent);
}
.main-nav .separator {
display: none;
}
footer {
font-size: 1em;
}
.business-header {
flex-direction: column; /* Stack logo and text on smaller screens */
align-items: center;
gap: 10px; /* Reduce space between logo and text */
}

.business-logo-wrap {
text-align: center;
}

.business-details {
text-align: center;
}

.business-details h1 {
font-size: 1.6em;
}

.business-details p {
font-size: 1em;
}
.share-bar {
flex-direction: column;
align-items: center;
}
}
/* Responsive: stack fields on small screens */
@media (max-width: 720px) {
.contact-form .form-row {
grid-template-columns: 1fr;
}
}
@media (max-width: 1199px) {
.business-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 899px) {
.business-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
.business-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
.business-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 320px) {
.business-grid { grid-template-columns: 1fr; }
}