body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(to bottom, #f9f9f9, #ffffff);
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
nav {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(26, 26, 26, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo-section {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

nav .logo {
    width: 45px;
    height: 45px;
    margin-right: 12px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

nav .logo-text {
    color: white;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 5px;
}

nav .logo-text:hover {
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

nav .nav-section {
    display: flex;
    padding-right: 20px;
}

nav li {
    margin: 0 0 0 30px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
}

nav a:hover {
    background: rgba(52, 152, 219, 0.2);
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Main Content */
main {
    margin-top: 80px;
    padding: 40px 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Full-screen legal pages */
main.legal-page {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding: 60px 20px;
}

/* Sections */
section {
    margin-bottom: 80px;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

/* Header */
header {
    text-align: center;
    padding: 180px 20px 140px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="1920" height="1080" viewBox="0 0 1920 1080"><rect fill="%232c3e50" width="1920" height="1080"/><text x="50%" y="50%" font-size="200" fill="rgba(255,255,255,0.1)" text-anchor="middle" dominant-baseline="middle">Montage</text></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9), rgba(52, 152, 219, 0.8));
}

header h1 {
    font-size: 4.5em;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

header h1 span {
    color: #3498db;
    font-weight: 300;
}

header p {
    font-size: 1.5em;
    color: white;
    max-width: 700px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
    position: relative;
    z-index: 1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.5);
}

/* Back button */
.back-btn {
    display: inline-block;
    padding: 12px 25px;
    background: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-btn:hover {
    background: #f9f9f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service {
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.service:hover {
    background: #f0f7fb;
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service h3 {
    color: #2c3e50;
    margin-bottom: 15px;
}

.service svg {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    color: #3498db;
}

/* References */
.references-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.reference {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.reference:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.reference img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #e0e0e0;
}

.reference-content {
    padding: 20px;
}

.reference-content h3 {
    margin-top: 0;
    color: #2c3e50;
}

/* Form */
form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.2);
}

.file-upload {
    position: relative;
    margin-top: 10px;
}

.file-upload input[type="file"] {
    padding: 10px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 5px;
    cursor: pointer;
}

.file-upload input[type="file"]:hover {
    border-color: #3498db;
    background: #f0f7fb;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    background: #1a1a1a;
    color: #aaa;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #3498db;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Cookie Banner */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 20px;
    text-align: center;
    display: none;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

#cookieBanner button {
    margin-left: 20px;
    padding: 10px 20px;
    cursor: pointer;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#cookieBanner button:hover {
    background: #2980b9;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.4);
}

/* Legal page content */
.legal-content {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.legal-content h2 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Modern service cards */
.modern-service {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 10px;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
}

.modern-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.modern-service h3 {
    color: #2c3e50;
    margin-top: 0;
}

.modern-service ul {
    list-style: none;
    padding-left: 0;
}

.modern-service li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.modern-service li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3498db;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 140px 20px 100px;
        min-height: 80vh;
    }

    header h1 {
        font-size: 2.5em;
    }

    header p {
        font-size: 1.1em;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }

    nav .logo-section {
        margin-bottom: 15px;
    }

    nav .nav-section {
        flex-direction: column;
        width: 100%;
    }

    nav li {
        margin: 10px 0 0 0;
    }

    .legal-content {
        padding: 25px;
    }

    section {
        padding: 25px;
    }

    .btn {
        padding: 12px 25px;
    }

    .map-container {
        height: 300px;
    }
}

/* Full-screen height for legal pages */
@media (max-width: 768px) {
    main.legal-page {
        padding: 40px 20px;
    }
}