/* Reset and Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Eems Regio Kleuren - Water, Industrie, Natuur */
    --primary-color: #2563eb;        /* Diep blauw - Water/Eems rivier */
    --secondary-color: #1e40af;      /* Donkerder blauw - Diepte */
    --accent-color: #0891b2;         /* Cyan - Waddenzee/kust */
    --accent-secondary: #64748b;     /* Slate - Industrie/staal */
    --text-dark: #0f172a;
    --text-medium: #64748b;
    --text-light: #94a3b8;
    --background: #ffffff;
    --background-light: #f8fafc;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.25);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --header-bg: rgba(255, 255, 255, 0.95);
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-accent: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

[data-theme="dark"] {
    --primary-color: #60a5fa;
    --secondary-color: #3b82f6;
    --accent-color: #0ea5e9;
    --text-dark: #f3f4f6;
    --text-medium: #d1d5db;
    --text-light: #9ca3af;
    --background: #0f172a;
    --background-light: #1e293b;
    --card-bg: #1e293b;
    --border-color: #334155;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(96, 165, 250, 0.3);
    --header-bg: rgba(15, 23, 42, 0.95);
    --gradient-primary: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

[data-theme="dark"] .view-more-btn {
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

[data-theme="dark"] .view-more-btn:hover {
    box-shadow: 0 6px 30px rgba(96, 165, 250, 0.4);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(8, 145, 178, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(18px, 3vw, 24px);
    font-weight: 600;
    line-height: 1.3;
}

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-medium);
}

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

/* Header */
header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.02),
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] header {
    background: rgba(15, 23, 42, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 30px rgba(0, 0, 0, 0.3),
        0 1px 3px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

header.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(40px) saturate(250%);
    -webkit-backdrop-filter: blur(40px) saturate(250%);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.06),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

[data-theme="dark"] header.scrolled {
    background: rgba(15, 23, 42, 0.85);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(96, 165, 250, 0.05);
    border-bottom: 1px solid rgba(96, 165, 250, 0.15);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.logo-icon {
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-wave {
    transform-origin: center;
    animation: wave 3s ease-in-out infinite;
}

.logo-dot {
    transform-origin: center;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.05);
}

.logo:hover .logo-text {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-medium);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 6px auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.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;
    transform: translateX(-10px);
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--background);
    z-index: 98;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0.1;
    pointer-events: none;
}

.mobile-nav-content {
    padding: 100px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-nav-links {
    list-style: none;
}

.mobile-nav-links li {
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(20px);
    animation: slideInLeft 0.4s ease forwards;
}

.mobile-nav-links li:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-links li:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-links li:nth-child(3) { animation-delay: 0.2s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 12px;
    border-radius: 8px;
}

.mobile-nav-links a:hover {
    color: var(--primary-color);
    background: var(--background-light);
    transform: translateX(8px);
}

.nav-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    background: var(--background-light);
    border-radius: 50%;
}

.mobile-nav-footer {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.mobile-nav-info {
    margin-top: 24px;
    opacity: 0.6;
}

.mobile-nav-info p {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 8px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--background-light);
    border: 2px solid transparent;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 0.1;
}

.theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
    position: absolute;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.8);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.8);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle.mobile {
    width: auto;
    padding: 8px 16px;
    border-radius: 8px;
    gap: 8px;
}

.theme-toggle.mobile .theme-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-medium);
}

/* Hero Section with Background Image */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.7) 0%, rgba(30, 58, 138, 0.6) 100%),
        url('header.jpg') center/cover;
    color: white;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--background) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}

[data-theme="dark"] .hero {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 64, 175, 0.6) 100%),
        url('header.jpg') center/cover;
}

[data-theme="dark"] .hero::after {
    background: linear-gradient(to top, var(--background) 0%, transparent 100%);
}

.hero .container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-intro {
    margin-bottom: 24px;
    animation: fadeIn 1s ease-out;
}

.hero-location {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    position: relative;
    display: inline-block;
}

.hero-title {
    margin-bottom: 32px;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.title-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(48px, 8vw, 80px);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: white;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.title-sub {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 300;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-top: 16px;
}

.hero-divider {
    margin: 32px auto;
    animation: fadeIn 1s ease-out 0.6s both;
    position: relative;
    height: 1px;
    width: 80px;
}

.hero-divider span {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3) 50%, transparent);
}

