/* style.css — rentalcarsnodeposit.com | Global No Deposit Theme */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:   #0A5C8A;   /* Deep ocean blue - global travel */
  --accent:    #E8521A;   /* Vibrant orange - action/no deposit */
  --secondary: #1A8A5C;   /* Green - savings/no deposit */
  --dark:      #0D1B2A;
  --light:     #EBF5FB;
  --text:      #1A2A3A;
  --muted:     #5A7080;
  --white:     #FFFFFF;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.13);
  --max-w:     1200px;
  --tr:        0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
h1,h2,h3,h4,h5 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.25; letter-spacing: -0.02em; font-weight: 700; color: var(--dark); }
a { color: var(--primary); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header { background: var(--dark); position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: var(--white); white-space: nowrap; flex-shrink: 0; }
.logo span { color: var(--accent); }
.logo:hover { color: var(--white); }
.site-nav ul { display: flex; gap: 2px; list-style: none; align-items: center; }
.site-nav a { color: rgba(255,255,255,0.82); font-size: 13px; font-weight: 500; padding: 6px 9px; border-radius: 4px; white-space: nowrap; transition: all var(--tr); }
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-cta { background: var(--accent) !important; color: var(--white) !important; font-weight: 700 !important; padding: 8px 16px !important; margin-left: 4px; border-radius: 4px; }
.nav-cta:hover { background: #c43e0e !important; }
.mobile-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 6px; }
.mobile-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; }

/* HERO */
.hero { position: relative; background-size: cover; background-position: center; min-height: 460px; display: flex; align-items: center; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(13,27,42,0.62); }
.hero-content { position: relative; z-index: 1; color: var(--white); padding: 70px 0; max-width: 720px; }
.hero-content h1 { font-size: clamp(26px, 4vw, 50px); color: var(--white) !important; margin-bottom: 16px; }
.hero-content h2, .hero-content h3 { color: var(--white) !important; }
.hero-content p { color: rgba(255,255,255,0.9); }
.hero-content .hero-sub { font-size: 18px; color: var(--white); margin-bottom: 26px; }

.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.badge { background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: var(--white); padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600; }
.badge-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.badge-green { background: var(--secondary); color: var(--white); border-color: var(--secondary); }

/* WIDGET */
.booking-widget { background: var(--light); padding: 28px 0; border-bottom: 3px solid var(--accent); }

/* SECTIONS */
.section { padding: 64px 0; }
.section-alt { background: var(--light); }
.section-header { margin-bottom: 40px; }
.section-header.center { text-align: center; }
.section-title { font-size: clamp(22px, 3vw, 34px); margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 17px; }

