/*
 Theme Name:   GetSpain
 Theme URI:    https://get-spain.ru
 Description:  Terracotta - Premium transfer service in Spain
 Author:       GetSpain
 Author URI:   https://get-spain.ru
 Template:     generatepress
 Version:      2.0.0
 Text Domain:  getspain
*/

/* === TERRACOTTA BRAND === */

:root {
    /* Core palette */
    --gs-sand: #FBF7F2;
    --gs-linen: #F5EDE3;
    --gs-terracotta: #C75B39;
    --gs-terracotta-hover: #B5502F;
    --gs-olive: #4A6741;
    --gs-olive-hover: #3D5736;
    --gs-charcoal: #2C2C2E;
    --gs-adobe: #D4956A;
    --gs-warm-gray: #8B7D6B;
    --gs-light-border: #E8DFD3;

    /* Semantic */
    --gs-bg: var(--gs-sand);
    --gs-bg-alt: var(--gs-linen);
    --gs-text: var(--gs-charcoal);
    --gs-text-secondary: var(--gs-warm-gray);
    --gs-text-muted: #B5A999;
    --gs-primary: var(--gs-terracotta);
    --gs-primary-hover: var(--gs-terracotta-hover);
    --gs-accent: var(--gs-olive);
    --gs-white: #FFFFFF;
    --gs-border: var(--gs-light-border);

    /* Typography */
    --gs-font-heading: 'Playfair Display', Georgia, serif;
    --gs-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --gs-container: 1140px;
    --gs-radius: 16px;
    --gs-radius-sm: 12px;
    --gs-radius-btn: 50px;
}

/* === BASE === */
body {
    font-family: var(--gs-font-body);
    color: var(--gs-text);
    background: var(--gs-bg);
    line-height: 1.7;
    font-variant-numeric: tabular-nums;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: var(--gs-font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--gs-charcoal);
}

h1 { font-family: var(--gs-font-body); font-size: clamp(28px, 4vw, 36px); font-style: normal; font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 3.5vw, 38px); font-style: italic; }
h3 { font-size: clamp(18px, 2.5vw, 22px); font-style: normal; font-weight: 600; }

a {
    color: var(--gs-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--gs-primary-hover); }

/* === CONTAINER === */
.gs-container {
    max-width: var(--gs-container);
    margin: 0 auto;
    padding: 0 24px;
}

/* === BUTTONS === */
.gs-btn-primary {
    background: var(--gs-primary);
    color: var(--gs-sand);
    padding: 16px 36px;
    border-radius: var(--gs-radius-btn);
    font-family: var(--gs-font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
}
.gs-btn-primary:hover {
    background: var(--gs-primary-hover);
    color: var(--gs-sand);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(199, 91, 57, 0.25);
}

.gs-btn-secondary {
    background: transparent;
    color: var(--gs-primary);
    padding: 14px 32px;
    border-radius: var(--gs-radius-btn);
    font-family: var(--gs-font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1.5px solid var(--gs-primary);
    cursor: pointer;
}
.gs-btn-secondary:hover {
    background: var(--gs-primary);
    color: var(--gs-sand);
}

.gs-btn-whatsapp {
    background: var(--gs-olive);
    color: var(--gs-sand);
    padding: 16px 36px;
    border-radius: var(--gs-radius-btn);
    font-family: var(--gs-font-body);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.gs-btn-whatsapp:hover {
    background: var(--gs-olive-hover);
    color: var(--gs-sand);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(74, 103, 65, 0.25);
}

.gs-btn-sm {
    padding: 10px 20px;
    font-size: 13px;
}

/* === HERO CINEMATIC === */
.gs-hero-cinematic {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}
.gs-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a3a5c 0%, #2d6a8a 25%, var(--gs-adobe) 60%, var(--gs-primary) 100%);
    background-size: 400% 400%;
    animation: gsGradientShift 12s ease infinite;
}
@keyframes gsGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.gs-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.gs-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 24px;
}
.gs-hero-badge {
    display: inline-block;
    margin-bottom: 24px;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.gs-hero-cinematic h1 {
    font-size: clamp(36px, 5vw, 56px);
    color: #fff;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}
.gs-hero-sub {
    font-family: var(--gs-font-heading);
    font-style: italic;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.gs-hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.gs-btn-primary--light {
    background: var(--gs-primary);
    color: #fff;
}
.gs-btn-primary--light:hover {
    background: var(--gs-primary-hover);
    color: #fff;
}
.gs-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.gs-scroll-indicator span {
    display: block;
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 2px;
    margin: 0 auto;
    animation: gsScrollPulse 2s ease infinite;
}
@keyframes gsScrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 768px) {
    .gs-hero-cinematic { min-height: 600px; }
    .gs-hero-sub { font-size: 17px; }
    .gs-hero-actions { flex-direction: column; align-items: center; }
}

/* === FEATURES === */
.gs-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    padding: 60px 0;
}
.gs-feature {
    text-align: center;
    padding: 32px 24px;
    border-radius: var(--gs-radius);
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gs-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 125, 107, 0.1);
}
.gs-feature-icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.gs-feature h3 {
    font-family: var(--gs-font-body);
    color: var(--gs-charcoal);
    margin-bottom: 8px;
    font-size: 17px;
}
.gs-feature p {
    color: var(--gs-warm-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* === SECTIONS === */
.gs-section {
    padding: 60px 0;
}
.gs-section-title {
    font-family: var(--gs-font-heading);
    font-style: italic;
    color: var(--gs-charcoal);
    text-align: center;
    margin-bottom: 12px;
}
.gs-section-subtitle {
    text-align: center;
    color: var(--gs-warm-gray);
    font-size: 16px;
    margin-bottom: 40px;
}

/* === ROUTE CARDS === */
.gs-routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.gs-route-card {
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius);
    padding: 20px 24px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.gs-route-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(139, 125, 107, 0.12);
    border-color: rgba(199, 91, 57, 0.2);
}
.gs-route-card h3 {
    font-family: var(--gs-font-body);
    color: var(--gs-charcoal);
    margin-bottom: 4px;
    font-size: 16px;
    font-weight: 600;
}
.gs-route-direction {
    font-size: 13px;
    color: var(--gs-primary);
    margin-bottom: 6px;
}
.gs-route-card .gs-meta {
    color: var(--gs-warm-gray);
    font-size: 13px;
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}
.gs-route-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--gs-border);
}
.gs-route-card .gs-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--gs-primary);
    font-family: var(--gs-font-body);
    letter-spacing: -0.3px;
}
.gs-route-card .gs-btn-sm {
    padding: 8px 18px;
    font-size: 13px;
}