.hero-description {
    font-size: clamp(15px, 1.8vw, 17px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 48px;
    animation: fadeInUp 1s ease-out 0.9s both;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-emphasis {
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
}

.hero-nav {
    animation: fadeIn 1s ease-out 1.2s both;
}

.scroll-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.4s ease;
}

.scroll-text {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 400;
}

.scroll-indicator {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.scroll-link:hover .scroll-indicator {
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(4px);
}

.scroll-link:hover .scroll-text {
    color: white;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1, .hero-title {
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s ease-out;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
}

.title-line {
    display: block;
    margin-bottom: 8px;
}

.gradient-text {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p, .hero-subtitle {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: 0.02em;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1a202c;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    gap: 40px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: white;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.hero-scroll span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    color: white;
}

.feature-card h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Collection Section */
.collection {
    padding: 100px 0 120px;
    background: var(--background);
    position: relative;
    margin-top: -40px;
}

.collection::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--border-color), transparent);
    opacity: 0.5;
}

.collection-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.collection-count {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-light);
    display: block;
    margin-bottom: 16px;
}

.collection-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--border-color);
}

.label-text {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-light);
    font-weight: 400;
}

.collection-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.title-accent {
    color: var(--accent-color);
    font-style: italic;
}

.collection-intro {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.cards-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px 40px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.showcase-card {
    position: relative;
    perspective: 1000px;
    margin-bottom: 20px;
}

/* Flip Card Functionality */
.card-flipper {
    position: relative;
    width: 100%;
    aspect-ratio: 148/105; /* A6 postkaart liggend */
    max-width: 450px;
    margin: 0 auto;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.showcase-card.flipped .card-flipper {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    width: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotateY(180deg);
}

.card-back-content {
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.back-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-number {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--text-light);
}

.back-location {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-light);
}

.back-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.back-logo {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 400;
    border-radius: 50%;
    margin-bottom: 20px;
}

.back-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.back-divider {
    width: 40px;
    height: 1px;
    background: var(--border-color);
    margin: 16px auto;
}

.back-tagline {
    font-size: 14px;
    color: var(--text-medium);
    font-style: italic;
    letter-spacing: 0.02em;
}

.back-footer {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.flip-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-medium);
    z-index: 10;
    backdrop-filter: blur(10px);
    opacity: 0;
}

.flip-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.showcase-card.flipped .flip-btn {
    transform: translate(-50%, -50%) rotate(180deg);
    opacity: 1;
}

.showcase-card.flipped .flip-btn:hover {
    transform: translate(-50%, -50%) rotate(180deg) scale(1.1);
}

.card-frame {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    height: 100%;
    border: 1px solid var(--border-color);
}

.showcase-card:hover .card-frame {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: rgba(37, 99, 235, 0.2);
}

