:root {
    --bg-color: #FAF9F6;
    --text-primary: #1C1C1C;
    --text-secondary: #4A4A4A;
    --accent-leather: #A67C52;
    --accent-gold: #C29B6D;
    --white: #FFFFFF;
    --grey-light: #E8E4DE;
    --header-height: 80px;
    --container-max-width: 1200px;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-leather);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--accent-leather);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #8b6643;
}

.btn-outline {
    border: 2px solid var(--accent-leather);
    color: var(--accent-leather);
}

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

/* Header */
#header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-out, background-color 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 70px;
}

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

#logo {
    height: 50px;
    transition: var(--transition);
}

#primary-menu {
    display: flex;
    list-style: none;
}

#primary-menu li {
    margin-left: 30px;
}

#primary-menu li a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

#primary-menu li a:hover {
    color: var(--accent-leather);
}

/* Hamburger */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 18px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-overlay.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav ul li a {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-decoration: none;
    color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    padding-top: var(--header-height);
    min-height: 50vh; /* Sänkt min-höjd till 50vh */
    max-height: 600px;
    display: flex;
    align-items: stretch;
    background-color: #f1efeb;
    overflow: hidden;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch; /* Bilden och texten fyller hela höjden */
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-image {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Tar bort eventuellt gap under bilden */
    animation: kenburns 20s infinite alternate ease-in-out;
}

.hero-text {
    flex: 1;
    padding: 60px 5%;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrerar texten vertikalt inuti den fulla höjden */
}

.hero-subtitle {
    display: block;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-leather);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

/* Sections */
.section {
    padding: 100px 0;
}

/* Heritage Section */
.heritage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.heritage-visual img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--grey-light);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-info {
    padding: 30px;
}

.service-info h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
}

.service-info p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Video Section */
.video-section {
    background-color: #2D2621; /* Varm, mörk läderbrun */
    color: var(--white);
}

.video-section h3, .video-section p {
    color: var(--white);
}

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.info-item {
    display: flex;
    margin-bottom: 25px;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--accent-leather);
    margin-right: 20px;
    margin-top: 5px;
}

.social-links {
    margin-top: 40px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid var(--grey-light);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    margin-right: 15px;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-leather);
    color: var(--white);
    border-color: var(--accent-leather);
}

.contact-map {
    min-height: 400px;
    border-radius: 4px;
    overflow: hidden;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--grey-light);
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1002;
    grid-template-columns: 1fr 1fr;
}

.sticky-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 600;
}

.sticky-item i {
    font-size: 1.2rem;
    margin-bottom: 4px;
    color: var(--accent-leather);
}

/* Responsive Queries */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-section { min-height: 60vh; }
    .hero-image { height: 50vh; }
}

@media (max-width: 980px) {
    #primary-menu { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero-content-wrapper { flex-direction: column-reverse; }
    .hero-section { min-height: auto; padding-top: 100px; }
    .hero-image { height: 350px; width: 100%; }
    .hero-text { padding: 40px 5%; text-align: center; }
    .hero-actions { justify-content: center; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .heritage-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .mobile-sticky-bar { display: grid; }
    body { padding-bottom: 60px; }
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
}
