
/* --- PROMĚNNÉ & BAREVNÁ PALETA Z OBRÁZKU --- */
/* Načtení tvého vlastního fontu ze složky */
@font-face {
  font-family: 'MujVlastniFont';
  src: url('fonts/muj-font.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MujDruhyFont';
  src: url(fonts/Ofinitti.ttf) format('ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'MujTretiFont';
  src: url(fonts/Intervensi.woff) format('woff');
  font-weight: normal;
  font-style: normal;
}
:root {
  --bg-cream: #f4efe6;        /* Krémové světlé pozadí */
  --bg-dark-green: #2d3832;   /* Tmavě zelený blok (Svatby v Česku) */
  --bg-terracotta: #a66e58;   /* Zemitě rezavý blok (Svatby v Norsku) */
  --bg-footer: #2b2e2b;       /* Tmavá patička */
  --text-dark: #222222;
  --text-light: #f4efe6;
  --text-muted: #777777;
  --accent-gold: #c29b68;
  
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --font-hand: 'Caveat', cursive;
  
  --transition: all 0.4s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.6;
}

/* --- TYPOGRAFIE & ŠTÍTKY --- */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 1px;
}

.section-tag {
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 1.2rem;
  display: block;
}

.tag-light {
  color: rgba(255, 255, 255, 0.7);
}

/* --- TLAČÍTKA PODLE OBRÁZKU --- */
.btn-outline {
  padding: 0.6rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 2px;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

.btn-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--text-light);
  padding-bottom: 3px;
  transition: var(--transition);
}

.btn-link-dark {
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 3px;
  transition: var(--transition);
}

.btn-link-light {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 3px;
  transition: var(--transition);
}

.btn-link:hover, .btn-link-dark:hover, .btn-link-light:hover {
  opacity: 0.6;
}

/* --- 1. HERO SEKCE --- */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh; /* dvh dynamicky reaguje na lišty v mobilních prohlížečích */
  position: relative;
  background-image: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%),
                    url('photo-4592.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  padding: 0 8vw;
  color: var(--text-light);
}

/* Úprava pro mobily, aby se text a vnitřek hero sekce správně vešly */
@media (max-width: 768px) {
  .hero-section {
    padding: 0 5vw; /* Trochu menší odsazení po stranách na úzkém displeji */
    background-position: 90% center; /* Na mobilu posune fotku více doleva */
  }
}

/* Navigace */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 8vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(35, 35, 35, 0.95);
  padding: 1.2rem 8vw;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Přidej tento styl pro správné dimenzování PNG podpisu */
.logo-img {
  height: 100px;         /* Výšku si uprav podle potřeby */
  width: auto;           /* Zachová poměr stran */
  display: block;
  filter: brightness(0) invert(1); /* Pokud je podpis černý, toto pravidlo ho promění na bílý */
  transition: var(--transition);
}

.logo-img:hover {
  opacity: 0.8;
}

.logo-sub {
  font-size: 0.6rem;
  color: #222222;
  letter-spacing: 3px;
  margin-top: 3px;
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.68rem;
  letter-spacing: 2px;
  opacity: 0.85;
  transition: var(--transition);
}

.nav-links a:hover {
  opacity: 1;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 1px;
  background: var(--text-light);
}

