:root {
    --primaryColor: #e9611a;
    --secondaryColor: #91cbd9;
    --beigeColor: #f5f1eb;
    --globalBodyBackgroundColor: #fff;
    --globalFontColor: #191919;
    --globalFontColorSecondary: #4c4c4c;
    --globalFontColorTertiary: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 15px;
    color: var(--globalFontColor);
    background-color: var(--globalBodyBackgroundColor);
    line-height: 1.6;
}

/* Info stripe */
.sft-info-stripe {
    background: var(--beigeColor);
    color: var(--primaryColor);
    text-align: center;
    padding: 8px 16px;
    position: relative;
    z-index: 101;
}

.sft-info-stripe strong {
    font-family: 'Public Sans', sans-serif;
}

/* Header */
.sft-sticky-header {
    background-color: transparent;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    position: fixed;
    top: 36px;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background-color 0.3s ease, border-bottom-color 0.3s ease, top 0.3s ease;
}

.sft-sticky-header.scrolled {
    background-color: var(--globalBodyBackgroundColor);
    border-bottom: 1px solid #f2f2f2;
    top: 0;
}

/* Header overrides for non-index pages */
.page-header-fixed .sft-sticky-header {
    background-color: var(--globalBodyBackgroundColor);
    position: sticky;
    top: 0;
    border-bottom: none;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    position: relative;
}

/* Mobile menu button */
.sft-mobile-btn {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: white;
}

.page-header-fixed .sft-mobile-btn {
    color: var(--globalFontColor);
}

.sft-sticky-header.scrolled .sft-mobile-btn {
    color: var(--globalFontColor);
}

.sft-mobile-btn svg {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    stroke: white;
    fill: none;
}

.page-header-fixed .sft-mobile-btn svg {
    stroke: var(--globalFontColor);
}

.sft-sticky-header.scrolled .sft-mobile-btn svg {
    stroke: var(--globalFontColor);
}

.mobile-menu-btn {
    display: block;
    cursor: pointer;
    z-index: 101;
    position: relative;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hamburger icon */
.hamburger-icon {
    width: 24px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-right: 8px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
}

.page-header-fixed .hamburger-line {
    background-color: var(--globalFontColor);
}

.sft-sticky-header.scrolled .hamburger-line {
    background-color: var(--globalFontColor);
}

/* Hamburger animation to cross */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile dropdown menu - slides from under header */
.mobile-nav {
    position: fixed;
    top: 116px; /* Info stripe (36px) + Header (80px) */
    left: 0;
    width: 100%;
    background-color: var(--globalBodyBackgroundColor);
    transform: translateY(-100%);
    transition: all 0.3s ease;
    z-index: 99;
    padding-top: 0;
    padding-bottom: 0px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
}

.page-header-fixed .mobile-nav {
    top: 140px;
}

/* When header is scrolled - menu should be positioned under header (reduced height) */
.mobile-nav.scrolled-state {
    top: 68px; /* Adjusted for reduced header padding */
}

.mobile-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    display: block;
    padding: 20px 30px;
    color: var(--globalFontColor);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--primaryColor);
    color: white;
}

@media (min-width: 768px) {
    .mobile-nav {
        display: none;
    }
}

/* Logo */
.logo {
    position: relative;
    z-index: 101;
}

.logo img {
    height: 180px;
    width: auto;
    position: relative;
    top: 5px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.page-header-fixed .logo img {
    filter: none;
}

.sft-sticky-header.scrolled .logo img {
    filter: none;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 32px;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
    }
}

.desktop-nav a {
    text-decoration: none;
    color: white;
    font-weight: 400;
    font-size: 15px;
    transition: color 0.3s;
}

.page-header-fixed .desktop-nav a {
    color: var(--globalFontColor);
}

.desktop-nav a:hover {
    color: var(--primaryColor);
}

.sft-sticky-header.scrolled .desktop-nav a {
    color: var(--globalFontColor);
}

.sft-sticky-header.scrolled .desktop-nav a:hover {
    color: var(--primaryColor);
}

.desktop-nav a.active {
    color: var(--primaryColor);
    font-weight: 600;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 16px 10px 16px;
}

.breadcrumbs-container {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 13px;
    color: var(--globalFontColorTertiary);
    text-align: center;
}

.breadcrumbs a {
    color: var(--globalFontColorTertiary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumbs a:hover {
    color: var(--primaryColor);
}

.breadcrumbs .separator {
    margin: 0 6px;
    color: var(--globalFontColorTertiary);
}

.breadcrumbs .current {
    color: var(--globalFontColorSecondary);
}

/* Main content */
main {
    flex: 1;
    padding: 0;
}

/* Content sections for sub-pages */
.page-main {
    padding: 40px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--globalFontColor);
    margin-bottom: 20px;
}

.page-header .subtitle {
    font-size: 1.2rem;
    color: var(--globalFontColorSecondary);
    font-style: italic;
}

.content-section {
    margin-bottom: 40px;
    text-align: center;
}

.content-section h2 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primaryColor);
    margin-bottom: 20px;
}

