/* ========================================
   NORDIC HIGHLAND ESTATE - STYLESHEET
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-primary: #1a3a2a;
    --color-primary-light: #2a5a3a;
    --color-primary-dark: #0f2218;
    --color-accent: #c8a45c;
    --color-accent-light: #d4b676;
    --color-accent-dark: #a88a3e;
    --color-bg: #faf9f6;
    --color-bg-alt: #f0eeea;
    --color-text: #2d2d2d;
    --color-text-light: #6b6b6b;
    --color-white: #ffffff;
    --color-dark: #1a1a1a;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ========================================
   MODAL
   ======================================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(15, 34, 24, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    padding: 24px;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 560px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalSlideIn 0.5s ease forwards;
    max-height: 90vh;
    overflow-y: auto;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(32px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-logo { margin-bottom: 16px; }
.modal-seller-logo { max-height: 48px; margin: 0 auto; }
.modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}
.modal-subtitle {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
}

/* Country grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}
.country-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--color-bg);
    border: 2px solid transparent;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 0.85rem;
    color: var(--color-text);
}
.country-btn:hover {
    border-color: var(--color-accent);
    background: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.country-flag-img {
    width: 48px;
    height: 36px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.country-name { font-weight: 500; }
.country-btn-other { background: var(--color-primary); color: white; }
.country-btn-other:hover { background: var(--color-primary-light); border-color: var(--color-accent); }
.country-btn-other .country-flag-img { opacity: 0.8; }

/* Other country section */
.other-country-section {
    margin-top: 16px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-input-wrapper {
    position: relative;
    margin-bottom: 12px;
}
.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-light);
}
.country-search-input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 1rem;
    border: 2px solid #e0ddd7;
    border-radius: var(--radius);
    outline: none;
    font-family: var(--font-body);
    transition: var(--transition);
}
.country-search-input:focus { border-color: var(--color-accent); }
.country-dropdown {
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid #e0ddd7;
    border-radius: var(--radius);
    background: white;
    text-align: left;
}
.country-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.9rem;
}
.country-dropdown-item:hover { background: var(--color-bg-alt); }
.country-dropdown-item img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
}
.back-btn {
    margin-top: 12px;
    padding: 10px 24px;
    color: var(--color-accent-dark);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.back-btn:hover { color: var(--color-primary); }

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.5s cubic-bezier(.16,1,.3,1), background 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s cubic-bezier(.16,1,.3,1);
}
.navbar.scrolled {
    background: rgba(26, 58, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgba(0,0,0,0.18);
    padding: 10px 0;
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; }
.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--color-accent); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}
.lang-switch:hover { background: rgba(255,255,255,0.1); color: var(--color-accent); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* Mobile menu */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-primary-dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transition: right 0.4s ease;
        z-index: 999;
    }
    .nav-menu.open { right: 0; }
    .nav-toggle { display: flex; }
    .nav-link { font-size: 1.05rem; }
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../Assets/Different%20pictures/Bilde%20av%20hele%20tomten%20ovenifra%20men%20den%20er%20st%C3%B8rre%20en%20det%20som%20er%20p%C3%A5%20bilder.avif') center/cover no-repeat;
    transform: scale(1.05);
    transition: transform 0.15s cubic-bezier(.4,0,.2,1);
    will-change: transform;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15,34,24,0.55) 0%,
        rgba(15,34,24,0.35) 40%,
        rgba(15,34,24,0.7) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 80px 24px 40px;
    max-width: 800px;
}
.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--color-accent);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero-subtitle {
    font-family: var(--font-accent);
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    margin-bottom: 32px;
    letter-spacing: 1px;
}
.hero-price {
    margin-bottom: 32px;
}
.price-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    margin-bottom: 4px;
}
.price-amount {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--color-accent);
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    margin-top: 40px;
    animation: bounce 2s infinite;
}
.hero-scroll i { font-size: 1.4rem; opacity: 0.6; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    letter-spacing: 0.5px;
    transition: var(--transition);
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
}
.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(200,164,92,0.4);
}
.btn-outline {
    border: 2px solid rgba(255,255,255,0.5);
    color: white;
}
.btn-outline:hover {
    border-color: white;
    background: rgba(255,255,255,0.1);
}
.btn-block { width: 100%; justify-content: center; }

/* ========================================
   SECTIONS (shared)
   ======================================== */
.section {
    padding: 100px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-accent-dark);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--color-primary);
    line-height: 1.2;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-top: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   OVERVIEW (Stats)
   ======================================== */
