/* ================================================================
   LAWELIYA — Features Grid + Destinations CSS
   Add to: wp-content/themes/laweliya/assets/css/sections.css
   Then enqueue in functions.php:
   wp_enqueue_style('lw-sections', get_template_directory_uri() . '/assets/css/sections.css');
   ================================================================ */

/* ----------------------------------------------------------------
   FEATURES GRID
   ---------------------------------------------------------------- */
.lw-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 400px;
    gap: 0;
}

.lw-tile--wide { grid-column: span 2; }
.lw-tile--tall { grid-row: span 2; }

.lw-tile {
    position: relative;
    overflow: hidden;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.lw-tile:hover {
    z-index: 2;
    transform: scale(1.015);
}

.lw-tile__grain {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

.lw-tile__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    gap: 0.4rem;
}

.lw-tile__icon {
    color: rgba(200, 160, 60, 0.8);
    margin-bottom: 0.5rem;
    display: block;
    width: 20px;
    height: 20px;
}

.lw-tile__heading {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.01em;
    margin: 0;
}

.lw-tile__sub {
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 160, 60, 0.9);
    margin: 0.2rem 0 0.6rem;
}

.lw-tile__body {
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin: 0;
    max-width: 360px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lw-tile:hover .lw-tile__body {
    opacity: 1;
    transform: translateY(0);
}

/* ----------------------------------------------------------------
   DESTINATIONS SECTION
   ---------------------------------------------------------------- */
.lw-destinations {
    padding-block: 6rem;
    background: #080e08;
}

.lw-destinations__header {
    text-align: center;
    margin-bottom: 3rem;
}

.lw-overline {
    display: block;
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(200, 160, 60, 0.85);
    margin-bottom: 0.75rem;
}

.lw-destinations__header h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 300;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}

.lw-dest-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 520px 520px;
    gap: 3px;
    max-width: 1400px;
    margin-inline: auto;
}

.lw-dest-card:first-child { grid-row: span 2; }

.lw-dest-card {
    position: relative;
    display: block;
    overflow: hidden;
    text-decoration: none;
    background-color: #0d2218;
    background-size: cover;
    background-position: center;
    transition: background-position 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.lw-dest-card:hover { background-position: center 45%; }

.lw-dest-card__body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.lw-dest-card__season {
    display: inline-block;
    background: rgba(200, 160, 60, 0.18);
    border: 1px solid rgba(200, 160, 60, 0.4);
    color: rgba(200, 160, 60, 0.95);
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.5rem;
    align-self: flex-start;
}

.lw-dest-card__region {
    font-family: 'Jost', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.lw-dest-card__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(200, 160, 60, 0.8);
    flex-shrink: 0;
    display: inline-block;
}

.lw-dest-card__title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 300;
    color: #fff;
    line-height: 1.05;
    margin: 0.2rem 0 0;
    letter-spacing: -0.01em;
}

.lw-dest-card__excerpt {
    font-family: 'Jost', sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin: 0.4rem 0 0;
    max-width: 380px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

.lw-dest-card:hover .lw-dest-card__excerpt {
    max-height: 120px;
    opacity: 1;
}

.lw-dest-card__cta {
    font-family: 'Jost', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(200, 160, 60, 0.85);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: gap 0.25s ease, color 0.25s ease;
}

.lw-dest-card:hover .lw-dest-card__cta {
    gap: 0.85rem;
    color: rgb(200, 160, 60);
}

.lw-dest-card__initial {
    position: absolute;
    bottom: -0.15em;
    right: -0.05em;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(6rem, 12vw, 12rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    letter-spacing: -0.05em;
}

/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
    .lw-features { grid-template-columns: repeat(2, 1fr); }
    .lw-tile--wide { grid-column: span 2; }
    .lw-tile--tall { grid-row: span 1; }
    .lw-dest-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .lw-dest-card:first-child { grid-row: span 1; }
}

@media (max-width: 768px) {
    .lw-features { grid-template-columns: 1fr; grid-auto-rows: 280px; }
    .lw-tile--wide { grid-column: span 1; }
    .lw-tile__body { opacity: 1; transform: none; }
    .lw-dest-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
    .lw-dest-card { min-height: 380px; }
    .lw-dest-card__excerpt { max-height: 120px; opacity: 1; }
}