.content-section p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    color: var(--globalFontColor);
}

.content-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.content-section ul li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 10px;
    color: var(--globalFontColor);
    position: relative;
    padding-left: 25px;
}

.content-section ul li:before {
    content: "•";
    color: var(--primaryColor);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -5px;
}

/* Image sections */
.sandra-image,
.manifest-image {
    text-align: center;
    margin: 40px 0 60px 0;
}

.sandra-image img,
.manifest-image img {
    width: 100%;
    max-width: 1400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    object-fit: cover;
}

/* Contact info styling */
.contact-info {
    background-color: var(--secondaryColor);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info h3 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--globalFontColor);
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 25px;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h4 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primaryColor);
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.contact-item a {
    color: var(--globalFontColor);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primaryColor);
    text-decoration: underline;
}

/* Manifest specific styles */
.sygnet-section {
    text-align: center;
    margin: 40px 0;
}

.sygnet-section svg {
    width: 60px;
    height: auto;
    margin: 20px 0;
}

.quote {
    background-color: #f9f9f9;
    border-left: 4px solid var(--primaryColor);
    padding: 20px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--globalFontColorSecondary);
}

.back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 24px;
    background-color: var(--primaryColor);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.back-link:hover {
    background-color: #d55419;
}

/* Image Grid Layout - Homepage only */
.image-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.image-row {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.image-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero section - first row */
.image-row:first-child .image-item {
    min-height: 80vh;
}

/* Desktop responsive grid */
@media (min-width: 768px) {
    .image-row {
        flex-direction: row;
    }
    
    .image-row:first-child .image-item {
        min-height: 100vh;
    }
    
    .image-item.half-width {
        width: 50%;
        min-height: 50vh;
    }
    
    .image-item.full-width {
        width: 100%;
    }
}

/* Content overlay */
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 40px;
    text-align: center;
}

/* Instagram link styling */
.instagram-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.instagram-logo {
    margin-bottom: 16px;
}

.instagram-link:hover .instagram-logo path {
    stroke: var(--primaryColor);
}

.image-item:hover .content-overlay {
    opacity: 1;
}

.content-overlay h2 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--globalFontColor);
    margin-bottom: 16px;
}

.content-overlay p {
    font-size: 1rem;
    color: var(--globalFontColorSecondary);
    line-height: 1.6;
    max-width: 500px;
}

/* Hero content - first image */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-content h1 {
    font-family: 'Josefin Sans', Arial, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Taller sections for specific content */
.image-row.taller {
    min-height: 100vh;
}

/* Text overlays */
.about-me-overlay {
    position: absolute;
    top: 50%;
    right: 20px;
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: white;
    z-index: 5;
    transform: translateY(-50%) rotate(90deg);
    transform-origin: center;
    transition: opacity 0.3s ease;
}

.za-kulisami-overlay {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: white;
    z-index: 5;
    transition: opacity 0.3s ease;
}

.kontakt-overlay {
    position: absolute;
    top: 28%;
    left: 69%;
    font-family: 'Permanent Marker', cursive;
    font-size: 3rem;
    color: white;
    z-index: 5;
    transform: translate(-50%, -50%) rotate(15deg);
    transition: opacity 0.3s ease;
    letter-spacing: 3px;
}

.manifest-overlay {
    position: absolute;
    top: 35%;
    right: 9%;
    font-family: 'Permanent Marker', cursive;
    font-size: 2.5rem;
    color: white;
    z-index: 5;
    transition: opacity 0.3s ease;
    transform-origin: center;
}

.manifest-overlay .curved-text {
    display: inline-block;
    transform: rotate(65deg) skewY(-5deg);
    letter-spacing: 0.3em;
    transform-origin: center bottom;
}

/* Hide text overlays on hover */
.image-item:hover .about-me-overlay,
.image-item:hover .za-kulisami-overlay,
.image-item:hover .kontakt-overlay,
.image-item:hover .manifest-overlay {
    opacity: 0;
}

/* Background images - Homepage only */
.bg-1 { background-image: url('./ohai-75-optimized.jpg'); }
.bg-2 { background-image: url('./ohai-47-optimized.jpg'); background-position: center bottom; }
.bg-3 { background-image: url('./ohai-59-optimized.jpg'); background-position: center bottom; }
.bg-4 { background-image: url('./ohai-37-optimized.jpg'); }
.bg-5 { background-image: url('./ohai-91-optimized.jpg'); }
.bg-6 { background-image: url('./0_0_storefrontImages_91a5ec39-dca3-4bdd-b9e2-44ba8be01b04.webp'); }
.bg-7 { background-image: url('./0_0_storefrontImages_e1b7628f-c196-4f06-9fc0-a9d9568c5370.jpeg'); }
.bg-8 { background-image: url('./0_0_storefrontImages_f226690a-e824-4716-b05e-fe2581a410ba.jpeg'); }

/* Hero section overlay for better text readability */
.bg-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Footer */
footer {
    background-color: var(--beigeColor);
    color: var(--primaryColor);
    text-align: center;
    padding: 32px 16px;
    margin-top: 0;
}

.page-footer {
    margin-top: 80px;
}

footer p {
    font-size: 14px;
}

/* Hide elements on mobile/desktop */
.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: block;
    }
    .hidden-desktop {
        display: none;
    }
}

