/* Global Styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #E6DFD3; /* light warm color for left/right empty space */
  color: #2B2B2B;
}

a { 
  text-decoration: none; 
  color: inherit; 
}

/* Navigation buttons */
/* Navigation buttons style */
/* Smaller Navigation Buttons */
header nav a {
    display: inline-block;
    padding: 6px 8px;                      /* smaller padding */
    margin-left: 4px;                        /* smaller spacing between buttons */
    background: linear-gradient(135deg, #D4AF37, #F5E1A4);
    color: #5C3A21;
    font-weight: bold;
    font-size: 14px;                         /* smaller font size */
    border: 1px solid #D4AF37;
    border-radius: 4px;                       /* slightly smaller rounding */
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

/* First link spacing reset */
header nav a:first-child {
    margin-left: 0;
}

/* Centered container */
.container {
  width: 60%; /* 60% width leaves ~20% margins on left/right */
  margin: 0 auto;
  background-color: #F5F1E0; /* main container background */
  padding: 0 20px;
  box-sizing: border-box;
}

/* Header */
header {
  background-color: #5C3A21;
  color: #D4AF37;
  padding: 20px 20px; /* reduced horizontal padding */
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Merriweather', serif;
}

header nav a {
  margin-left: 20px; /* slightly smaller margin for links */
  font-weight: bold;
  white-space: nowrap; /* prevents wrapping */
}

/* Hero Section */
.hero {
  background: url('background.png') center/cover no-repeat;
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  color: #F5F1E0;
}

.hero h1 {
  font-size: 48px;
  font-family: 'Merriweather', serif;
  margin-bottom: 20px;
}

h2 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 20px;
}

.hero button {
  background-color: #D4AF37;
  border: none;
  padding: 12px 28px;
  color: #5C3A21;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

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

.section h2 {
  font-family: 'Merriweather', serif;
  font-size: 36px;
  margin-bottom: 10px;
  text-align: center;
}

.section p {
  text-align: center;
  margin-bottom: 10px;
  font-size: 22px;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section inner for left-aligned text */
.section-inner {
  max-width: 800px;       /* width of the content area */
  margin: 0 auto;         /* center the div */
  padding: 0 20px;        /* inner spacing */
  text-align: left;       /* left-aligned text */
  box-sizing: border-box; 
}

/* Intro section adjustments */
.section-intro {
  padding-top: 10px;      /* reduced top padding */
  padding-bottom: 0px;    /* remove extra bottom padding */
}

.section-intro p {
  margin-bottom: 20px;    /* spacing between paragraphs */
}

/* Reduce spacing before next section */
.section-intro + .section h2 {
  margin-top: 20px;       /* closer to intro text */
}

.section-intro + .section p {
  margin-top: 10px;
}

/* Products and Craftsmanship */
.products, .craftsmanship {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Cards */
.card {
  background-color: #F5F1E0;
  border: 2px solid #5C3A21;
  padding: 20px;
  width: 300px;
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.card h3 {
  font-family: 'Merriweather', serif;
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  font-size: 16px;
}

/* Craftsmanship section styling */
.craftsmanship {
  background-color: #5C3A21;
  color: #F5F1E0;
  padding: 60px 0;
}

.craftsmanship .card {
  background-color: #5C3A21;
  color: #F5F1E0;
  border-color: #D4AF37;
}

/* Call to action */
.cta {
  text-align: center;
  background-color: #F5F1E0;
  padding: 60px 0;
}

.cta button {
  background-color: #D4AF37;
  border: none;
  padding: 15px 35px;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background-color: #5C3A21;
  color: #F5F1E0;
  text-align: center;
  padding: 20px;
}

footer a {
  color: #D4AF37;
  margin: 0 10px;
}

/* Hero section button styling to match nav buttons */
.hero button {
  padding: 10px 20px;                             /* same padding as nav buttons */
  margin: 0 5px;                                   /* optional spacing if multiple buttons */
  background: linear-gradient(135deg, #D4AF37, #F5E1A4); /* same gold gradient */
  color: #5C3A21;                                 /* text color */
  font-weight: bold;
  border: 1px solid #D4AF37;                      /* 1px golden border */
  border-radius: 5px;                              /* slightly rounded corners */
  cursor: pointer;
  text-decoration: none;
  transition: none;                                /* no hover effect */
  font-size: 18px;                                 /* match hero button size */
}
.lang-switch {
    position: absolute;
    top: 10px;
    right: 20px;
    font-weight: bold;
    z-index: 100;
}
.lang-switch a {
    margin-left: 10px;
    text-decoration: none;
    color: #5C3A21;
}
.lang-switch a:hover { text-decoration: underline; }

.gallery-row {
    display: flex;
    justify-content: flex-start;
    gap: 2%;                       /* Mellanrum mellan kolumner */
    margin-bottom: 20px;
}

.card.large {
    width: 25%;                     /* Varje bild tar 25% */
    border: 2px solid #5C3A21;
    border-radius: 5px;
    box-sizing: border-box;
}

.card.large img {
    width: 100%;
    height: auto;
    display: block;
}

.card.text-card {
    width: 50%;                     /* Text tar 50% */
    border: 2px solid #5C3A21;
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}

.order-button {
    display: inline-block;
    padding: 6px 8px;                      
    margin-left: 4px;                        
    background: linear-gradient(135deg, #D4AF37, #F5E1A4);
    color: #5C3A21;
    font-weight: bold;
    font-size: 14px;                         
    border: 1px solid #D4AF37;
    border-radius: 4px;                       
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

/* Första knappen i raden, ta bort vänstermarginal */
.order-button:first-child {
    margin-left: 0;
}