/* BUTTONS */
.btn { display: inline-block; padding: 12px 28px; border-radius: 4px; font-weight: 700; font-size: 15px; cursor: pointer; border: 2px solid transparent; transition: all var(--tr); text-align: center; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: #c43e0e; transform: translateY(-1px); color: var(--white); }
.btn-blue { background: var(--primary); color: var(--white); }
.btn-blue:hover { background: #07406a; color: var(--white); }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 24px; }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform var(--tr), box-shadow var(--tr); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img { width: 100%; height: 160px; object-fit: cover; background: #b8d4e8; }
.card-body { padding: 18px 20px; }
.card-body h3 { font-size: 17px; margin-bottom: 8px; }
.card-body p { font-size: 14px; color: var(--muted); margin-bottom: 12px; line-height: 1.6; }

/* NO DEPOSIT BOX */
.no-deposit-box { background: linear-gradient(135deg, var(--secondary) 0%, #0f5c38 100%); color: var(--white); border-radius: var(--radius); padding: 38px 42px; margin: 36px 0; }
.no-deposit-box h2 { color: var(--white); margin-bottom: 12px; }
.no-deposit-box p { color: rgba(255,255,255,0.88); font-size: 16px; margin-bottom: 10px; }
.no-deposit-box .accent-text { color: #ffd700; font-weight: 700; }

/* BREADCRUMBS */
.breadcrumbs { background: #e4f0f8; padding: 10px 0; font-size: 13px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; }
.breadcrumbs li + li::before { content: ">"; color: var(--muted); margin-right: 6px; }
.breadcrumbs a { color: var(--primary); }
.breadcrumbs li:last-child span { color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; }
.faq-item { border-bottom: 1px solid #d4e8f4; }
.faq-question { font-family: 'Open Sans', sans-serif; font-weight: 600; color: var(--dark); font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; border: none; background: none; width: 100%; text-align: left; }
.faq-question::after { content: "+"; font-size: 24px; color: var(--primary); flex-shrink: 0; }
.faq-item.open .faq-question::after { content: "-"; }
.faq-answer { display: none; padding: 0 0 20px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.faq-item.open .faq-answer { display: block; }

/* TABLES */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th { background: var(--primary); color: var(--white); padding: 12px 16px; text-align: left; font-weight: 600; }
.info-table td { padding: 11px 16px; border-bottom: 1px solid #d4e8f4; }
.info-table tr:nth-child(even) td { background: #f0f8ff; }

/* REVIEWS */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; border-top: 3px solid var(--accent); }
.review-stars { color: var(--accent); font-size: 18px; margin-bottom: 10px; }
.review-text { font-size: 15px; color: var(--muted); margin-bottom: 14px; font-style: italic; line-height: 1.7; }
.review-author { font-weight: 700; font-size: 14px; color: var(--dark); }

/* STEPS */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.step-number { width: 50px; height: 50px; background: var(--primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 14px; }

/* TAG LINKS */
.tag-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.tag-links a { background: var(--light); color: var(--primary); padding: 7px 15px; border-radius: 20px; font-size: 14px; font-weight: 500; border: 1px solid #b8d4e8; transition: all var(--tr); }
.tag-links a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* INFO BOX */
.info-box { background: #e4f0f8; border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 20px 0; font-size: 15px; }
.info-box.success { background: #e4f8ed; border-color: var(--secondary); }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.72); padding: 60px 0 0; margin-top: 80px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-logo span { color: var(--accent); }
.footer-about { font-size: 13px; line-height: 1.75; color: rgba(255,255,255,0.55); }
.footer-col h4 { font-family: 'Open Sans', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.65); font-size: 14px; transition: color var(--tr); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { padding: 22px 0; text-align: center; }
.footer-copy { font-weight: 600; color: rgba(255,255,255,0.8); margin-bottom: 10px; }
.footer-disclaimer { font-size: 12px; color: rgba(255,255,255,0.4); max-width: 700px; margin: 0 auto 14px; line-height: 1.65; }
.footer-disclaimer a { color: rgba(255,255,255,0.55); }
.footer-legal { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,0.45); font-size: 12px; }
.footer-legal a:hover { color: var(--white); }

@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--wide { grid-column: 1 / -1; } .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .site-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--dark); padding: 16px 20px; z-index: 999; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav a { display: block; padding: 11px 14px; }
  .mobile-toggle { display: flex; }
  .hero { min-height: 340px; }
  .steps-grid, .cards-grid-3 { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .no-deposit-box { padding: 24px 20px; }
  .section { padding: 44px 0; }
}
@media (max-width: 480px) { .cards-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }

/* FIX */
.hero .container {
    z-index: 10;
}

.hero h1 {
    color: var(--white);
}

.hero p {
    color: var(--light);
}

.cities-section .cities-grid, 
.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 28px;
    margin-top: 40px;
}

.cities-section .city-card, 
.location-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .06);
    transition: transform .3s;
}

.cities-section .city-card__content {
    display: flex;
    flex-direction: column;
}

.cities-section .cities-grid .city-card h3,
.location-card h3 {
    padding: 0 24px;
    padding-top: 24px;
    margin-bottom: 12px;
}

.cities-section .cities-grid .city-card p, 
.location-card p {
    padding: 0 24px;
}

.cities-section .cities-grid .city-card a, 
.location-card a {
    padding: 0 24px;
    padding-bottom: 12px;
}

/* ── GEO/COUNTRY PAGE LAYOUT (fix: was unstyled) ── */
.content-section { padding: 46px 0; }
.content-section.bg-light { background: var(--light); }
.content-section h2 { font-size: 26px; margin: 34px 0 12px; }
.content-section h2:first-child { margin-top: 0; }
.content-section h3 { font-size: 19px; margin: 22px 0 8px; color: var(--primary); }
.content-section p { margin-bottom: 14px; }
.content-section ul, .content-section ol { margin: 0 0 16px 22px; }
.content-section li { margin-bottom: 6px; }

/* H2 intro right under widget */
.intro-h2 { padding: 30px 0 2px; }
.intro-h2 h2 { font-size: 24px; margin: 0; }

/* destinations grid */
.destinations-grid { padding: 46px 0; background: var(--light); }
.destinations-grid h2 { font-size: 26px; margin-bottom: 22px; text-align: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.destination-card { display: block; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--tr), box-shadow var(--tr); }
.destination-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.destination-image { height: 150px; background-size: cover; background-position: center; background-color: #cfe2ef; }
.destination-content { padding: 14px 16px; }
.destination-content h3 { font-size: 17px; margin-bottom: 4px; color: var(--dark); }
.destination-content p { font-size: 13px; color: var(--muted); margin: 0; }

/* category links */
.category-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.category-link { display: block; padding: 18px; background: var(--white); border: 1px solid var(--light); border-radius: var(--radius); transition: all var(--tr); }
.category-link:hover { border-color: var(--accent); box-shadow: var(--shadow); }
.category-link h3 { font-size: 17px; margin-bottom: 6px; }
.category-link p { font-size: 13px; color: var(--muted); margin: 0; }

/* faq + usp sections */
.faq-section { padding: 46px 0; }
.faq-section h2 { font-size: 26px; margin-bottom: 20px; }
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 20px; }
.usp-item { background: var(--white); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 900px) { .grid-4, .category-links, .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4, .category-links, .usp-grid { grid-template-columns: 1fr; } .content-section { padding: 32px 0; } }

/* ── MIXED-TEMPLATE DEFENSIVE LAYER (covers multiple page generations) ── */
/* 1) kill full-screen content images */
.cities-grid img, .city-card img, .location-card img, .vehicle-card img, .feature-card img,
.content-card img, .info-card img, .dest-image img, [class*="-card"] img:not([class*="icon"]) {
  width: 100%; height: 170px; object-fit: cover; display: block;
}
.dest-image { height: 170px; background-size: cover; background-position: center; background-color: #cfe2ef; }

/* 2) hero variants: overlay + readable white text */
.hero-overlay, .hero__overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.55); z-index: 0; }
.hero--city, .hero--country, .hero--airport, .hero--category, .hero--page, .hero--luxury, .hero--small, .hero-section {
  position: relative; background-size: cover; background-position: center; min-height: 320px; display: flex; align-items: center; color: #fff;
}
.hero--city .container, .hero--country .container, .hero--airport .container, .hero--category .container,
.hero--page .container, .hero--luxury .container, .hero-section .container { position: relative; z-index: 1; }
.hero--city h1, .hero--country h1, .hero--airport h1, .hero--category h1, .hero--page h1, .hero--luxury h1, .hero-section h1,
.hero__title, .hero-subtitle, .hero__subtitle, .hero-lead { color: #fff !important; }
.hero-subtitle, .hero__subtitle, .hero-lead { font-size: 18px; opacity: 0.92; margin-top: 10px; max-width: 720px; }

/* 3) generic grids -> responsive columns */
.cities-grid, .info-grid, .faq-grid, .usps-grid, .usps, .content-grid, .airport-info-grid, .info-card-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 18px 0;
}

/* 4) generic card chrome */
.city-card, .info-card, .usp-box, .usp-card, .feature-card, .vehicle-card, .vehicle-type-card, .tip-card,
.step-card, .location-card, .content-card, .sidebar-card, .category-card, .dest-card, .fact-item {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.city-card-content, .location-card-content, .card-content, .box-content, .dest-body { padding: 14px 16px; }
.city-card-content h3, .dest-body h3 { font-size: 17px; margin-bottom: 4px; }

/* 5) content blocks / spacing */
.content-block, .content-wrapper, .content-article, .content-main, .main-content, .content-text { margin-bottom: 20px; }
.content-block h2, .content-article h2 { margin: 28px 0 12px; }
.content-block h3, .content-article h3 { margin: 20px 0 8px; }
.content-block p, .content-article p { margin-bottom: 14px; }

/* 6) cta + button variants */
.cta-section, .cta-box { background: var(--light); padding: 42px 24px; text-align: center; border-radius: var(--radius); margin: 30px 0; }
.btn--primary, .btn-cta, .cta-button, .btn-large, .btn--large, .btn-lg, .dest-btn, .btn-secondary {
  display: inline-block; background: var(--accent); color: #fff !important; padding: 12px 28px; border-radius: 4px; font-weight: 700; }

@media (max-width: 560px) {
  .cities-grid, .info-grid, .faq-grid, .usps-grid, .content-grid, .airport-info-grid { grid-template-columns: 1fr; }
}