/* Mobile card expansion */
@media (max-width: 767px) {
    .image-item.mobile-expanded .content-overlay {
        opacity: 1;
    }
    
    .image-item.mobile-expanded .about-me-overlay,
    .image-item.mobile-expanded .za-kulisami-overlay,
    .image-item.mobile-expanded .kontakt-overlay,
    .image-item.mobile-expanded .manifest-overlay {
        opacity: 0;
    }
}

/* Mobile break for info stripe */
@media (max-width: 767px) {
    .mobile-break {
        display: block;
    }
}

/* Mobile styles - Simplified */
@media (max-width: 767px) {
    /* Header - sticky and transparent initially like desktop */
    .sft-sticky-header {
        position: fixed;
        top: 44px;
        left: 0;
        right: 0;
        z-index: 100;
        background-color: transparent;
        border-bottom: 1px solid transparent;
        transition: background-color 0.3s ease, border-bottom-color 0.3s ease, top 0.3s ease, padding 0.3s ease;
    }
    
    .page-header-fixed .sft-sticky-header {
        position: sticky;
        top: 0;
        background-color: var(--globalBodyBackgroundColor);
        border-bottom: none;
        padding: 8px 0;
    }
    
    .sft-sticky-header.scrolled {
        background-color: var(--globalBodyBackgroundColor);
        border-bottom: 1px solid #f2f2f2;
        top: 0;
        padding: 4px 0; /* Reduce padding to make background smaller */
    }
    
    .logo img {
        filter: brightness(0) invert(1);
        height: 120px;
        transition: filter 0.3s ease;
    }
    
    .page-header-fixed .logo img {
        filter: none;
        height: 120px;
    }
    
    .sft-sticky-header.scrolled .logo img {
        filter: none;
    }
    
    .desktop-nav a,
    .sft-mobile-btn {
        color: white;
        transition: color 0.3s ease;
    }
    
    .page-header-fixed .desktop-nav a,
    .page-header-fixed .sft-mobile-btn {
        color: var(--globalFontColor);
    }
    
    .sft-mobile-btn svg {
        stroke: white;
        transition: stroke 0.3s ease;
    }
    
    .page-header-fixed .sft-mobile-btn svg {
        stroke: var(--globalFontColor);
    }
    
    .sft-sticky-header.scrolled .desktop-nav a,
    .sft-sticky-header.scrolled .sft-mobile-btn {
        color: var(--globalFontColor);
    }
    
    .sft-sticky-header.scrolled .sft-mobile-btn svg {
        stroke: var(--globalFontColor);
    }
    
    .header-container {
        height: 62px;
    }
    
    /* Remove top padding since header is transparent initially */
    main {
        padding-top: 0;
    }
    
    .page-main {
        padding: 20px 16px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    /* Hero text responsive */
    .hero-content blockquote {
        font-size: 1.2rem !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        max-width: 90% !important;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    }
    
    .hero-content p {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    }
    
    .content-overlay h2 {
        font-size: 1.5rem;
    }
    
    .content-overlay {
        padding: 20px;
    }
    
    /* Text overlays */
    .about-me-overlay,
    .za-kulisami-overlay,
    .manifest-overlay,
    .kontakt-overlay {
        font-size: 1.5rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }

    .contact-info {
        padding: 30px 20px;
    }

    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .content-section ol {
        padding-left: 20px;
        margin-left: 16px;
    }
    
    .content-section ol li {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Fix mobile menu position for subpages */
    .page-header-fixed .mobile-nav {
        top: 140px; /* Info stripe + sticky header + breadcrumbs */
    }
    
    /* Fix mobile menu position when scrolled on subpages - menu follows sticky header */
    .page-header-fixed .mobile-nav.scrolled-state {
        top: 68px; /* Header height + breadcrumbs after scroll (no info stripe) */
    }
}