/* ═══════════════════════════════════════════════
   GlampRussia Homepage CSS v3 — front-page.css
   FIX #8: CTA button dark green
   FIX #9: Quick links white
   ═══════════════════════════════════════════════ */

.gh-page {
    --gh-green: #2d7a4f;
    --gh-green-d: #236340;
    --gh-dark: #1a1a1a;
    --gh-gray: #666;
    --gh-light: #f7f9f7;
    --gh-radius: 12px;
    --gh-shadow: 0 2px 12px rgba(0,0,0,.06);
    --gh-maxw: 1320px;
}
.gh-page { background: #fff; }
.gh-container { max-width: var(--gh-maxw); margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

/* HERO */
.gh-hero {
    position: relative; min-height: 520px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0a1f0a 0%, #1a3a1a 40%, #2d5a2d 100%);
    overflow: hidden;
}
.gh-hero__overlay {
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='20' cy='30' r='1.5' fill='rgba(255,255,255,0.03)'/%3E%3Ccircle cx='70' cy='60' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='50' cy='10' r='1' fill='rgba(255,255,255,0.04)'/%3E%3C/svg%3E");
    background-size: 120px;
}
.gh-hero__content {
    position: relative; z-index: 2; text-align: center;
    padding: 60px 20px; max-width: 720px;
}
.gh-hero__title {
    font-size: 48px !important; font-weight: 800 !important;
    color: #fff !important; margin: 0 0 16px !important;
    line-height: 1.1 !important; letter-spacing: -0.02em;
}
.gh-hero__sub {
    font-size: 18px !important; color: rgba(255,255,255,.75) !important;
    margin: 0 0 32px !important; line-height: 1.5 !important;
}

/* Hero Search */
.gh-search-form {
    display: flex; gap: 0; max-width: 520px; margin: 0 auto 24px;
    border-radius: 50px; overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
}
.gh-search-form__select {
    flex: 1; padding: 16px 20px; border: none; font-size: 15px;
    outline: none; background: #fff; color: #333;
    appearance: none; -webkit-appearance: none; min-width: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' stroke-linecap='round'%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center;
    padding-right: 36px;
}
.gh-search-form__btn {
    padding: 16px 32px; background: var(--gh-green); color: #fff;
    border: none; font-size: 15px; font-weight: 700; cursor: pointer;
    white-space: nowrap; transition: background .2s;
}
.gh-search-form__btn:hover { background: var(--gh-green-d); }

/* FIX #9: Hero Quick Links — WHITE text and icons */
.gh-hero__quick {
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.gh-hero__quick a {
    color: rgba(255,255,255,.75) !important;
    text-decoration: none !important;
    font-size: 14px; transition: color .2s;
    display: inline-flex; align-items: center; gap: 6px;
}
.gh-hero__quick a:visited,
.gh-hero__quick a:link {
    color: rgba(255,255,255,.75) !important;
}
.gh-hero__quick a:hover {
    color: #fff !important;
}
.gh-hero__quick a svg {
    flex-shrink: 0;
    stroke: rgba(255,255,255,.75);
}
.gh-hero__quick a:hover svg {
    stroke: #fff;
}

/* STATS */
.gh-stats {
    background: var(--gh-green); padding: 0;
    margin-top: -40px; position: relative; z-index: 3;
}
.gh-stats__grid {
    display: flex; max-width: var(--gh-maxw); margin: 0 auto;
}
.gh-stat {
    flex: 1; text-align: center; padding: 28px 16px;
    border-right: 1px solid rgba(255,255,255,.15);
}
.gh-stat:last-child { border-right: none; }
.gh-stat__num {
    display: block; font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2;
}
.gh-stat__label {
    display: block; font-size: 13px; color: rgba(255,255,255,.7);
    margin-top: 4px; text-transform: uppercase; letter-spacing: .05em;
}

/* SECTIONS */
.gh-section { padding: 60px 0; }
.gh-section:nth-child(even) { background: var(--gh-light); }
.gh-section__head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; gap: 16px;
}
.gh-section__title {
    font-size: 28px !important; font-weight: 700 !important;
    color: var(--gh-dark) !important; margin: 0 !important;
}
.gh-section__more {
    font-size: 14px; color: var(--gh-green); text-decoration: none;
    font-weight: 600; white-space: nowrap; transition: color .2s;
}
.gh-section__more:hover { color: var(--gh-green-d); text-decoration: underline; }

/* TOP GLAMPINGS GRID */
.gh-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}

/* REGIONS GRID — 10 items: 2 big + 8 normal (2+4+4 layout) */
.gh-regions__grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.gh-region {
    position: relative; border-radius: var(--gh-radius); overflow: hidden;
    height: 200px; display: block; text-decoration: none; transition: transform .3s;
}
.gh-region:hover { transform: translateY(-4px); }
.gh-region--big { grid-column: span 2; height: 260px; }
.gh-region__bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #2d5a3d, #1a3a2a);
    background-size: cover; background-position: center; transition: transform .4s;
}
.gh-region:hover .gh-region__bg { transform: scale(1.06); }
.gh-region__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.1) 60%);
}
.gh-region__info { position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 2; }
.gh-region__name {
    font-size: 20px; font-weight: 700; color: #fff; margin: 0 0 4px;
    text-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.gh-region--big .gh-region__name { font-size: 26px; }
.gh-region__count { font-size: 13px; color: rgba(255,255,255,.8); }

/* TYPES */
.gh-types__grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
}
.gh-type-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 20px 12px; background: #fff; border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow); text-decoration: none;
    transition: transform .2s, box-shadow .2s; text-align: center; color: var(--gh-dark);
}
.gh-type-card:hover {
    transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1);
    color: var(--gh-green);
}
.gh-type-card__icon {
    width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px; color: var(--gh-green);
}
.gh-type-card__icon svg { width: 40px; height: 40px; }
.gh-type-card__name { font-size: 13px; font-weight: 600; color: inherit; margin-bottom: 4px; }
.gh-type-card__count { font-size: 12px; color: var(--gh-gray); }