.overview-section { background: var(--color-bg-alt); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
}
.stat-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s cubic-bezier(.16,1,.3,1);
}
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.stat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26,58,42,0.08);
    color: var(--color-primary);
    font-size: 1.1rem;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}
.stat-unit {
    font-size: 1rem;
    font-weight: 400;
    opacity: 0.6;
}
.stat-label {
    font-size: 0.82rem;
    color: var(--color-text-light);
    margin-top: 4px;
}

/* ========================================
   IMAGE BREAK (full-width)
   ======================================== */
.image-break {
    position: relative;
    height: 50vh;
    min-height: 320px;
    overflow: hidden;
}
.image-break img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,34,24,0.6) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 32px;
}
.image-break-caption {
    font-family: var(--font-accent);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: white;
    letter-spacing: 1px;
}

/* ========================================
   CABIN SECTION (content rows + interior grid)
   ======================================== */
.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 64px;
}
.content-row-reverse .content-img { order: 2; }
.content-row-reverse .content-text { order: 1; }
.content-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.content-img img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(.16,1,.3,1);
}
.content-img:hover img { transform: scale(1.03); }
.content-text h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--color-primary);
    margin-bottom: 12px;
}
.content-text p {
    color: var(--color-text-light);
    font-size: 1rem;
    margin-bottom: 20px;
}
.content-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.content-features span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(26,58,42,0.06);
    padding: 6px 14px;
    border-radius: 20px;
}
.content-features i { color: var(--color-accent-dark); font-size: 0.85rem; }

/* Interior grid */
.interior-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 64px;
}
.interior-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.interior-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.interior-card:hover img { transform: scale(1.04); }
.interior-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    color: white;
    font-size: 0.82rem;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 900px) {
    .content-row { grid-template-columns: 1fr; gap: 24px; }
    .content-row-reverse .content-img, .content-row-reverse .content-text { order: unset; }
    .content-img img { height: 260px; }
    .interior-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   ACTIVITIES
   ======================================== */
.activities-section {
    background: var(--color-primary-dark);
    color: white;
}
.activities-section .section-tag { color: var(--color-accent); }
.activities-section .section-title { color: white; }
.activities-section .section-desc { color: rgba(255,255,255,0.7); }

.activities-showcase { margin-bottom: 40px; }

/* Large featured activity */
.activity-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow-lg);
}
.activity-hero img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}
.activity-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,34,24,0.8) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 36px;
}
.activity-hero-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 6px;
}
.activity-hero-overlay p { opacity: 0.9; font-size: 1rem; }

/* Activity cards grid */
.activity-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.activity-img-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.activity-img-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.activity-img-card:hover img { transform: scale(1.04); }
.activity-img-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 16px;
}
.activity-img-content h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.activity-img-content p {
    font-size: 0.82rem;
    opacity: 0.85;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .activity-cards { grid-template-columns: repeat(2, 1fr); }
    .activity-hero img { height: 280px; }
}
@media (max-width: 500px) {
    .activity-cards { grid-template-columns: 1fr; }
}

/* Extra activities */
.extra-activities {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.extra-activity {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}
.extra-activity:hover { background: rgba(255,255,255,0.1); }
.extra-activity i { font-size: 1.3rem; color: var(--color-accent); flex-shrink: 0; }
.extra-activity strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.extra-activity span { font-size: 0.8rem; color: rgba(255,255,255,0.6); }

/* ========================================
   PHOTO STRIP (auto-scrolling)
   ======================================== */
.photo-strip {
    overflow: hidden;
    background: var(--color-dark);
    padding: 6px 0;
}
.photo-strip-track {
    display: flex;
    gap: 6px;
    animation: scrollPhotos 45s linear infinite;
    width: max-content;
}
.photo-strip-track img {
    height: 200px;
    width: auto;
    border-radius: 6px;
    flex-shrink: 0;
}
@keyframes scrollPhotos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.photo-strip:hover .photo-strip-track {
    animation-play-state: paused;
}

/* ========================================
   INVESTMENT
   ======================================== */
.investment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}
.invest-card {
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s cubic-bezier(.16,1,.3,1);
}
.invest-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.invest-card-highlight {
    background: var(--color-primary);
    color: white;
}
.invest-card-highlight:hover {
    box-shadow: 0 8px 32px rgba(26,58,42,0.3);
}
.invest-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 16px;
    font-size: 1.2rem;
}
.invest-card .invest-icon { background: rgba(26,58,42,0.08); color: var(--color-primary); }
.invest-card-highlight .invest-icon { background: rgba(255,255,255,0.15); color: var(--color-accent); }
.invest-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.invest-card p {
    font-size: 0.92rem;
    color: var(--color-text-light);
    line-height: 1.6;
}
.invest-card-highlight p { color: rgba(255,255,255,0.8); }
.invest-amount {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 12px;
}

