/* ==========================================================================
   Valland Festdrakt - Landing Pages CSS
   Brukes sammen med Bootstrap 5.3
   Versjon 2.0 - Full-bleed bakgrunner
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fargevariabler
   -------------------------------------------------------------------------- */
:root {
	--valland-primary: #80006E;
	--valland-primary-hover: #6B2C5C;
	--valland-secondary: #6B2C5C;
	--valland-pink-light: #F5E4E8;
	--valland-pink-medium: #EBD0D6;
	--valland-text: #1a1a1a;
	--valland-text-muted: #666666;
	--valland-white: #ffffff;
	--valland-off-white: #faf9f9;
}

/* --------------------------------------------------------------------------
   Base & Typography
   -------------------------------------------------------------------------- */
.vl-landing {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	color: var(--valland-text);
	line-height: 1.7;
}

.vl-landing h1,
.vl-landing h2,
.vl-landing h3,
.vl-landing h4 {
	font-family: 'Roboto', sans-serif;
	font-weight: 700;
}

.vl-landing h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	color: var(--valland-text);
	margin-bottom: 1rem;
}

.vl-landing h2 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	color: var(--valland-secondary);
	margin-bottom: 1.5rem;
}

.vl-landing h3 {
	font-size: 1.35rem;
	color: var(--valland-text);
	margin-bottom: 1rem;
}

.vl-landing p.lead {
	font-size: 1.2rem;
	line-height: 1.8;
	color: var(--valland-text-muted);
}

/* --------------------------------------------------------------------------
   Full-Bleed Seksjon - Bakgrunn går full bredde, innhold sentrert
   -------------------------------------------------------------------------- */
.vl-fullbleed {
	position: relative;
	padding: 4rem 0;
}

.vl-fullbleed::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
}

/* Bakgrunnsfarger */
.vl-fullbleed.vl-bg-pink::before {
	background-color: var(--valland-pink-light);
}

.vl-fullbleed.vl-bg-alt::before {
	background-color: var(--valland-off-white);
}

.vl-fullbleed.vl-bg-gradient::before {
	background: linear-gradient(135deg, var(--valland-pink-light) 0%, var(--valland-white) 100%);
}

.vl-fullbleed.vl-bg-cta::before {
	background: linear-gradient(135deg, var(--valland-secondary) 0%, var(--valland-primary) 100%);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.vl-hero {
	position: relative;
	padding: 4rem 0;
}

.vl-hero::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	background: linear-gradient(135deg, var(--valland-pink-light) 0%, var(--valland-white) 100%);
	z-index: -2;
}

.vl-hero::after {
	content: '';
	position: absolute;
	top: -20%;
	right: 5%;
	width: 400px;
	height: 400px;
	background: var(--valland-pink-medium);
	border-radius: 50%;
	opacity: 0.3;
	z-index: -1;
	pointer-events: none;
}

.vl-hero-content {
	padding: 2rem 0;
}

.vl-hero-image img {
	border-radius: 12px;
	box-shadow: 0 20px 60px rgba(107, 44, 92, 0.15);
	width: 100%;
	height: auto;
}

.vl-meta {
	font-size: 0.875rem;
	color: var(--valland-text-muted);
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.vl-meta svg {
	width: 16px;
	height: 16px;
}

/* --------------------------------------------------------------------------
   Standard Section (uten full-bleed)
   -------------------------------------------------------------------------- */
.vl-section {
	padding: 4rem 0;
}

.vl-section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem auto;
}

/* --------------------------------------------------------------------------
   Feature Cards
   -------------------------------------------------------------------------- */
.vl-feature-card {
	background: var(--valland-white);
	border-radius: 12px;
	padding: 2rem;
	height: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(107, 44, 92, 0.08);
}

.vl-feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(107, 44, 92, 0.12);
}

.vl-feature-icon {
	width: 60px;
	height: 60px;
	background: var(--valland-pink-light);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1.25rem;
}

.vl-feature-icon svg {
	width: 28px;
	height: 28px;
	color: var(--valland-primary);
}

.vl-feature-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
}

.vl-feature-card p {
	color: var(--valland-text-muted);
	margin-bottom: 0;
	font-size: 0.95rem;
}

.vl-feature-card .vl-feature-icon i {
	font-size: 28px;
	color: var(--valland-primary);
}

.vl-feature-card ul {
	padding-left: 1.2rem;
	margin-top: 1rem;
	margin-bottom: 0;
}

.vl-feature-card li {
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
	color: var(--valland-text-muted);
}

/* --------------------------------------------------------------------------
   Styling Grid (for bilder)
   -------------------------------------------------------------------------- */
.vl-image-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin: 2rem 0;
}

.vl-image-grid-item {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	aspect-ratio: 4/5;
}

.vl-image-grid-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.vl-image-grid-item:hover img {
	transform: scale(1.05);
}

.vl-image-grid-item .vl-image-label {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: linear-gradient(transparent, rgba(0,0,0,0.7));
	color: white;
	padding: 2rem 1rem 1rem 1rem;
	font-weight: 600;
	font-size: 0.95rem;
}