/* Hero Obsah */
.hero-content h1 {
  color: #f4efe6;
  font-family: 'MujVlastniFont', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.hero-handwritten {
  font-family: var(--font-hand);
  font-size: 1.8rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

/* 1. Změna zarovnání v hlavní sekci */
.split-section {
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  background-color:#f1ebd9;
  position: relative;
  align-items: stretch; /* DŮLEŽITÉ: Roztáhne zelený i krémový blok na stejnou výšku až dospodu */
}

.about-box {
  padding: 6rem 4vw 8rem 8vw;
}

.about-box h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.about-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 420px;
}

/* Prostřední fotka s popiskem */
.photographer-image-container {
  position: relative;
  margin-top: -60px; /* Přesah přes sekci nahoru podle předlohy */
  z-index: 10;
  display: flex;
  justify-content: center;
}

.photographer-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.signature-text {
  position: absolute;
  bottom: 20px;
  left: -160px;
  font-family: 'MujTretiFont';
  font-size: 6rem;
  color: #2b2e2b;
  white-space: nowrap;
  pointer-events: none;
}


/* Tmavě zelený blok */
.cz-weddings-box {
  background-color: var(--bg-dark-green);
  color: var(--text-light);
  padding: 6rem 8vw 6rem 4vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cz-weddings-box h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.cz-weddings-box p {
  font-size: 0.85rem;
  color: rgba(254, 254, 254, 0.7);
  margin-bottom: 2.5rem;
  max-width: 420px;
}

/* --- 3. BLOK: SVATBY V NORSKU --- */
.norway-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--bg-terracotta);
  color: var(--text-light);
}

.norway-img-side img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

.norway-info-side {
  padding: 6rem 8vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.norway-info-side h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.norway-info-side p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 550px;
}

.botanical-art {
  position: absolute;
  right: 4vw;
  top: 50%;
  transform: translateY(-50%);
  height: 70%;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
  opacity: 0;
}

/* --- NOVÉ CELOPLOŠNÉ SEKCE --- */

/* --- Základní styly (Počítač & všechna zařízení) --- */

.full-width-section {
  width: 100%;
  padding: 7rem 8vw;
  box-sizing: border-box;
}

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

.full-width-container.centered-text {
  text-align: center;
}

.full-width-container.centered-text .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-lead {
  font-size: 0.85rem;
  line-height: 1.7;
  max-width: 750px;
  margin-top: 1rem;
  margin-bottom: 3.5rem;
  opacity: 0.9;
}

/* Výchozí zobrazení 3 sloupců na velkých obrazovkách */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.features-grid .feature-item {
  text-align: left;
}

.full-width-container.centered-text .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Barevná témata nových sekcí */
.dark-bg {
  background-color: var(--bg-dark-green);
  color: var(--text-light);
}

/* TUTO TŘÍDU NAHRAĎ: */
.cream-bg {
  /* Přidáme obrázek a překrytí */
  background: 
    /* 1. VRSTVA: Lehká krémová barva s průhledností (RGBA) pro overlay */
    linear-gradient(rgba(247, 243, 236, 0.90), rgba(247, 243, 236, 0.80)), /* RGBA hodnota odpovídá tvé krémové barvě + 85% průhlednost */
    /* 2. VRSTVA: Cesta k tvé fotce na pozadí */
    url('photo-475.jpg') center/cover no-repeat;
    
  color: #000000;
  font-weight: 400;

  
  /* Volitelné: Trochu zvětšit odsazení, aby fotka vynikla */
  padding-top: 10rem;
  padding-bottom: 10rem;
}

.earth-bg {
  background-color: var(--bg-terracotta);
  color: var(--text-light);
}

/* --- 4-SLOUPCOVÁ GALERIE --- */

.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

/* Nadpis s podtrženým odkazem nahoře */
.gallery-card-title {
  margin-bottom: 1rem;
  min-height: 55px; /* Zajistí zarovnání fotek v jedné rovině */
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.gallery-card-title h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #ffffff;
}

.gallery-card-title p {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 0.2rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Obal fotky s efekty */
.gallery-card-img-wrap {
  width: 100%;
  aspect-ratio: 2 / 3; /* Portrétní poměr stran fotek */
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Hover efekt při najetí myší */
.gallery-card:hover .gallery-card-img-wrap img {
  transform: scale(1.05);
}

/* Responzivita pro notebooky a mobily */
@media (max-width: 1024px) {
  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
}
/* Mřížka vlastností (Sekce 1) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.feature-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* Informační bloky (Sekce 2) */
.info-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 3rem;
}

.banner-col h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.banner-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
/* Bloky v ktorych je cena */
.info-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 3rem;
  align-items: stretch; /* Roztáhne oba boxy na stejnou výšku */
}

