html { 
    font-size: 18px; 
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}


/* ----- BODY ----- */
body {
    margin:0;
    font-family: "Georgia", serif;
    background:#1b3868;
    color:#222;
    /* padding-top: removed, budeme používať hero margin */
}

/* ----- TYPOGRAFIA ----- */
h2 {
    font-family: 'Belleza', serif;
    font-weight:400;
}

p {
    font-family: 'Josefin Sans', sans-serif;
    font-weight:300;
    line-height:1.6;
    color:white;
}

/* ----- HEADER ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px; /* pevná výška */
    background: #012442;/*rgba(27, 56, 104, 0.9);*/
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: flex;
    justify-content: center; /* center inner container */
    align-items: center;
    transition: background 0.3s ease;
}

.site-header.scrolled {
    background: rgba(27, 56, 104, 0.97); /* mierne zosvetlenie */
}

.site-header .inner {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 2.2em; /* mierne zmenšené */
    font-family: 'Belleza', serif;
    color: white;
    text-decoration: none;
    margin-left: 0;
    letter-spacing:1px;
}

.logo:hover {
    opacity:0.8;
    transition:0.3s;
}

/* Menu */
nav a {
    color:white;
    text-decoration:none;
    transition: color 0.3s ease;
    margin-left:30px;
    font-weight:300;
	font-family: 'Josefin Sans';
    font-size:1.3em;
}


nav a:hover {
    color:rgb(36, 191, 134);
    text-decoration:underline;
}

/* ----- HERO ----- */
.hero {
    margin-top: 90px; /* rovnaké ako výška headera */
    height: calc(100vh - 90px); /* hero zaberá viewport minus header */
    background:url("images/hero.jpg") center/cover no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    text-shadow:0 2px 8px rgba(0,0,0,0.4);
    /*padding-left: calc((100% - 1200px)/2 + 40px);*/
}

.hero-text {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    text-align:left;
}

.hero h1 {
    font-family:'Belleza', serif;
    font-weight:400;
    font-size:3.8em;
    letter-spacing:1px;
    margin:0;
    line-height:1.2;
}

.hero h3 {
    font-family: 'Josefin Sans';
    font-weight:300;
    font-size:1.8em;
    margin-top:15px; /* pod H1 */
    color:white;
}

/* Hero button */
.btn {
    background-color: rgb(36, 191, 134);
    color: white;
    padding: 14px 30px;
    text-decoration: none;
    font-family: 'Josefin Sans';
    border-radius: 4px;
    transition: 0.3s;
    display:inline-block;
    margin-top: 20px;
}

.btn:hover {
    background-color: rgb(26, 160, 110);
}

/* ----- ABOUT ----- */
.about {
    display:flex;
    gap:50px;
    padding:100px 60px;
    align-items:center;
	
}

.about img {
    width:350px;
}

.about H2 {
	color:white;
}

/* ----- GALLERY ----- */
.gallery {
    padding:100px 60px;
    /*text-align:center;*/
	background: rgba(8, 98, 157);
}

.grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:30px;
    margin-top:40px;
}
.gallery H2 {
	color:white;
}

.item img {
    width:100%;
    transition:0.4s;
}

.item img:hover {
    transform:scale(1.05);
}


/* Text pod obrázkami v galérii */
.gallery .item {
    text-align: center;
}

.gallery .item .caption {
    margin-top: 8px;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #222; /* alebo biela, ak máš tmavé pozadie */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.gallery .item a:hover .caption {
    color: rgb(36, 191, 134); /* zelená pri hover */
}


/* ====== GRID ====== */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

/* ====== CARD ====== */

.card {
    display: block;
    text-decoration: none;


/* ----- PROCESS ----- */
.process {
    padding:100px 60px;
    background:#2596be;
}

/* ----- CONTACT ----- */
.contact {
    padding:100px 60px;
    /*text-align:center;*/
	background:#2596be;/*background: rgba(8, 98, 157);*/
}

.contact H2 {
	color:white;
}

form {
    max-width:400px;
    margin:auto;
}

input, textarea {
    width:100%;
    margin:10px 0;
    padding:10px;
    border:1px solid #ccc;
}

button {
    padding:12px 30px;
    border:none;
    background:#222;
    color:white;
}

/* ----- FOOTER ----- */
footer {
    padding:30px;
    text-align:center;
    background:#012442;
    color:white;
}
