/*
Theme Name: Øvre Sem Gård Theme
Theme URI: https://ovresem.no
Author: EZ-Fix AS
Description: Profesjonelt tema for Øvre Sem Gård
Version: 6.0.0
Template: generatepress
Text Domain: ovresem
*/

/* ==========================================================================
   CSS Variables - Oppdatert med Brand Book farger
   ========================================================================== */
:root {
    --color-primary: #002611 !important;        /* Brand: Mørk grønn fra logo */
    --color-secondary: #7D4E3A !important;      /* Terrakotta brun */
    --color-background: #fffdf6 !important;     /* Brand: Kremhvit fra logo */
    --color-accent: #C5D4CE !important;         /* Lys salvie */
    --color-white: #FFFFFF !important;
    --color-primary-light: #1a4a2e;
    --color-primary-dark: #001a0b;
    --color-secondary-light: #9A6B52;
    --color-secondary-dark: #5E3A2B;
    --color-text: #1A1A1A;
    --color-text-muted: #5a5a5a;
    --color-border: #E5E0D5;
    --shadow-sm: 0 2px 8px rgba(0, 38, 17, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 38, 17, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 38, 17, 0.16);
    /* Override GeneratePress variables */
    --base-3: #fffdf6 !important;
    --base-2: #f5f3ee !important;
    --base: #e5e0d5 !important;
    --contrast: #002611 !important;
    --contrast-2: #5a5a5a !important;
}

/* ==========================================================================
   SKJUL SIDETITLER (Forside, Konferanse etc.) - STERK SPESIFISITET
   ========================================================================== */
.entry-title,
.page-title,
h1.entry-title,
header.entry-header,
.page .entry-header,
.single .entry-header,
article .entry-header,
.hentry .entry-header,
body .entry-title,
body h1.entry-title,
body.page .entry-title,
body.single .entry-title,
#primary .entry-title,
.site-main .entry-title,
.content-area .entry-title,
article.page .entry-header,
article.type-page .entry-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

/* ==========================================================================
   OPPLEVELSER SEKSJON - Kursiv titler og fylte knapper
   ========================================================================== */
.section-opplevelser h3,
.opplevelser-grid h3,
.opplevelse-box h3,
.section-accent h3 {
    font-style: italic !important;
    font-family: 'Playfair Display', Georgia, serif !important;
}

/* Les mer knapper - FYLLT GRØNN */
.section-opplevelser .btn,
.section-opplevelser .btn-outline,
.opplevelser-grid .btn,
.opplevelse-box .btn,
.opplevelse-box a.btn,
.section-accent .btn-outline {
    background: #002611 !important;
    background-color: #002611 !important;
    color: #ffffff !important;
    border: none !important;
    border-color: #002611 !important;
}

.section-opplevelser .btn:hover,
.opplevelse-box .btn:hover,
.section-accent .btn-outline:hover {
    background: #001a0b !important;
    background-color: #001a0b !important;
    color: #ffffff !important;
}

/* ==========================================================================
   GENERELLE KNAPPER
   ========================================================================== */
.btn-outline {
    background: transparent !important;
    color: #002611 !important;
    border: 2px solid #002611 !important;
}

.btn-outline:hover {
    background: #002611 !important;
    color: #ffffff !important;
}

.btn-primary {
    background: #7D4E3A !important;
    background-color: #7D4E3A !important;
    color: #ffffff !important;
    border-color: #7D4E3A !important;
}

.btn-primary:hover {
    background: #5E3A2B !important;
    background-color: #5E3A2B !important;
}

.btn-secondary {
    background: #002611 !important;
    background-color: #002611 !important;
    color: #ffffff !important;
    border-color: #002611 !important;
}

.btn-secondary:hover {
    background: #001a0b !important;
    background-color: #001a0b !important;
}

/* ==========================================================================
   FJERN GENERATEPRESS FOOTER CREDIT
   ========================================================================== */
.site-info,
.footer-bar,
.copyright-bar,
.site-info a,
a[href*="developer.wordpress.org"],
a[href*="developer.wordpress"],
a[href*="developer.wordpress.org"]:hover,
.site-footer .site-info,
footer .site-info,
.generate-footer .site-info {
    display: none !important;
    visibility: hidden !important;
}

/* ==========================================================================
   Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Inter:wght@400;500;600&display=swap');

/* ==========================================================================
   Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', Georgia, serif !important;
    font-size: 18px;
    line-height: 1.7;
    color: #1A1A1A !important;
    background-color: #fffdf6 !important;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Override GeneratePress containers */
.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.one-container .container,
.inside-page-header {
    background-color: transparent !important;
    padding: 0 !important;
}