.showcase-card:hover .flip-btn {
    opacity: 1;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.showcase-card:hover .card-overlay {
    opacity: 1;
}

.card-location {
    color: white;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

.card-info {
    padding: 20px 8px 0;
    text-align: center;
}

.card-info h3 {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-description {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.6;
    font-style: italic;
}

.section-intro {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-intro h2 {
    color: var(--text-dark);
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
    display: inline-block;
}

.section-intro h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Remove old gallery-item styles if conflicting */
.gallery-item {
    transition: all 0.4s ease;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
    cursor: pointer;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Animated gradient border */
.card::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(45deg,
        #ff0080, #ff8c00, #40e0d0,
        #ff0080, #ff8c00, #40e0d0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
                  linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.card:hover::before {
    opacity: 0.8;
}

[data-theme="dark"] .card::before {
    background: linear-gradient(45deg,
        var(--neon-purple), var(--neon-blue), var(--neon-green),
        var(--neon-purple), var(--neon-blue), var(--neon-green));
}

[data-theme="dark"] .card:hover::before {
    opacity: 1;
    filter: blur(1px);
}

/* Number badges */
.card::after {
    content: attr(data-number);
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    transition: var(--transition);
}

.card:hover::after {
    color: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Card badges */
.card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    z-index: 10;
    animation: badgeSlide 0.6s ease-out;
    backdrop-filter: blur(10px);
}

@keyframes badgeSlide {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Card number watermark */
.card[data-number]::after {
    content: attr(data-number);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 60px;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.06);
    z-index: 1;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Inter', sans-serif;
}

.card:hover[data-number]::after {
    transform: scale(1.15) rotate(-8deg);
    color: rgba(37, 99, 235, 0.12);
}

.card-badge.popular {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.card-badge.new {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

/* Card flip structure */
.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.card.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: relative;
    width: 100%;
    backface-visibility: hidden;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    padding: 30px;
}

/* Card back content styles are defined above with aspect-ratio: 85/55 */

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(30, 64, 175, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.card:hover::before {
    opacity: 1;
}

.card-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Card gradients */
.card-image.eemshaven-sunset {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd93d 100%);
}

.card-image.industrial-eemshaven {
    background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
}

.card-image.river-eems {
    background: linear-gradient(135deg, #4fc3f7 0%, #29b6f6 100%);
}

.card-image.eemshaven-marina {
    background: linear-gradient(135deg, #66bb6a 0%, #43a047 100%);
}

.card-image.windpark-eemshaven {
    background: linear-gradient(135deg, #ab47bc 0%, #8e24aa 100%);
}

.card-image.eems-delfzijl {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.card-content {
    padding: 24px;
}

.card-content h3 {
    margin-bottom: 12px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.card:hover .card-content h3 {
    color: var(--primary-color);
}

.card-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Quick view button */
.quick-view,
.flip-back {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.quick-view:hover,
.flip-back:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.card:not(:hover) .quick-view {
    opacity: 0;
    transform: translateY(10px);
}

.card:hover .quick-view {
    opacity: 1;
    transform: translateY(0);
}

/* Collection CTA */
.collection-cta {
    text-align: center;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease-out;
}

.view-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.view-more-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
}

.view-more-btn:hover::before {
    left: 100%;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
}

.view-more-btn .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.view-more-btn:hover .arrow {
    transform: translateX(5px);
}

/* Story Section */
.story {
    background: var(--background-light);
    padding: 100px 0;
    position: relative;
}

.story-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.story-header {
    text-align: center;
    margin-bottom: 48px;
}

.story-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-light);
    display: block;
    margin-bottom: 16px;
}

.story h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 300;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

.story-text {
    margin-bottom: 60px;
}

.story-text p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
    text-align: justify;
}

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

.divider {
    width: 40px;
    height: 1px;
    background: var(--border-color);
    margin: 40px auto 32px;
}

.story-contact {
    font-size: 14px;
    color: var(--text-medium);
    line-height: 1.8;
}

.story-contact span {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 12px;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.story-contact a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.about-text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.contact-simple {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}

.contact-simple p {
    font-size: 16px;
    color: var(--text-medium);
}

.contact-simple a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    margin-bottom: 48px;
}

.contact-info h2 {
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info p {
    font-size: 18px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

[data-theme="dark"] .contact-form {
    background: rgba(30, 41, 59, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5),
                0 0 80px rgba(0, 212, 255, 0.1);
}

.contact-form h3 {
    margin-bottom: 24px;
    color: var(--text-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Footer Enhanced */
footer {
    background: var(--background-light);
    padding: 80px 0 30px;
    margin-top: 0;
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-simple {
    text-align: center;
    padding-bottom: 40px;
}

.footer-description {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-contact {
    font-size: 16px;
}

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

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
}

.footer-brand p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-socials a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border-radius: 10px;
    color: var(--text-medium);
    transition: all 0.3s ease;
}

.footer-socials a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
    color: var(--text-medium);
}

.footer-column a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-newsletter h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.footer-newsletter p {
    color: var(--text-medium);
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--background);
    color: var(--text-dark);
    font-size: 14px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-medium);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle glow for dark mode */
[data-theme="dark"] .hero h1 {
    text-shadow: 0 0 20px rgba(96, 165, 250, 0.3),
                 0 0 40px rgba(14, 165, 233, 0.2);
    animation: fadeInUp 0.8s ease-out;
}

[data-theme="dark"] .hero p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .logo {
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.4),
                 0 0 20px rgba(14, 165, 233, 0.2);
}

[data-theme="dark"] .logo:hover {
    text-shadow: 0 0 15px rgba(96, 165, 250, 0.6),
                 0 0 30px rgba(14, 165, 233, 0.3);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.3),
                inset 0 0 15px rgba(96, 165, 250, 0.05);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.5),
                0 0 60px rgba(96, 165, 250, 0.2),
                inset 0 0 20px rgba(96, 165, 250, 0.1);
    transform: scale(1.1);
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 90;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

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

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero {
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .hero .container {
        padding: 0 20px;
    }

    .title-main {
        font-size: clamp(40px, 12vw, 56px);
    }

    .hero-description {
        font-size: 15px;
        padding: 0;
    }

    .hero-stats-modern {
        gap: 16px;
        margin-top: 40px;
    }

    .stat-modern {
        padding: 16px 24px;
        min-width: 100px;
    }

    .cards-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 16px;
    }

    .collection {
        padding: 80px 0 100px;
    }

    .collection-header {
        margin-bottom: 50px;
    }

    .story {
        padding: 80px 0;
    }

    .story-text p {
        text-align: left;
    }

    .footer-simple {
        padding-bottom: 30px;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero .container {
        padding-top: 80px;
        padding-bottom: 50px;
    }

    .hero h1 {
        font-size: clamp(26px, 7vw, 36px);
    }

    .hero p {
        font-size: clamp(18px, 4vw, 22px);
    }

    .section-intro h2 {
        font-size: clamp(28px, 7vw, 42px);
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .collection-cta {
        margin-top: 40px;
    }

    .view-more-btn {
        padding: 14px 28px;
        font-size: 16px;
    }

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

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 280px;
    }

    .hero .container {
        padding-top: 70px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: clamp(24px, 6vw, 32px);
    }

    .hero p {
        font-size: clamp(16px, 3.5vw, 20px);
    }

    .contact-form {
        padding: 24px 16px;
        margin: 0 16px;
    }
}

/* ============================================
   MODERN ENHANCEMENTS - 2025 REVAMP
   ============================================ */

/* Gradient Text Animation */
.gradient-text-animated {
    background: linear-gradient(90deg,
        #2563eb 0%,
        #0891b2 50%,
        #2563eb 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Hero Badge Pulse */
.hero-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(37, 99, 235, 0.3);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .hero-badge {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(96, 165, 250, 0.5);
    color: var(--primary-color);
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.hero-badge.pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 30px rgba(37, 99, 235, 0.4);
    }
}

[data-theme="dark"] .hero-badge.pulse {
    animation: pulse-glow-dark 2s ease-in-out infinite;
}

@keyframes pulse-glow-dark {
    0%, 100% {
        box-shadow: 0 0 30px rgba(96, 165, 250, 0.3);
    }
    50% {
        box-shadow: 0 0 50px rgba(96, 165, 250, 0.6);
    }
}

/* Hero Background Overlay */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(8, 145, 178, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme="dark"] .hero-bg-overlay {
    background:
        radial-gradient(circle at 30% 40%, rgba(96, 165, 250, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
}

/* Hero Particles */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
    opacity: 0.6;
}

/* Modern Stats Section */
.hero-stats-modern {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    margin-top: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.stat-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

[data-theme="dark"] .stat-modern {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.3);
}

.stat-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .stat-modern:hover {
    box-shadow: 0 0 40px rgba(96, 165, 250, 0.4);
}

.stat-modern .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-modern .stat-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

/* Card Glow Effect */
.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg,
        #2563eb, #0891b2, #06b6d4, #0891b2, #2563eb);
    background-size: 400% 400%;
    border-radius: 8px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradientRotate 8s ease infinite;
    filter: blur(20px);
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.showcase-card:hover .card-glow {
    opacity: 0.4;
}

[data-theme="dark"] .showcase-card:hover .card-glow {
    opacity: 0.5;
}

/* Glassmorphism Card Frame */
.card-frame {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

[data-theme="dark"] .card-frame {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal on Scroll Animation */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Card Hover */
.showcase-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover {
    transform: translateY(-4px);
}

/* Card Number Styling */
.card-number {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Improved Card Divider */
.card-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color) 50%,
        transparent);
    margin: 12px auto;
}

/* Collection Header Enhancements */
.collection::before {
    background: linear-gradient(to bottom,
        var(--primary-color),
        transparent);
    opacity: 0.3;
}

/* Story Section Glass Effect */
.story {
    position: relative;
    overflow: hidden;
}

.story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(8, 145, 178, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Improved Scroll to Top Button */
.scroll-to-top {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.scroll-to-top:hover {
    box-shadow: 0 6px 30px rgba(37, 99, 235, 0.5);
    transform: translateY(-5px) scale(1.1);
}

[data-theme="dark"] .scroll-to-top {
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.5);
}

[data-theme="dark"] .scroll-to-top:hover {
    box-shadow: 0 0 50px rgba(96, 165, 250, 0.8);
}

/* Enhanced Header Glassmorphism */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

[data-theme="dark"] header {
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Logo Enhancement */
.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(37, 99, 235, 0.3));
}

/* Smooth Nav Links */
.nav-links a {
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    transform: translateX(0);
}

.nav-links a::after {
    display: none;
}

/* Footer Enhancement */
footer {
    background: linear-gradient(to bottom,
        var(--background-light) 0%,
        rgba(248, 250, 252, 0.9) 100%);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--primary-color) 50%,
        transparent);
    opacity: 0.3;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .hero-stats-modern {
        gap: 20px;
    }

    .stat-modern {
        padding: 16px 24px;
    }

    .stat-modern .stat-number {
        font-size: 28px;
    }

    .gradient-text-animated {
        background-size: 150% auto;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}