/* NH Kontoret - Komplet Responsivt Design */

/* === RESET & BASICS === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

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

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

/* === HEADER === */
#header {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

#header .logo {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

#header .logo a {
    color: #333;
    text-decoration: none;
}

#header .tagline {
    color: #666;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* === HERO SECTION === */
#hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #333;
}

#hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.hero-title {
    color: white;
    font-size: 3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* === NAVIGATION === */
#navigation {
    background: #2c3e50;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

#navigation ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

#navigation li {
    position: relative;
}

#navigation a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    transition: background 0.3s ease;
}

#navigation a:hover {
    background: #34495e;
    color: white;
}

/* === MAIN CONTENT === */
#content {
    padding: 3rem 0;
    min-height: 400px;
}

section {
    margin-bottom: 4rem;
}

section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #2c3e50;
    font-size: 2rem;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === PRICES SECTION === */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.price-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #2c3e50;
}

.price-title {
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
}

.price-amount {
    margin: 1.5rem 0;
}

.price-incl {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.price-excl {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.price-description {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
    text-align: left;
    color: #555;
    line-height: 1.6;
}

.prices-link {
    text-align: center;
    margin-top: 3rem;
}

.prices-link a {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #2c3e50;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.prices-link a:hover {
    background: #34495e;
    transform: translateY(-2px);
}

/* Compact version for homepage */
.prices-grid.compact .price-card {
    padding: 1.5rem;
}

.prices-grid.compact .price-title {
    font-size: 1.3rem;
}

.prices-grid.compact .price-incl {
    font-size: 2rem;
}

/* === GALLERY SECTION === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: block;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

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

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

/* === CONTACT FORM === */
.contact-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    border-left: 4px solid #2c3e50;
}

.contact-info h3 {
    margin-top: 0;
    color: #2c3e50;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

#contact-form {
    margin-top: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

#contact-form h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c3e50;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #2c3e50;
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.error-messages {
    background: #fee;
    border: 2px solid #fcc;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    color: #c33;
}

.error-messages ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* === FOOTER === */
#footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0;
    margin-top: 5rem;
}

#footer p {
    margin-bottom: 0.5rem;
}

#footer a {
    color: #ecf0f1;
}

#footer a:hover {
    color: white;
}

/* === RESPONSIVE DESIGN === */

/* Tablet */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    #navigation ul {
        gap: 0;
    }
    
    #navigation a {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .prices-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    .container {
        padding: 0 15px;
    }
    
    #hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    #navigation ul {
        flex-direction: column;
    }
    
    #navigation a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    #content {
        padding: 2rem 0;
    }
    
    section {
        margin-bottom: 3rem;
    }
    
    .prices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .price-incl {
        font-size: 2rem;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    #hero {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    #header {
        padding: 1rem 0;
    }
    
    #header .logo {
        font-size: 1.5rem;
    }
    
    .btn-submit {
        padding: 0.875rem 2rem;
    }
}

/* === UTILITY CLASSES === */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