.banner-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* Rozprostře obsah: text nahoře, cena dole */
}

/* Vzhled velkých cen v boxech */
.box-price {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 400;
  margin-top: 2rem;
  letter-spacing: -1px;
  color: var(--text-dark);
}

/* --- SEKCE ABOUT ME (O MNĚ / FOTKA + TEXT) --- */

#about-me-section .full-width-container {
  max-width: 1200px !important; /* Přepíše omezení rodičovského kontejneru */
  width: 100%;
}

/* Horní vodorovná část: Fotka přes celou šířku */
.about-hero-image {
  position: relative;
  width: 100%;
  height: 110vh; /* Fotka zabere 70 % výšky obrazovky (lze upravit dle potřeby) */
  overflow: hidden;
}

.about-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%; /* Pozice obličeje/středu fotky */
  display: block;
}

/* Přechod do ztracena (Fade Effect) ze spodní části fotky do tmavě zelené */
.image-fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%; /* Výška přechodové vrstvy */
  background: linear-gradient(
    to bottom,
    rgba(31, 38, 34, 0) 0%,        /* Zcela průhledné v horní části */
    var(--bg-dark-green, #1f2622) 100% /* Plně tmavě zelené dole (odpovídá barvě .dark-bg) */
  );
  pointer-events: none;
}

/* Spodní vodorovná část: Texty */
.about-content-section {
  padding-top: 2rem;
  padding-bottom: 8rem;
  position: relative;
  z-index: 2;
}
/* Roztáhne hlavní kontejner v sekci O mně */
.about-content-section .full-width-container {
  max-width: 1400px !important; /* Můžeš dát 1200px, 1400px nebo klidně 95% */
  width: 95%;
}

.about-text-wrapper {
  max-width: 100% !important; /* Text využitou celou šířku kontejneru */
  margin: 2.5rem auto 0 auto;
  text-align: center;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  color: #ffffff;
}

.about-text-wrapper p {
  font-size: 0.85rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 1.2rem;
}

/* --- KONTAKTNÍ SEKCIE (KRÉMOVÉ POZADÍ) --- */

.contact-section {
  padding-top: 6rem;
  padding-bottom: 8rem;
}

.contact-title {
  color: #000000 !important;
  margin-top: 0.5rem;
}

.contact-subtext {
  max-width: 700px;
  margin: 1.5rem auto 3.5rem auto;
  color: #333333 !important;
}

.contact-form {
  max-width: 850px;
  margin: 0 auto;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  margin-bottom: 2rem;
}

.form-group label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #111111 !important;
}

/* Bílá políčka formuláře pro čistý kontrast s krémovým pozadím */
.contact-section .form-group input,
.contact-section .form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  color: #111111;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .form-group input:focus,
.contact-section .form-group textarea:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.contact-section .form-group input::placeholder,
.contact-section .form-group textarea::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
/* --- ÚPRAVA TLAČÍTKA ODESLAT ZPRÁVU --- */

.contact-section .submit-btn {
  display: block;
  margin: 2.5rem auto 0 auto; /* Vycentrování na střed + odsazení shora */
  width: 100%;
  max-width: 250px;            /* Širší a výraznější rozměr */
  padding: 1.2rem 2.5rem;      /* Větší vnitřní odsazení (vyšší tlačítko) */
  
  /* Vzhled a typografie */
  background-color: #1f2622;   /* Tmavě zelený podklad matching sekcí */
  color: #ffffff !important;   /* Bílý text */
  font-family: inherit;
  font-size: 0.70rem;
  font-weight: 400;
  letter-spacing: 2px;         /* Elegantní rozstupy mezi písmeny */
  text-transform: uppercase;
  text-align: center;
  
  /* Rámeček, kulatost a stín */
  border: 1px solid #fcfffe;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  
  cursor: pointer;
  transition: all 0.3s ease;   /* Plynulá animace změny */
}

