/* style.css — speed-rentacar.gr | Greek Islands Theme */

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

:root {
  --primary:   #1A6B8A;   /* Aegean blue */
  --accent:    #E8A838;   /* Mediterranean gold */
  --dark:      #1C2B3A;
  --light:     #EFF7FB;
  --cream:     #FAFAF7;
  --text:      #2C3E50;
  --muted:     #6B7C8D;
  --white:     #FFFFFF;
  --radius:    8px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --max-w:     1200px;
  --tr:        0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--white); }
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.3; 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.25); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: 'Playfair Display', serif; font-size: 19px; 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(--dark) !important; font-weight: 700 !important; padding: 8px 16px !important; margin-left: 4px; }
.nav-cta:hover { background: #d4952e !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(28,43,58,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); margin-bottom: 16px; }
.hero-content .hero-sub { font-size: 18px; color: rgba(255,255,255,0.9); margin-bottom: 26px; font-family: 'Open Sans', sans-serif; }
.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(--dark); border-color: var(--accent); }

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

/* ── SECTIONS ── */
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }
.section-alt { background: var(--light); }
.section-dark { background: var(--dark); color: var(--white); }
.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(--dark); border-color: var(--accent); }
.btn-primary:hover { background: #d4952e; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,168,56,0.35); color: var(--dark); }
.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-blue { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-blue:hover { background: #155a74; 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: #c5dce8; }
.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; }
.card-link { font-size: 14px; font-weight: 600; color: var(--primary); }

/* ── USP ── */
.usp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp-item { text-align: center; padding: 28px 18px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.usp-icon { font-size: 40px; margin-bottom: 12px; display: block; }
.usp-item h3 { font-size: 16px; margin-bottom: 8px; }
.usp-item p { font-size: 14px; color: var(--muted); }

/* ── NO DEPOSIT BOX ── */
.no-deposit-box { background: linear-gradient(135deg, var(--primary) 0%, #0f4d66 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: var(--accent); font-weight: 700; }

/* ── BREADCRUMBS ── */
.breadcrumbs { background: #e8f3f8; 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 #dce8ef; }
.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; font-family: 'Open Sans', sans-serif; }
.info-table td { padding: 11px 16px; border-bottom: 1px solid #dce8ef; }
.info-table tr:nth-child(even) td { background: #f2f9fc; }

/* ── 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; letter-spacing: 2px; }
.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); }
.review-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* ── 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; }
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--muted); }

/* ── 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 #c5dde8; transition: all var(--tr); }
.tag-links a:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ── INFO BOX ── */
.info-box { background: #e8f4fb; 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.warning { background: #fff8e6; border-color: var(--accent); }

/* ── 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: 20px; 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); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-col--wide { grid-column: 1 / -1; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
  .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; box-shadow: 0 4px 16px rgba(0,0,0,0.25); 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; }
  .hero-content { padding: 48px 0; }
  .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; }
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
