/* Casa Tomarén - Clean Static Rebuild v2 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Raleway:wght@400;600&display=swap');

:root {
  --primary: #1a1a2e;
  --secondary: #16213e;
  --accent: #febb02;
  --accent2: #c8a96e;
  --text: #333;
  --text-light: #fff;
  --bg: #fff;
  --border: #e0e0e0;
}

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

body {
  font-family: 'Raleway', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }
p { margin-bottom: 1em; }
ul, ol { margin: 0.75em 0 1em 1.5em; }
h1,h2,h3,h4,h5 { font-family: 'Montserrat', sans-serif; font-weight: 700; line-height: 1.3; }

/* === HEADER === */
.site-header {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}
.site-logo img {
  height: 55px;
  width: auto;
}
.site-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  font-style: italic;
}
.site-nav { list-style: none; display: flex; gap: 28px; align-items: center; margin: 0; padding: 0; }
.site-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}
.site-nav a:hover { color: var(--accent); }
.site-nav .tel-link { color: var(--accent2); }
.site-nav .nav-extra {
  background: var(--accent);
  color: #000;
  padding: 8px 16px;
  border-radius: 3px;
}
.site-nav .nav-extra:hover { opacity: 0.9; }

/* === HERO SLIDER === */
.hero-section {
  position: relative;
  height: 560px;
  overflow: hidden;
}
.hero-section img.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 52px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
  text-align: center;
  letter-spacing: 3px;
}