/* === PRICE BOX === */
.gs-price-box {
    background: var(--gs-white);
    border: 2px solid var(--gs-primary);
    border-radius: var(--gs-radius);
    padding: 32px;
    text-align: center;
    margin: 24px 0;
}
.gs-price-box .gs-price-label {
    font-size: 12px;
    color: var(--gs-warm-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--gs-font-body);
    font-weight: 500;
}
.gs-price-box .gs-price-value {
    font-size: 38px;
    font-weight: 700;
    color: var(--gs-primary);
    margin: 8px 0;
    font-family: var(--gs-font-body);
    letter-spacing: -0.5px;
}
.gs-price-box .gs-price-to {
    font-size: 20px;
    color: var(--gs-warm-gray);
    font-weight: 400;
}
.gs-price-box .gs-price-note {
    font-size: 14px;
    color: var(--gs-warm-gray);
}

/* === BOOKING FORM === */
.gs-booking-form {
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius);
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(139, 125, 107, 0.08);
}
.gs-booking-form h2 {
    text-align: center;
    margin-bottom: 8px;
}
.gs-booking-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--gs-charcoal);
    font-size: 14px;
}
.gs-booking-form input,
.gs-booking-form select,
.gs-booking-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--gs-border);
    border-radius: var(--gs-radius-sm);
    font-size: 15px;
    font-family: var(--gs-font-body);
    margin-bottom: 16px;
    box-sizing: border-box;
    background: var(--gs-sand);
    color: var(--gs-charcoal);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.gs-booking-form input:focus,
.gs-booking-form select:focus,
.gs-booking-form textarea:focus {
    border-color: var(--gs-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(199, 91, 57, 0.1);
    background: var(--gs-white);
}
.gs-booking-form input[type="submit"] {
    background: var(--gs-primary);
    color: var(--gs-sand);
    border: none;
    font-weight: 600;
    cursor: pointer;
    border-radius: var(--gs-radius-btn);
    padding: 16px;
    font-size: 16px;
    transition: all 0.3s;
}
.gs-booking-form input[type="submit"]:hover {
    background: var(--gs-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(199, 91, 57, 0.25);
}

/* === FAQ === */
.gs-faq-item {
    border-bottom: 1px solid var(--gs-border);
    padding: 20px 0;
}
.gs-faq-question {
    font-family: var(--gs-font-body);
    font-weight: 600;
    color: var(--gs-charcoal);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
}
.gs-faq-answer {
    padding-top: 12px;
    color: var(--gs-warm-gray);
    line-height: 1.7;
    font-size: 15px;
}

/* === BREADCRUMBS === */
.gs-breadcrumbs {
    padding: 16px 0;
    font-size: 14px;
    color: var(--gs-text-muted);
}
.gs-breadcrumbs a {
    color: var(--gs-primary);
    text-decoration: none;
}
.gs-breadcrumbs a:hover { text-decoration: underline; }

/* === REVIEW === */
.gs-review {
    background: var(--gs-white);
    border: 1px solid var(--gs-border);
    border-radius: var(--gs-radius);
    padding: 28px;
    margin-bottom: 16px;
}
.gs-review-author { font-weight: 600; color: var(--gs-charcoal); }
.gs-review-date { font-size: 13px; color: var(--gs-text-muted); }
.gs-review-stars { color: var(--gs-adobe); font-size: 18px; margin: 4px 0; }

/* === FLOATING WHATSAPP === */
.gs-float-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: var(--gs-olive);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 16px rgba(74, 103, 65, 0.35);
    text-decoration: none;
    transition: all 0.3s ease;
}
.gs-float-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(74, 103, 65, 0.45);
}
