/*
Theme Name: CuracaoStays
Theme URI: https://curacaostays.com
Author: CuracaoStays
Author URI: https://curacaostays.com
Description: A vibrant single-page theme for showcasing Curacao vacation homes and car rentals.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: curacaostays
*/

/* Base Typography */
body {
    margin: 0;
    font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
    color: #123743;
    background-color: #f3f9fb;
    line-height: 1.6;
}

a {
    color: #0f6e7f;
    text-decoration: none;
}

a:hover,
a:focus {
    color: #f26d3d;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.75rem;
    font-weight: 600;
    color: #0b2b39;
}

p {
    margin: 0 0 1rem;
}

/* Layout Helpers */
.section {
    padding: 4rem 1.5rem;
}

.section--light {
    background: #ffffff;
}

.section--accent {
    background: linear-gradient(135deg, rgba(15, 110, 127, 0.1), rgba(243, 186, 48, 0.18));
}

.wrapper {
    width: min(1100px, 95vw);
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-weight: 600;
    border-radius: 999px;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn--primary {
    background: linear-gradient(135deg, #0f6e7f, #0a4651);
    color: #ffffff;
}

.btn--primary:hover {
    transform: translateY(-2px);
}

.btn--ghost {
    border: 2px solid #0f6e7f;
    color: #0f6e7f;
    background: transparent;
}

.btn--ghost:hover {
    background: rgba(15, 110, 127, 0.1);
}

/* Header & Hero */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(18, 55, 67, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand__logo {
    width: 56px;
    height: auto;
}

.brand__logotype {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0f6e7f;
}

.nav-links {
    display: flex;
    gap: 1.2rem;
    font-weight: 500;
}

.nav-links a {
    color: #123743;
}

.nav-links a:hover {
    color: #f26d3d;
}

.hero {
    padding: 5rem 0 4rem;
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.hero__content h1 {
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.15;
}

.hero__content p {
    font-size: 1.1rem;
    color: #285065;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.stat {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(13, 63, 71, 0.08);
}

.stat__value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f26d3d;
}

/* Sections */
.features {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
    background: #ffffff;
    padding: 1.75rem;
    border-radius: 18px;
    box-shadow: 0 16px 30px rgba(12, 65, 81, 0.08);
    border: 1px solid rgba(18, 55, 67, 0.08);
}

.feature-card h3 {
    color: #0f6e7f;
}

.listings {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.listing-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(12, 65, 81, 0.12);
    border: 1px solid rgba(18, 55, 67, 0.08);
}

.listing-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.listing-card__content {
    padding: 1.5rem;
}

.testimonials {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.testimonial-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 18px 32px rgba(12, 65, 81, 0.12);
    border: 1px solid rgba(18, 55, 67, 0.08);
}

.testimonial-card__author {
    margin-top: 1.2rem;
    font-weight: 600;
    color: #0f6e7f;
}

.contact-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 22px 42px rgba(13, 63, 71, 0.12);
    border: 1px solid rgba(18, 55, 67, 0.08);
}

.contact-card form {
    display: grid;
    gap: 1rem;
}

.contact-card input,
.contact-card textarea {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(18, 55, 67, 0.2);
    font-family: inherit;
    font-size: 1rem;
}

.contact-card button {
    border: none;
}

.footer {
    background: #0b2b39;
    color: #ffffff;
    padding: 3rem 1.5rem;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: center;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer__brand img {
    width: 52px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.8);
}

.footer__bottom {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

/* Responsive Tweaks */
@media (max-width: 720px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 4rem;
    }

    .footer__top {
        text-align: center;
    }

    .brand,
    .footer__brand {
        justify-content: center;
    }
}

.hero__visual {
    min-height: 360px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(15, 110, 127, 0.8), rgba(243, 186, 48, 0.7)), url('https://images.unsplash.com/photo-1505691723518-36a5ac3be353?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
    box-shadow: 0 28px 60px rgba(12, 65, 81, 0.18);
    position: relative;
    overflow: hidden;
}

.hero__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(15, 110, 127, 0.15), rgba(243, 186, 48, 0.25));
}

.listing-card__media {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(18, 55, 67, 0.08);
}

.listing-card__media--santa-rosa {
    background-image: linear-gradient(rgba(15, 110, 127, 0.2), rgba(15, 110, 127, 0.2)), url('https://images.unsplash.com/photo-1505691938895-1758d7feb511?auto=format&fit=crop&w=1200&q=80');
}

.listing-card__media--jan-thiel {
    background-image: linear-gradient(rgba(15, 110, 127, 0.2), rgba(15, 110, 127, 0.2)), url('https://images.unsplash.com/photo-1542318428-29f26af1ff86?auto=format&fit=crop&w=1200&q=80');
}

.listing-card__media--suv {
    background-image: linear-gradient(rgba(15, 110, 127, 0.25), rgba(15, 110, 127, 0.25)), url('https://images.unsplash.com/photo-1525609004556-c46c7d6cf023?auto=format&fit=crop&w=1200&q=80');
}