/* === CHECK AVAILABILITY BAR === */
.avail-bar {
  background: rgba(0,0,0,0.85);
  padding: 18px 20px;
}
.avail-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.avail-bar h4 {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.btn-check-avail {
  background: var(--accent);
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}
.btn-check-avail:hover { background: #e5aa00; color: #000; }

/* === CONTENT SECTIONS === */
.ct-section { padding: 80px 20px; }
.ct-section.dark-bg { background: var(--secondary); color: #fff; }
.ct-section.dark-bg h3, .ct-section.dark-bg p { color: #fff; }
.ct-section.grey-bg { background: #f8f8f8; }
.ct-wrap { max-width: 1200px; margin: 0 auto; }

/* Two-col layout */
.two-col { display: flex; gap: 50px; align-items: flex-start; }
.two-col .col { flex: 1; }
.two-col .col-text { flex: 1; }
.two-col .col-img { flex: 1; }

/* Volcanoes section */
.volc-section { padding: 80px 20px; }
.volc-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 50px; align-items: flex-start; }
.volc-text { flex: 1; }
.volc-text h3 { font-size: 28px; margin-bottom: 20px; color: var(--primary); }
.volc-text p { color: #555; }
.volc-img { flex: 1; }
.volc-img img { width: 100%; border-radius: 4px; }

/* Gallery section */
.gallery-section { padding: 60px 20px; background: #f5f5f5; }
.gallery-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.gallery-text { flex: 1; }
.gallery-text h3 { font-size: 28px; margin-bottom: 16px; color: var(--primary); }
.gallery-text p { color: #555; }
.gallery-grid { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 3px; transition: opacity 0.2s; }
.gallery-grid img:hover { opacity: 0.9; }

/* Beautiful Tranquility */
.tranq-section { padding: 80px 20px; }
.tranq-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.tranq-gallery { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tranq-gallery img { width: 100%; height: 160px; object-fit: cover; border-radius: 3px; }
.tranq-text { flex: 1; }
.tranq-text h3 { font-size: 28px; margin-bottom: 16px; color: var(--primary); }
.tranq-text p { color: #555; }

/* Facilities section */
.facilities-section { padding: 80px 20px; background: #f8f8f8; }
.facilities-inner { max-width: 1200px; margin: 0 auto; }
.facilities-inner h2 { text-align: center; font-size: 32px; margin-bottom: 50px; color: var(--primary); }
.facilities-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 50px; text-align: center; }
.fac-icon img { width: 80px; margin: 0 auto 16px; }
.fac-icon h5 { font-size: 15px; color: var(--primary); margin-bottom: 8px; }
.fac-icon p { font-size: 14px; color: #555; margin: 0; }
.facilities-lists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fac-list-box { border: 1px solid var(--border); padding: 24px; background: #fff; }
.fac-list-box strong { display: block; margin-bottom: 12px; color: var(--primary); font-size: 15px; }
.fac-list-box p { font-size: 14px; line-height: 1.9; color: #444; margin: 0; }

/* Pool image banner */
.pool-banner { height: 340px; overflow: hidden; position: relative; }
.pool-banner img { width: 100%; height: 100%; object-fit: cover; }
.pool-banner-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 20px;
}
.pool-banner-overlay h4 { color: #fff; font-size: 28px; margin-bottom: 24px; }

/* Casa Tomaren block */
.casa-block { padding: 80px 20px; }
.casa-inner { max-width: 1200px; margin: 0 auto; display: flex; gap: 40px; align-items: flex-start; }
.casa-text { flex: 1; }
.casa-text h3 { font-size: 28px; margin-bottom: 16px; color: var(--primary); }
.casa-text p { color: #555; }
.casa-gallery { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.casa-gallery img { width: 100%; height: 155px; object-fit: cover; border-radius: 3px; }

/* Footer */
.site-footer { background: #1a1a1a; color: #ccc; padding: 30px 20px; text-align: center; font-size: 14px; }
.site-footer a { color: #aaa; }
.site-footer a:hover { color: #fff; }

/* Legal bar */
.legal-bar { background: #f0f0f0; padding: 12px 20px; text-align: center; font-size: 13px; color: #555; }
.legal-bar a { color: #555; }
.legal-bar a:hover { color: var(--primary); }

/* Accommodation page */
.page-hero {
  height: 320px;
  position: relative;
  overflow: hidden;
}
.page-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex; align-items: center; justify-content: center;
}
.page-hero-overlay h1 {
  color: #fff;
  font-size: 44px;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}
.page-content { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.page-content h2 { font-size: 28px; margin-bottom: 20px; color: var(--primary); }
.page-content p { color: #555; margin-bottom: 1em; }
.accomm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.accomm-card { background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.accomm-card img { width: 100%; height: 200px; object-fit: cover; }
.accomm-card-body { padding: 20px; }
.accomm-card-body h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.accomm-card-body p { font-size: 14px; color: #666; margin: 0; }

/* Contact page */
.contact-section { max-width: 900px; margin: 0 auto; padding: 60px 20px; }
.contact-section h1 { font-size: 32px; margin-bottom: 30px; color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.contact-info h3 { font-size: 20px; margin-bottom: 16px; color: var(--primary); }
.contact-info p { color: #555; margin-bottom: 10px; }
.contact-info a { color: var(--primary); font-weight: 600; }
.contact-info a:hover { color: var(--accent); }
.contact-map-placeholder {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 250px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 20px; color: #777;
}

/* DOCX article */
.article-page { max-width: 860px; margin: 60px auto; padding: 0 20px; }
.article-page h1 { font-size: 30px; margin-bottom: 10px; color: var(--primary); }
.article-page .article-meta { color: #888; font-size: 13px; margin-bottom: 30px; border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.article-page h2 { font-size: 22px; margin: 36px 0 14px; color: var(--primary); border-bottom: 2px solid var(--accent); padding-bottom: 6px; }
.article-page h3 { font-size: 18px; margin: 28px 0 10px; color: var(--secondary); }
.article-page p { margin-bottom: 1em; color: #333; line-height: 1.8; }

/* === СТИЛІЗОВАНІ СПИСКИ (casinos-sin-licencia) === */
.article-page ul {
  list-style: none;
  margin: 0.8em 0 1.4em 0;
  padding: 0;
}
.article-page ul li {
  position: relative;
  padding: 8px 12px 8px 36px;
  margin-bottom: 6px;
  background: #f9f9f9;
  border-left: 3px solid var(--accent);
  border-radius: 0 3px 3px 0;
  line-height: 1.7;
  color: #333;
  font-size: 15px;
}
.article-page ul li::before {
  content: '▸';
  position: absolute;
  left: 12px;
  color: var(--accent);
  font-size: 14px;
  top: 9px;
}
.article-page ol {
  list-style: none;
  margin: 0.8em 0 1.4em 0;
  padding: 0;
  counter-reset: article-counter;
}
.article-page ol li {
  position: relative;
  padding: 10px 12px 10px 48px;
  margin-bottom: 8px;
  background: #f0f4ff;
  border-radius: 4px;
  line-height: 1.7;
  color: #333;
  font-size: 15px;
  counter-increment: article-counter;
}
.article-page ol li::before {
  content: counter(article-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 24px;
}

.article-table { width:100%; border-collapse:collapse; margin:24px 0; font-size:14px; }
.article-table th { background:var(--primary); color:#fff; padding:12px; text-align:left; }
.article-table td { padding:10px 12px; border-bottom:1px solid var(--border); }
.article-table tr:nth-child(even) td { background:#f8f9fa; }

.faq-section { margin: 40px 0; }
.faq-section h3 {
  background:#f0f4f8;
  padding:14px 18px;
  border-left:4px solid var(--accent);
  margin:0 0 2px;
  font-size: 16px;
  color: var(--primary);
}
.faq-section p {
  padding:14px 18px;
  background:#fafafa;
  border-left:4px solid var(--border);
  margin-bottom:16px;
  color: #444;
}

/* 404 */
.error-404 { text-align:center; padding:100px 20px; }
.big-404 { font-size:120px; font-weight:700; color:var(--accent); line-height:1; }
.error-404 h2 { font-size: 28px; color: var(--primary); margin: 16px 0 12px; }
.error-404 p { color: #666; margin-bottom: 24px; }
.btn-back { display:inline-block; background:var(--primary); color:#fff; padding:14px 32px; border-radius:4px; font-weight:600; font-family:'Montserrat',sans-serif; }
.btn-back:hover { background: var(--secondary); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .accomm-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .two-col, .volc-inner, .gallery-inner, .tranq-inner, .casa-inner, .contact-grid { flex-direction: column; }
  .site-nav { display: none; }
  .hero-title { font-size: 30px; }
  .hero-section { height: 320px; }
  .facilities-icons { grid-template-columns: 1fr 1fr; }
  .facilities-lists { grid-template-columns: 1fr; }
  .avail-bar-inner { flex-direction: column; gap: 12px; }
  .accomm-grid { grid-template-columns: 1fr; }
  .page-hero-overlay h1 { font-size: 28px; }
}