/* Hover efekt při najetí myší */
.contact-section .submit-btn:hover {
  background-color: #000000;   /* Zčerná při najetí */
  border-color: #000000;
  transform: translateY(-2px); /* Jemné povysunutí nahoru */
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Efekt při kliknutí */
.contact-section .submit-btn:active {
  transform: translateY(0);
}

/* Responzivita pro mobily */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Responzivita pro mobilní zařízení */
@media (max-width: 768px) {
  .about-hero-image {
    height: 50vh;
  }
  .about-lead {
    font-size: 1.15rem;
  }
}
/* --- 5. PATIČKA --- */
footer {
  background-color: var(--bg-footer);
  color: var(--text-light);
  padding: 3rem 8vw;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-contacts {
  display: flex;
  gap: 3rem;
}

.footer-item {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-item:hover {
  opacity: 1;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.75rem;
  opacity: 0.8;
}

.footer-socials a {
  color: var(--text-light);
  transition: var(--transition);
}

.footer-socials a:hover {
  color: var(--accent-gold);
}


/* --- RESPONSIVITA (MOBILY A TABLETY) --- */
@media (max-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  .photographer-image-container {
    margin-top: 0;
    padding: 0 8vw;
  }
  .photographer-img {
    height: 400px;
  }
  .signature-text {
    left: 10%;
  }
  .norway-banner {
    grid-template-columns: 1fr;
  }
  .testimonials-container {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  .footer-contacts {
    flex-direction: column;
    gap: 1rem;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .btn-outline {
    display: none;
  }
  .nav-links.active {
    display: flex;
    position: fixed;
    inset: 0;
    background: var(--bg-footer);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
  }
}
/* Úprava podpisu pro mobily a tablety */
@media (max-width: 768px) {
  .signature-text {
    font-size: 3rem; /* Zmenšení písma na polovinu */
    left: 70px; !important;   /* Zrušení záporného posunu, aby podpis neutíkal doleva */
    bottom: 420px;    /* Mírné úpravy odsazení odspodu */
  }
}

/* --- Úpravy pro mobily (přidej na konec CSS souboru do vašeho @media bloku) --- */

@media (max-width: 768px) {
  /* Zmenšení vnitřního odsazení celé zelené sekce, aby neubírala místo */
  .full-width-section {
    padding: 4rem 5vw;
  }

  /* Přepnutí 3 sloupců do 1 jediného sloupce pod sebou */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem; /* Mezera mezi jednotlivými bloky pod sebou */
  }

  /* Volitelné: zarovnání textu v blocích na mobilu (pokud chcete raději na střed) */
  .features-grid .feature-item {
    text-align: left; /* Ponecháno vlevo, změňte na center pokud chcete text vycentrovat */
  }
}

/* --- Úprava nadpisů pro mobily --- */
@media (max-width: 768px) {
  
  /* Vycentrování všech hlavních nadpisů na mobilu */
  h1, h2, h3, .hero-title, .section-title {
    text-align: center !important;
  }

}

@media (max-width: 768px) {

  /* Vycentrování tagu/podnadpisu na mobilu */
  .section-tag {
    text-align: center !important;
    display: block !important;     /* Změna z inline na block, aby se prvek roztáhl a vycentroval */
    margin-left: auto !important;  /* Vycentrování bloku na střed */
    margin-right: auto !important;
    width: fit-content;            /* Udrží hezké pozadí/rámeček kolem textu, pokud ho tag má */
  }

}

@media (max-width: 768px) {
  .logo-sub {
     text-align: center !important;
    display: block !important;     /* Změna z inline na block, aby se prvek roztáhl a vycentroval */
    margin-left: auto !important;  /* Vycentrování bloku na střed */
    margin-right: auto !important;
    width: fit-content;            /* Udrží hezké pozadí/rámeček kolem textu, pokud ho tag má */
  }

}