@media (max-width: 768px) {
	.vl-image-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
   Content Image
   -------------------------------------------------------------------------- */
.vl-content-image {
	border-radius: 12px;
	overflow: hidden;
	margin: 2rem 0;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.vl-content-image img {
	width: 100%;
	height: auto;
	display: block;
}

.vl-content-image figcaption {
	background: var(--valland-off-white);
	padding: 1rem;
	text-align: center;
	font-size: 0.9rem;
	color: var(--valland-text-muted);
	font-style: italic;
}

/* --------------------------------------------------------------------------
   Highlight Box
   -------------------------------------------------------------------------- */
.vl-highlight-box {
	background: var(--valland-white);
	border-radius: 16px;
	padding: 2.5rem;
	box-shadow: 0 10px 50px rgba(107, 44, 92, 0.1);
	border-left: 5px solid var(--valland-primary);
}

.vl-highlight-box h3 {
	color: var(--valland-secondary);
	margin-bottom: 1rem;
}

.vl-highlight-box ul {
	margin-bottom: 0;
}

.vl-highlight-box li {
	padding: 0.4rem 0;
}

/* --------------------------------------------------------------------------
   Tips Box
   -------------------------------------------------------------------------- */
.vl-tip-box {
	background: var(--valland-pink-light);
	border-radius: 12px;
	padding: 1.5rem 2rem;
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin: 2rem 0;
}

.vl-tip-box svg {
	width: 24px;
	height: 24px;
	color: var(--valland-primary);
	flex-shrink: 0;
	margin-top: 2px;
}

.vl-tip-box p {
	margin-bottom: 0;
}

.vl-tip-box strong {
	color: var(--valland-primary);
}

/* --------------------------------------------------------------------------
   Table
   -------------------------------------------------------------------------- */
.vl-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.vl-table thead th {
	background: var(--valland-secondary);
	color: var(--valland-white);
	padding: 1rem 1.25rem;
	font-weight: 600;
	text-align: left;
}

.vl-table tbody td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid #eee;
	background: var(--valland-white);
}

.vl-table tbody tr:last-child td {
	border-bottom: none;
}

.vl-table tbody tr:hover td {
	background: var(--valland-off-white);
}

/* --------------------------------------------------------------------------
   Accordion
   -------------------------------------------------------------------------- */
.vl-accordion .accordion-button {
	font-family: 'Roboto', sans-serif;
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--valland-text);
	background: var(--valland-white);
	padding: 1.25rem 1.5rem;
}

.vl-accordion .accordion-button:not(.collapsed) {
	background: var(--valland-pink-light);
	color: var(--valland-secondary);
	box-shadow: none;
}

.vl-accordion .accordion-button:focus {
	box-shadow: 0 0 0 3px rgba(128, 0, 110, 0.15);
	border-color: var(--valland-primary);
}

.vl-accordion .accordion-body {
	padding: 1.5rem;
}

.vl-accordion .accordion-item {
	border: 1px solid rgba(107, 44, 92, 0.15);
	margin-bottom: 0.5rem;
	border-radius: 8px !important;
	overflow: hidden;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.vl-btn-primary {
	background-color: var(--valland-primary);
	border-color: var(--valland-primary);
	color: var(--valland-white);
	padding: 0.875rem 2.5rem;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-size: 1.1rem;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

.vl-btn-primary:hover {
	background-color: var(--valland-primary-hover);
	border-color: var(--valland-primary-hover);
	color: var(--valland-white);
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(128, 0, 110, 0.3);
}

.vl-btn-outline {
	background-color: transparent;
	border: 2px solid var(--valland-primary);
	color: var(--valland-primary);
	padding: 0.75rem 2rem;
	border-radius: 50px;
	font-family: 'Montserrat', sans-serif;
	font-weight: 500;
	transition: all 0.3s ease;
	text-decoration: none;
	display: inline-block;
}

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

/* --------------------------------------------------------------------------
   CTA Section - Full bleed
   -------------------------------------------------------------------------- */
.vl-cta-section {
	position: relative;
	color: var(--valland-white);
	padding: 4rem 0;
	text-align: center;
}

.vl-cta-section::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	background: linear-gradient(135deg, var(--valland-secondary) 0%, var(--valland-primary) 100%);
	z-index: -1;
}

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

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

.vl-cta-section .vl-btn-primary {
	background-color: var(--valland-white);
	color: var(--valland-primary);
}

.vl-cta-section .vl-btn-primary:hover {
	background-color: var(--valland-pink-light);
	color: var(--valland-primary);
}

/* --------------------------------------------------------------------------
   Check List
   -------------------------------------------------------------------------- */
.vl-check-list {
	list-style: none;
	padding: 0;
}

.vl-check-list li {
	position: relative;
	padding-left: 2rem;
	margin-bottom: 0.75rem;
}

.vl-check-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.4rem;
	width: 20px;
	height: 20px;
	background: var(--valland-primary);
	border-radius: 50%;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
	background-size: 12px;
	background-repeat: no-repeat;
	background-position: center;
}

/* --------------------------------------------------------------------------
   Two Column
   -------------------------------------------------------------------------- */
.vl-two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: center;
}

.vl-two-col-reverse {
	direction: rtl;
}

.vl-two-col-reverse > * {
	direction: ltr;
}

.vl-two-col img {
	border-radius: 12px;
	width: 100%;
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
	.vl-two-col,
	.vl-two-col-reverse {
		grid-template-columns: 1fr;
		direction: ltr;
	}
}

/* --------------------------------------------------------------------------
   Badge
   -------------------------------------------------------------------------- */
.vl-badge {
	display: inline-block;
	background: var(--valland-pink-light);
	color: var(--valland-secondary);
	padding: 0.35rem 1rem;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
	.vl-hero,
	.vl-section,
	.vl-fullbleed {
		padding: 3rem 0;
	}
}

@media (max-width: 768px) {
	.vl-hero-content {
		text-align: center;
		padding: 1rem 0;
	}
	
	.vl-hero-image {
		margin-top: 2rem;
	}
	
	.vl-hero::after {
		display: none;
	}
	
	.vl-highlight-box {
		padding: 1.5rem;
	}
	
	.vl-cta-section {
		padding: 3rem 1rem;
	}
}