@media (max-width: 700px) {
    .investment-grid { grid-template-columns: 1fr; }
}

/* Price table */
.price-section {
    background: var(--color-bg-alt);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.price-table {
    max-width: 520px;
    margin: 0 auto 16px;
}
.price-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0ddd7;
    font-size: 1rem;
}
.price-row:last-child { border: none; }
.price-row-total {
    font-weight: 700;
    font-size: 1.15rem;
    border-top: 2px solid var(--color-primary);
    border-bottom: none;
    padding-top: 16px;
    margin-top: 8px;
}
.price-row-total .price-value { color: var(--color-primary); }
.price-label-text { color: var(--color-text-light); }
.price-value { font-weight: 600; }
.price-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* ========================================
   GALLERY
   ======================================== */
.gallery-section { background: var(--color-bg-alt); }
.gallery-cat {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-primary);
    margin-bottom: 16px;
    margin-top: 40px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
}
.gallery-cat:first-of-type { margin-top: 0; }

.gallery-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}
.g-col-2 { grid-template-columns: repeat(2, 1fr); }
.g-col-3 { grid-template-columns: repeat(3, 1fr); }
.g-col-4 { grid-template-columns: repeat(4, 1fr); }

.gallery-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.5s cubic-bezier(.16,1,.3,1), box-shadow 0.5s cubic-bezier(.16,1,.3,1);
}
.gallery-card:hover {
    transform: scale(1.015);
    box-shadow: var(--shadow-md);
}
.gallery-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(.16,1,.3,1);
}
.gallery-card:hover img { transform: scale(1.03); }
.g-col-2 .gallery-card img { height: 340px; }
.g-col-3 .gallery-card img { height: 260px; }

/* Gallery plan card */
.gallery-card-plan { position: relative; }
.plan-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    background: linear-gradient(to top, rgba(26,58,42,0.85), transparent);
    color: white;
    font-size: 0.88rem;
    font-weight: 500;
    text-align: center;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 700px) {
    .g-col-3 { grid-template-columns: repeat(2, 1fr); }
    .g-col-4 { grid-template-columns: repeat(2, 1fr); }
    .gallery-card img { height: 180px; }
    .g-col-2 .gallery-card img { height: 240px; }
    .g-col-3 .gallery-card img { height: 200px; }
}
@media (max-width: 500px) {
    .g-col-2 { grid-template-columns: 1fr; }
    .g-col-3 { grid-template-columns: 1fr; }
    .g-col-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   LOCATION
   ======================================== */
.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.location-info { display: flex; flex-direction: column; gap: 20px; }
.location-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.location-detail i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26,58,42,0.08);
    color: var(--color-primary);
    flex-shrink: 0;
    font-size: 0.9rem;
}
.location-detail strong {
    font-size: 0.92rem;
    color: var(--color-primary);
    display: block;
    margin-bottom: 2px;
}
.location-detail p { font-size: 0.88rem; color: var(--color-text-light); }
.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 420px;
    box-shadow: var(--shadow-md);
}

@media (max-width: 800px) {
    .location-grid { grid-template-columns: 1fr; }
    .location-map { min-height: 300px; }
}

/* ========================================
   CONTACT
   ======================================== */
.contact-section { background: var(--color-bg-alt); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.contact-card, .contact-info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.contact-seller {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0ddd7;
}
.seller-logo {
    height: 44px;
    width: auto;
    flex-shrink: 0;
}
.contact-seller h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--color-primary);
}
.contact-seller p { font-size: 0.85rem; color: var(--color-text-light); }
.contact-person {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}
.contact-person-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-person h4 { font-size: 1rem; color: var(--color-primary); }
.contact-person p { font-size: 0.85rem; color: var(--color-text-light); }
.contact-methods { display: flex; flex-direction: column; gap: 10px; }
.contact-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    background: var(--color-bg);
    transition: var(--transition);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-primary);
}
.contact-method:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(6px);
    box-shadow: var(--shadow-sm);
}
.contact-method i {
    width: 20px;
    text-align: center;
}
.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-primary);
    margin-bottom: 16px;
}
.contact-info-list {
    list-style: none;
    margin-bottom: 24px;
}
.contact-info-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.9rem;
    color: var(--color-text-light);
    border-bottom: 1px solid #f0eeea;
    line-height: 1.5;
}
.contact-info-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--color-accent-dark);
    font-size: 0.8rem;
    top: 10px;
}
.contact-finn-link { margin-top: 16px; }
.finn-code {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 8px;
}