/* COLLECTIONS — 10 items, 2 columns on desktop */
.gh-collections__grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.gh-collection {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; background: #fff; border-radius: var(--gh-radius);
    box-shadow: var(--gh-shadow); text-decoration: none;
    transition: transform .2s, box-shadow .2s; color: var(--gh-dark);
}
.gh-collection:hover {
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.08);
}
.gh-collection__icon {
    flex-shrink: 0; width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: #e8f5e9; border-radius: 10px; color: var(--gh-green);
}
.gh-collection__text { flex: 1; }
.gh-collection__title { display: block; font-size: 15px; font-weight: 600; color: var(--gh-dark); }
.gh-collection__count { display: block; font-size: 12px; color: var(--gh-gray); margin-top: 2px; }
.gh-collection__arrow { color: var(--gh-gray); transition: transform .2s, color .2s; display: flex; }
.gh-collection:hover .gh-collection__arrow { transform: translateX(4px); color: var(--gh-green); }

/* WHY US — FIX #7: SVG icons in green circles */
.gh-why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gh-why__card {
    text-align: center; padding: 28px 20px;
    background: #fff; border-radius: var(--gh-radius); box-shadow: var(--gh-shadow);
}
.gh-why__icon {
    display: flex; align-items: center; justify-content: center;
    width: 64px; height: 64px; margin: 0 auto 16px;
    background: #e8f5e9; border-radius: 50%;
}
.gh-why__card h3 { font-size: 16px; font-weight: 700; color: var(--gh-dark); margin: 0 0 8px; }
.gh-why__card p { font-size: 13px; color: var(--gh-gray); line-height: 1.5; margin: 0; }

