/* Global Styles */
* {
    /*font-family: "Scheherazade New", serif;*/
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-with-divider {
    padding: 60px 0;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 60px;
}

.section-intro {
    margin-bottom: 40px;
    font-size: 1.1rem;
    color: #555;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 40px 0;
}

.content-grid.reversed {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.content-grid.reversed > * {
    direction: ltr;
}

.text-content {
    padding: 20px;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Header */
header {
    position: relative;
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background: url('images/nortelie-sweden.jpg');
    background-size: cover;
    background-position: center;


    min-height: 100%;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
}

header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

header p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Navigation */
nav {
    background: #2c3e50;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Language Selector */
.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 101;
}

.language-selector select {
    padding: 8px 12px;
    border-radius: 4px;
    border: none;
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    font-size: 0.9rem;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s;
}

/* Cottage Cards */
.cottage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
    
}

.cottage-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cottage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.cottage-card:hover .card-image img {
    transform: scale(1.1);
}

/*
.cottage-card h3 {
    padding: 20px 20px 10px;
    color: #2c3e50;
    font-size: 1.3rem;
}
*/
.cottage-card ul {
    padding: 0 20px 20px;
    list-style: none;
}

.cottage-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.cottage-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Activities */
.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.activity-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.activity-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon img {
    width: 30px;
    height: 30px;
}

.activity-card h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.activity-card ul {
    list-style: none;
    text-align: left;
    margin-top: 15px;
}

.activity-card li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.activity-card li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Gallery */
.gallery-container {
    margin: 40px 0;
}

.main-image-container {
    height: 500px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.main-image:hover {
    transform: scale(1.03);
}

.thumbnail-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 10px;
}

.thumbnail {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 40px 0;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #2980b9;
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-info h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-3px);
}

.social-links img {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #3498db;
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background: #3498db;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: #2980b9;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.2);
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* RTL support */
.rtl {
    direction: rtl;
    text-align: right;
    font-family: 'Tahoma', 'Arial', sans-serif;
}

.rtl .nav-links {
    padding-right: 0;
}

.rtl .cottage-card li::before,
.rtl .activity-card li::before {
    right: 0;
    left: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    header h1 {
        font-size: 2.5rem;
    }
    
    header p {
        font-size: 1.1rem;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid.reversed {
        grid-template-columns: 1fr;
    }
    
    .image-content {
        order: -1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #2c3e50;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: left 0.3s;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 15px 0;
    }
    
    .language-selector {
        position: static;
        margin-top: 20px;
    }
    
    header {
        height: 60vh;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    .main-image-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    header {
        height: 50vh;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .section-with-divider {
        padding: 40px 0;
    }
    
    .cottage-options,
    .activities-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}


header#home {
  display: grid;
  place-items: center; /* Centers all direct children */
  min-height: 70vh;
  grid-template-rows: 1fr auto; /* Creates two rows - first takes remaining space, second fits content */
  text-align: center;
  position: relative;
  
  /* Visual styling (adjust as needed) */
  background: url('images/lake-1.jpg') center/cover;
  color: whitesmoke;
  padding: 20px;
}

header#home h1 {
  grid-row: 1; /* Places in first row */
  margin: 0;
  padding: 20px;
  font-size: 3rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  
  /* Optional background for better readability 
  background: rgba(0,0,0,0.5);
  border-radius: 8px;*/
}

header#home p.bottom-content {
  grid-row: 2; /* Places in second row */
  align-self: end; /* Pins to bottom of grid row */
  padding-bottom: 40px; /* Distance from bottom */
  margin: 0 auto;
  max-width: 800px;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  
  /* Optional styling */
  background: rgba(0,0,0,0.3);
  padding: 15px;
  border-radius: 4px;
}




/* Add to your existing CSS */
.cottage-card .card-content {
    padding: 25px;
}

.cottage-card h3 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.cottage-card p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cottage-card .card-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .cottage-card .card-content {
        padding: 15px;
    }
}