@media (max-width: 800px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ========================================
   SUMMARY STRIP
   ======================================== */
.summary-strip {
    background: var(--color-primary);
    padding: 36px 0;
}
.summary-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.summary-item {
    text-align: center;
    color: white;
}
.summary-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}
.summary-item span {
    font-size: 0.8rem;
    opacity: 0.75;
}
.summary-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
}
@media (max-width: 600px) {
    .summary-divider { display: none; }
    .summary-items { gap: 20px; }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}
.footer-brand p { font-size: 0.88rem; line-height: 1.6; }
.footer-links h4, .footer-contact h4 {
    color: white;
    font-size: 0.9rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-links a {
    display: block;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }
.footer-contact p { font-size: 0.88rem; line-height: 1.8; }
.footer-contact a:hover { color: var(--color-accent); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
}
.footer-finn a { color: var(--color-accent); }

@media (max-width: 700px) {
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ========================================
   ANIMATIONS
   ======================================== */
/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Entrance animations (hero, etc.) */
.anim-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: animFadeUp 1s cubic-bezier(.16,1,.3,1) forwards;
}
.anim-fade-down {
    opacity: 0;
    transform: translateY(-16px);
    animation: animFadeDown 1s cubic-bezier(.16,1,.3,1) forwards;
}
.anim-delay-1 { animation-delay: 0.2s; }
.anim-delay-2 { animation-delay: 0.4s; }
.anim-delay-3 { animation-delay: 0.6s; }
.anim-delay-4 { animation-delay: 0.9s; }

@keyframes animFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes animFadeDown {
    to { opacity: 1; transform: translateY(0); }
}

/* Gallery card stagger */
.gallery-grid.visible .gallery-card {
    animation: galleryFadeIn 0.5s ease forwards;
}
.gallery-grid.visible .gallery-card:nth-child(1) { animation-delay: 0.05s; }
.gallery-grid.visible .gallery-card:nth-child(2) { animation-delay: 0.1s; }
.gallery-grid.visible .gallery-card:nth-child(3) { animation-delay: 0.15s; }
.gallery-grid.visible .gallery-card:nth-child(4) { animation-delay: 0.2s; }
.gallery-grid.visible .gallery-card:nth-child(5) { animation-delay: 0.25s; }
.gallery-grid.visible .gallery-card:nth-child(6) { animation-delay: 0.3s; }
.gallery-grid.visible .gallery-card:nth-child(7) { animation-delay: 0.35s; }
.gallery-grid.visible .gallery-card:nth-child(8) { animation-delay: 0.4s; }
@keyframes galleryFadeIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Stat cards stagger */
.stats-grid .stat-card.visible:nth-child(1) { transition-delay: 0s; }
.stats-grid .stat-card.visible:nth-child(2) { transition-delay: 0.08s; }
.stats-grid .stat-card.visible:nth-child(3) { transition-delay: 0.16s; }
.stats-grid .stat-card.visible:nth-child(4) { transition-delay: 0.24s; }
.stats-grid .stat-card.visible:nth-child(5) { transition-delay: 0.32s; }
.stats-grid .stat-card.visible:nth-child(6) { transition-delay: 0.4s; }

/* Smooth scrollbar (webkit) */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-alt); }
::-webkit-scrollbar-thumb { background: #c0b9ae; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #a09890; }

/* Smooth section transitions */
.section {
    transition: opacity 0.3s ease;
}

/* Smoother image loading */
img {
    opacity: 1;
    transition: opacity 0.4s ease;
}
img[loading="lazy"] {
    opacity: 0;
}
img[loading="lazy"].loaded,
img[loading="lazy"]:not([data-src]) {
    opacity: 1;
}

/* Extra hover polish */
.content-row {
    transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.extra-activity {
    transition: background 0.4s cubic-bezier(.16,1,.3,1), transform 0.4s cubic-bezier(.16,1,.3,1);
}
.extra-activity:hover {
    transform: translateX(4px);
}