/* BLOG */
.gh-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gh-blog-card {
    background: #fff; border-radius: var(--gh-radius); overflow: hidden;
    box-shadow: var(--gh-shadow); text-decoration: none;
    transition: transform .2s, box-shadow .2s; display: block;
}
.gh-blog-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.gh-blog-card__img {
    height: 180px; background-size: cover; background-position: center; background-color: #e8f5e9;
}
.gh-blog-card__img--empty { display: flex; align-items: center; justify-content: center; }
.gh-blog-card__body { padding: 16px; }
.gh-blog-card__date { font-size: 12px; color: var(--gh-gray); }
.gh-blog-card__title { font-size: 16px; font-weight: 700; color: var(--gh-dark); margin: 6px 0 8px; line-height: 1.3; }
.gh-blog-card__excerpt { font-size: 13px; color: var(--gh-gray); line-height: 1.5; margin: 0; }

/* SEO */
.gh-seo__text h2 { font-size: 22px; color: var(--gh-dark); margin: 0 0 12px; }
.gh-seo__text p { font-size: 14px; color: var(--gh-gray); line-height: 1.7; margin: 0 0 12px; }

/* FIX #8: CTA BANNER — dark-green bg, dark green text on button */
.gh-cta {
    background: linear-gradient(135deg, #1a3a1a 0%, #2d7a4f 100%);
    padding: 60px 0;
}
.gh-cta__inner { text-align: center; max-width: 560px; margin: 0 auto; }
.gh-cta__inner h2 { font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 8px; }
.gh-cta__inner p { font-size: 16px; color: rgba(255,255,255,.7); margin: 0 0 24px; }
.gh-cta__btn {
    display: inline-block; padding: 14px 40px; background: #fff;
    color: var(--gh-green-d) !important; /* #236340 — тёмно-зелёный */
    font-size: 16px; font-weight: 700; border-radius: 50px;
    text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.gh-cta__btn:hover {
    transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.2);
    color: var(--gh-green) !important;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
    .gh-cards-grid { grid-template-columns: repeat(3, 1fr) !important; }
    .gh-regions__grid { grid-template-columns: repeat(3, 1fr); }
    .gh-region--big { grid-column: span 1; height: 200px; }
}
@media (max-width: 960px) {
    .gh-hero { min-height: 440px; }
    .gh-hero__title { font-size: 36px !important; }
    .gh-hero__sub { font-size: 16px !important; }
    .gh-cards-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .gh-regions__grid { grid-template-columns: repeat(2, 1fr); }
    .gh-why__grid { grid-template-columns: repeat(2, 1fr); }
    .gh-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .gh-collections__grid { grid-template-columns: repeat(2, 1fr); }
    .gh-stats__grid { flex-wrap: wrap; }
    .gh-stat { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,.1); }
    .gh-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 600px) {
    .gh-hero { min-height: 400px; }
    .gh-hero__title { font-size: 28px !important; }
    .gh-hero__content { padding: 40px 16px; }
    .gh-search-form { flex-direction: column; border-radius: 12px; }
    .gh-search-form__select { border-radius: 12px 12px 0 0; padding: 14px 16px; }
    .gh-search-form__btn { border-radius: 0 0 12px 12px; padding: 14px 16px; }
    .gh-section { padding: 40px 0; }
    .gh-section__title { font-size: 22px !important; }
    .gh-cards-grid { grid-template-columns: 1fr !important; }
    .gh-regions__grid { grid-template-columns: 1fr; }
    .gh-region, .gh-region--big { height: 180px; }
    .gh-types__grid { grid-template-columns: repeat(3, 1fr); }
    .gh-why__grid { grid-template-columns: 1fr; }
    .gh-blog__grid { grid-template-columns: 1fr; }
    .gh-collections__grid { grid-template-columns: 1fr; }
    .gh-stats__grid { flex-direction: column; }
    .gh-stat { flex: none; border-right: none; padding: 16px; border-bottom: 1px solid rgba(255,255,255,.1); }
    .gh-stat__num { font-size: 28px; }
    .gh-hero__quick { gap: 12px; }
    .gh-hero__quick a { font-size: 13px; }
    .gh-stat:last-child { border-bottom: none; }
}

/* Reboot */
.page-template-page-front .site-content,
.page-template-page-front .site-content-inner,
.page-template-page-front #primary {
    padding: 0 !important; margin: 0 !important; max-width: none !important;
}
.page-template-page-front .site-content-inner { max-width: 100% !important; }