.site-content,
.content-area,
#primary,
.site-main {
    background-color: #fffdf6 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }

h1 em, h2 em, h3 em, h4 em {
    font-style: italic;
    font-weight: 400;
}

p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 1.5em;
}

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

a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   FJERN FLOATING CTA HELT
   ========================================================================== */
.floating-cta {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* ==========================================================================
   HEADER - Med offisiell logo
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-background);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.main-navigation,
#site-navigation,
.menu-toggle-wrapper,
.site-branding,
.site-title,
.site-description,
.generate-inside-header {
    display: none !important;
}

.ovresem-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

/* Logo - Kun bilde, ingen tekst */
.header-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo .site-logo {
    height: 70px;
    width: auto;
    display: block;
}

/* Fjern gammel logo-tekst */
.header-logo .logo-text,
.header-logo .logo-icon {
    display: none !important;
}

/* Desktop nav */
.desktop-nav {
    display: flex;
    align-items: center;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

.desktop-nav li {
    margin: 0;
}

.desktop-nav a {
    font-family: 'Lora', Georgia, serif;
    font-size: 16px;
    color: var(--color-primary);
    padding: 0.5rem 0;
    position: relative;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* Hamburger */
.hamburger-menu {
    display: none;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.hamburger-icon span {
    display: block;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 32px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--color-secondary);
    color: var(--color-white) !important;
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background: var(--color-secondary-dark);
    border-color: var(--color-secondary-dark);
    color: var(--color-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(125, 78, 58, 0.3);
}

.btn-secondary {
    background: var(--color-primary);
    color: var(--color-white) !important;
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white) !important;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.sidebar, #secondary, .widget-area {
    display: none !important;
}

.content-area, #primary, .site-main {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
}

.inside-article, .entry-content {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-content {
    display: block !important;
}

.content-area {
    float: none !important;
}

.inside-page, .inside-article {
    max-width: 100%;
    padding: 0;
}

/* ==========================================================================
   HERO SECTION - FORSIDE (med karusell)
   ========================================================================== */
.front-page .hero-section {
    position: relative;
    background: var(--color-background);
    padding: 0;
    width: 100%;
}

.hero-carousel {
    position: relative;
    width: calc(100% - 4rem);
    max-width: 1400px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
}

.hero-carousel img {
    width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: cover;
    display: block;
}

.carousel-slide {
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    z-index: 10;
    font-size: 18px;
}

.carousel-nav:hover {
    background: var(--color-primary-dark);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev { left: 1.5rem; }
.carousel-nav.next { right: 1.5rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--color-primary);
}

/* Hero content under karusell - FORSIDE */
.front-page .hero-content {
    position: relative;
    text-align: center;
    padding: 3rem 2rem 4rem;
    background: #fffdf6;
    max-width: 900px;
    margin: 0 auto;
}

/* Velkommen seksjon - full bredde, stor tekst */
.content-section.section-cream {
    background: #fffdf6 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
    padding: 80px 2rem !important;
}

.content-section.section-cream h2 {
    font-size: 48px !important;
    color: #002611 !important;
    margin-bottom: 1.5rem !important;
}

.content-section.section-cream p {
    font-size: 20px !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #5a5a5a;
}

/* ==========================================================================
   HERO SECTION - UNDERSIDER (med bakgrunnsbilde)
   ========================================================================== */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-section .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-section .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 253, 246, 0.95);
    border-radius: 16px;
    margin: 2rem;
}

