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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-color: #fff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1D527A;
}

.section-subtitle {
    font-size: 1.1rem;
    text-align: center;
    color: #1D527A;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 80px;
    position: relative;
}


.nav-logo-img {
    height: 70px;
    width: auto;
    transition: opacity 0.3s ease;
}




.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #1D527A;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #F59E0B;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #F59E0B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.social-link {
    font-size: 1.2rem;
    color: #F59E0B;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #1E3A8A;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('images/IMG_9320.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(245, 158, 11, 0.4));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #1D527A, #2D6BA3);
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 82, 122, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 82, 122, 0.4);
    background: linear-gradient(135deg, #2D6BA3, #1D527A);
}

/* Events Section */
.events-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Assortiment Section */
.assortiment-section {
    padding: 100px 0;
    background: white;
}

.assortiment-content {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.assortiment-left,
.assortiment-right {
    display: flex;
    justify-content: center;
    width: 100%;
}

.assortiment-image-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.assortiment-image-link {
    position: relative;
    display: block;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 500px;
}

.assortiment-image-link:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.assortiment-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.assortiment-image-link:hover .assortiment-main-image {
    transform: scale(1.05);
}

.assortiment-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.assortiment-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.assortiment-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Barren Page Styles */
.barren-page-section {
    padding: 100px 0;
    background: #F8FAFC;
}

.barren-gallery {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.barren-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.barren-item:hover {
    transform: translateY(-10px);
}

.barren-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.barren-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.barren-item:hover .barren-overlay {
    transform: translateY(0);
}

.barren-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.barren-overlay p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.image-slider-container {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.image-slider {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    width: 25%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
    text-align: center;
}

.slide-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: white;
}

.slide-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1D527A;
    transition: all 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

/* Quote Section */
.quote-section {
    padding: 100px 0;
    background: #F8FAFC;
    color: #333;
}

.quote-section .section-title,
.quote-section .section-subtitle {
    color: #1D527A;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.quote-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group:nth-child(5),
.form-group:nth-child(6) {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9CA3AF;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1D527A;
    background: white;
    box-shadow: 0 0 0 3px rgba(29, 82, 122, 0.1);
}

.submit-button {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #1D527A, #2D6BA3);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(29, 82, 122, 0.3);
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 82, 122, 0.4);
    background: linear-gradient(135deg, #2D6BA3, #1D527A);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1D527A, #1D527A);
    color: white;
}

.about-section .section-title {
    color: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: white;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
}

.contact-info {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: #F59E0B;
    margin-right: 1rem;
    width: 20px;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: #1D527A;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #F59E0B;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #F59E0B;
}

.social-links a {
    color: #F59E0B;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-partner-logo {
    height: 80px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    background: white;
    padding: 10px;
    border-radius: 8px;
}

.footer-partner-logo:hover {
    opacity: 1;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-right: 2rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #F59E0B;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Move hero content higher on mobile */
    .hero-content {
        transform: translateY(-20%);
    }

    .section-title {
        font-size: 2rem;
    }

    .quote-form {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .footer-links {
        margin-bottom: 1rem;
    }

    .footer-links a {
        margin-right: 1rem;
    }
    
    .assortiment-main-image {
        height: 300px;
    }
    
    .assortiment-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .slider-wrapper {
        height: 400px;
    }
    
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-content h3 {
        font-size: 1.5rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        left: 10px;
    }
    
    .next-btn {
        right: 10px;
    }
    
    .barren-gallery {
        grid-template-columns: 1fr;
    }
    
    .barren-image {
        height: 400px;
    }
    
    /* Reduce mobile spacing */
    .events-section,
    .assortiment-section,
    .about-section,
    .quote-section {
        padding: 60px 0;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
    }
    
    /* Fix mobile background image display */
    .hero {
        background-attachment: scroll;
        background-size: cover;
        background-position: center 20%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

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

    .form-container {
        padding: 2rem;
    }
    
    .legal-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .assortiment-main-image {
        height: 250px;
    }
    
    .slider-wrapper {
        height: 300px;
    }
    
    .slide-content {
        padding: 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .assortiment-main-image {
        height: 250px;
    }
    
    .barren-image {
        height: 350px;
    }
    
    /* Further reduce spacing on small mobile devices */
    .events-section,
    .assortiment-section,
    .about-section,
    .quote-section {
        padding: 40px 0;
    }
    
    .section-subtitle {
        margin-bottom: 1.5rem;
    }
    
    /* Further adjust mobile background image for smaller screens */
    .hero {
        background-position: center 15%;
    }
    
    /* Move hero content even higher on small mobile */
    .hero-content {
        transform: translateY(-30%);
    }
}

/* Legal Pages Styles */
.legal-section {
    padding: 120px 0 80px;
    background: #F8FAFC;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    color: #1D527A;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: #6B7280;
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-text h2 {
    color: #1D527A;
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    border-bottom: 2px solid #F59E0B;
    padding-bottom: 0.5rem;
}

.legal-text p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #374151;
}

.legal-text ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-text ul li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #374151;
}

.legal-text strong {
    color: #1D527A;
    font-weight: 600;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
