﻿/* Reset */
html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

/* Background with fade */
body {
    font-family: Arial, sans-serif;
    color: white;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("images/background.jpg") no-repeat center center fixed;
    background-size: cover;
}

/* Top bar */
.top-bar {
    width: 100%;
    padding: 20px 30px 0 30px;
    box-sizing: border-box;
}

.language-switch {
    text-align: right;
}

    /* Buttons */
    .language-switch button,
    .contact-button {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        border: 1px solid white;
        padding: 10px 20px;
        margin-left: 10px;
        cursor: pointer;
        border-radius: 6px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1rem;
    }

        .language-switch button:hover,
        .contact-button:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-2px);
        }

/* Main container */
.container {
    max-width: 1500px;
    margin: auto;
    padding: 20px 30px 50px 30px;
    text-align: center;
}

/* Logo */
.logo {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 10px auto 20px auto;
}

/* Title */
h1 {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 2.6rem;
    letter-spacing: 1px;
}

/* Layout grid */
.content-grid {
    display: grid;
    grid-template-columns: 0.8fr 2.4fr 0.8fr;
    gap: 30px;
    align-items: start;
}

/* Side image columns */
.side-images {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    /* IMPORTANT for hover zoom */
    overflow: visible;
}

    /* Images */
    .side-images img {
        width: 55%;
        max-width: 180px;
        border-radius: 10px;
        /* Smooth zoom */
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        /* 🔥 HOVER EFFECT (this is the key part) */
        .side-images img:hover {
            transform: scale(1.8);
            z-index: 999;
            position: relative;
            box-shadow: 0 12px 30px rgba(0,0,0,0.7);
        }

/* Text box */
.text-content {
    font-size: 1.2rem;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.38);
    padding: 30px;
    border-radius: 12px;
}

    .text-content p {
        margin-bottom: 20px;
    }

/* Note */
.note {
    margin-top: 25px;
    font-style: italic;
    font-size: 1rem;
}

/* Contact button */
.contact-button {
    display: inline-block;
    margin-top: 40px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1000px) {
    .logo {
        max-width: 420px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .side-images {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

        .side-images img {
            width: 30%;
            max-width: 160px;
        }
}

@media (max-width: 600px) {
    .top-bar {
        padding: 15px;
    }

    .container {
        padding: 15px;
    }

    .language-switch {
        text-align: center;
    }

        .language-switch button {
            margin: 5px;
        }

    .logo {
        max-width: 300px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .text-content {
        font-size: 1.05rem;
        padding: 20px;
    }

    .side-images img {
        width: 42%;
    }
}