.hero-section .hero-content h1 {
    font-size: 42px;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.hero-section .hero-content .hero-subtitle {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.hero-section .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Forside hero content styling */
.hero-content h1 {
    font-size: 48px;
    line-height: 1.15;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 20px;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
    padding: 60px 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--color-text-muted);
    font-size: 18px;
}

.section-cream,
.section.section-cream {
    background: var(--color-background);
    max-width: 100%;
    padding: 60px 0;
}

.section-cream .container,
.section.section-cream > * {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-white {
    background: var(--color-white);
}

.section-accent,
.section-opplevelser {
    background: var(--color-accent) !important;
    padding: 80px 0;
    width: 100%;
}

/* ==========================================================================
   OPPLEVELSER GRID
   ========================================================================== */
.opplevelser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.opplevelse-box {
    background: transparent;
    text-align: center;
    padding: 2rem 1.5rem;
}

.opplevelse-box h3 {
    font-size: 26px;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.opplevelse-box p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    font-size: 16px;
}

/* ==========================================================================
   SERVICES GRID
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
    margin-bottom: 0;
}

.service-card-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-secondary);
    font-weight: 500;
}

/* ==========================================================================
   ROOM GRID
   ========================================================================== */
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.room-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.room-card-content {
    padding: 1.5rem;
}

.room-card-title {
    font-size: 22px;
    margin-bottom: 0.5rem;
}

.room-card-capacity {
    color: var(--color-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* ==========================================================================
   IMAGE GALLERY
   ========================================================================== */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.image-gallery img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   CONTENT SECTIONS
   ========================================================================== */
.content-section {
    padding: 80px 0;
}

.content-section.section-cream {
    background: var(--color-background);
}

.content-section.section-white {
    background: var(--color-white);
}

.content-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.content-section > .container p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item .stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: var(--color-primary);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-item .stat-label {
    color: var(--color-text-muted);
    font-size: 16px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
    padding: 80px 2rem;
    text-align: center;
    background: var(--color-primary);
    color: var(--color-white);
}

.cta-section h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn-primary {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-grid h3 {
    font-size: 22px;
    margin-bottom: 0.75rem;
}

.contact-grid p {
    color: var(--color-text-muted);
    margin: 0;
}

.contact-grid a {
    color: var(--color-primary);
}

.contact-grid a:hover {
    color: var(--color-secondary);
}

/* ==========================================================================
   TABLES
   ========================================================================== */
.styled-table,
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 2rem 0;
}

.styled-table th,
table th {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 20px;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.styled-table td,
table td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-border);
}

.styled-table tr:last-child td,
table tr:last-child td {
    border-bottom: none;
}

.styled-table tbody tr:hover,
table tbody tr:hover {
    background: var(--color-accent);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    margin: 0;
    color: var(--color-text-muted);
    text-align: left;
}

/* ==========================================================================
   FOOTER - Med offisiell logo
   ========================================================================== */
.ovresem-footer {
    background: var(--color-background);
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-column {
    text-align: left;
}

/* Footer logo - kun bilde */
.footer-logo {
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    display: block;
}

.footer-logo .logo-text {
    display: none !important;
}

.footer-address {
    color: var(--color-text-muted);
    margin-top: 1rem;
    line-height: 1.6;
}

.footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.footer-links a {
    font-size: 15px;
    color: var(--color-text-muted);
}

.footer-links a:hover {
    color: var(--color-secondary);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-secondary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 20px 2rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
    font-size: 14px;
    color: var(--color-text-muted);
}

.site-info, .footer-bar, .copyright-bar,
a[href*="developer.wordpress.org"] {
    display: none !important;
}

/* ==========================================================================
   MOBILE MENU OVERLAY
   ========================================================================== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-background);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    font-size: 40px;
    color: var(--color-primary);
    cursor: pointer;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu-list li {
    margin: 1.5rem 0;
}

.mobile-menu-list a {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    color: var(--color-primary);
}

.mobile-menu-list a:hover {
    color: var(--color-secondary);
}

.mobile-menu-contact {
    margin-top: 3rem;
    text-align: center;
    color: var(--color-text-muted);
}

/* ==========================================================================
   RELATED LINKS
   ========================================================================== */
.related-links {
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.related-links h2 {
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 0 2rem;
}

.related-links ul {
    list-style: none;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.related-links li a {
    display: inline-block;
    padding: 10px 20px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.related-links li a:hover {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .opplevelser-grid,
    .room-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .ovresem-header {
        padding: 1rem 1.5rem;
    }

    .header-logo .site-logo {
        height: 60px;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 30px; }
    h3 { font-size: 24px; }

    .hero-content h1,
    .hero-section .hero-content h1 {
        font-size: 32px;
    }

    .hero-carousel {
        width: calc(100% - 2rem);
        margin: 1rem auto;
    }

    .hero-section .hero-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .opplevelser-grid,
    .room-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-column {
        text-align: center;
    }

    .footer-logo-img {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .image-gallery {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .section,
    .section-opplevelser,
    .section-accent,
    .content-section {
        padding: 50px 0;
    }

    .section {
        padding: 40px 1.5rem;
    }

    .header-logo .site-logo {
        height: 50px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 1rem;
    }

    .btn {
        padding: 12px 24px;
    }

    .stat-item .stat-number {
        font-size: 42px;
    }

    .hero-section {
        min-height: 40vh;
    }

    .header-logo .site-logo {
        height: 45px;
    }
}

/* ==========================================================================
   WORDPRESS OVERRIDES
   ========================================================================== */
.generate-inside-footer,
.generate-footer-widgets {
    display: none !important;
}

.entry-content > *:first-child {
    margin-top: 0;
}

.wp-block-cover {
    border-radius: 16px;
    overflow: hidden;
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

.inside-header {
    padding: 0;
    max-width: 100%;
}

/* Entry content padding for sub-pages */
.page:not(.front-page) .entry-content {
    padding-top: 0;
}

.page:not(.front-page) .entry-content > .section:first-child,
.page:not(.front-page) .entry-content > .hero-section:first-child {
    margin-top: 0;
}
