@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Playfair+Display:wght@700&display=swap');

:root {
    --primary: #0066cc;   /* ← Change main color easily here */
    --primary-dark: #004499;
    --text: #222;
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    line-height: 1.7;
    color: var(--text);
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

/* Header */
header {
    background: white;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    font-size: 1.05rem;
    font-weight: 500;
    color: #555;
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
}

.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-btn {
    padding: 7px 16px;
    border-radius: 30px;
    border: 2px solid #ddd;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.lang-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #222;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    transition: right 0.4s ease;
    padding: 100px 30px 40px;
    z-index: 1100;
}

.mobile-menu.active { right: 0; }

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    font-size: 1.25rem;
}

/* Hero & Content */
.hero {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url('https://source.unsplash.com/1600x900/?bratislava') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 170px 20px 130px;
}

.hero h1 { font-size: 3.3rem; margin-bottom: 1rem; }

.section {
    padding: 90px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

h2 { 
    text-align: center; 
    font-size: 2.8rem; 
    margin-bottom: 3rem; 
    color: var(--primary-dark);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 2.2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.09);
}

.form-container {
    max-width: 720px;
    margin: 40px auto;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

input, textarea {
    width: 100%;
    padding: 14px 16px;
    margin: 12px 0 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.05rem;
}

button[type="submit"] {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50px;
    font-size: 1.15rem;
    cursor: pointer;
    width: 100%;
}

footer {
    background: #0f172a;
    color: #ccc;
    padding: 70px 20px 40px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero h1 { font-size: 2.5rem; }
}



/* ==================== MOBILE MENU IMPROVEMENTS ==================== */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    transition: right 0.4s ease;
    padding: 80px 30px 40px;
    z-index: 1100;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

/* Close Button */
.mobile-menu .close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    padding: 5px 10px;
    line-height: 1;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu ul li {
    margin-bottom: 1.4rem;
}

.mobile-menu ul li a {
    text-decoration: none;
    color: #222;
    font-size: 1.35rem;
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color 0.3s;
}

.mobile-menu ul li a:hover {
    color: var(--primary);
}

/* Make sure both languages don't show at once in mobile */
.mobile-menu .lang-en,
.mobile-menu .lang-sk {
    display: none;
}