/* Modern CSS for Coaching Lenarčič Website (responsive + nav + forms) */

/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }
html,body { height: 100%; }
body { background: #f7f9fc; color: #1e1e1e; line-height: 1.6; -webkit-font-smoothing: antialiased; }

/* Containers */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.container-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3; /* all images same visual ratio */
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(8,30,60,0.18);
}


.container-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;   /* key property */
  display: block;
}


/* Header / Nav */
.header {
  background: #fff;
  padding: 14px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: relative;
}

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: #005fa3;
  letter-spacing: 0.2px;
}

.logo img {
  height: 42px;
  width: auto;
  display: block;
}



/* Main nav links */
.nav {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-link, .nav a {
  color: #333;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 500;
}

.nav a:hover,
.nav-link:hover {
  color: #6b73ff;
  background: rgba(107, 115, 255, 0.12);
}

.nav-link.active {
  background: linear-gradient(135deg, rgba(107, 115, 255, 0.25), rgba(185, 147, 255, 0.18));
  color: #4b4eff;
  box-shadow: 0 6px 18px rgba(107, 115, 255, 0.25);
}

/* Dropdown */
.dropdown { position: relative; }
.dropbtn {
  background: none;
  border: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.dropbtn .chev { font-size: 0.8rem; opacity: 0.9; display: inline-block; transition: transform 0.2s ease; }
.dropdown:hover .dropbtn { background: rgba(107,115,255,0.12); color: #4b4eff; }
.dropdown:hover .dropbtn .chev { transform: rotate(180deg); }

/* Dropdown content */
.dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(8,30,60,0.12);
  overflow: hidden;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);  
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.dropdown-content.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.dropdown-content a {
  display: block;
  padding: 12px 16px;
  color: #222;
  text-decoration: none;
  font-weight: 500;
}
.dropdown-content a:hover { background: #f1f6ff; color: #005fa3; }

/* Right controls */
.right-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 300;
}

.right-controls .linkedin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #4b4eff;
  transition: color 0.2s ease, transform 0.2s ease;
  margin-right: 8px;
}

.right-controls .linkedin-link:hover {
  color: #005fa3;
  transform: translateY(-1px);
}

/* Language switcher */
.lang-switcher { color:#666; font-size:0.95rem; }
.lang-switcher a { color: #666; text-decoration:none; margin: 0 6px; font-weight:600; }
.lang-switcher a[aria-current="true"] { color: #005fa3; }

/* Hamburger (mobile) */
.hamburger { display:none; background:none; border:none; padding:8px; cursor:pointer; }
.hamburger span { display:block; width:22px; height:2px; background:#333; margin:4px 0; border-radius:2px; transition:0.2s; }

/* Hero */
.hero {
  background: linear-gradient(135deg, #6b73ff, #b993ff);
  padding: 100px 0;
  color: white;
  text-align: center;
  box-shadow: inset 0 -60px 80px rgba(0,0,0,0.08);
}
.hero h1 { font-size: 2.6rem; margin-bottom:12px; line-height:1.05; }
.hero p { font-size: 1.15rem; margin-bottom: 32px; opacity: 0.88; max-width: 640px; margin-left:auto; margin-right:auto; }

/* Card images (homepage services) */
.card-image {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  margin: 14px auto 10px;
  box-shadow: 0 18px 40px rgba(8,30,60,0.18);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Buttons */
.primary-btn {
  display: inline-block; background: rgba(255, 255, 255, 0.95); color: #5a5fff; padding: 14px 32px; border-radius: 14px;
  font-weight: 800; text-decoration: none; letter-spacing: 0.2px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18); backdrop-filter: blur(6px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.primary-btn:hover { transform: translateY(-2px); background: #ffffff; box-shadow: 0 26px 60px rgba(0,0,0,0.22); }
.secondary-btn {
  display: inline-block; padding: 12px 24px; border-radius: 12px; background: rgba(107, 115, 255, 0.12); color: #5a5fff;
  font-weight: 700; text-decoration: none; transition: background 0.2s ease, transform 0.2s ease;
}
.secondary-btn:hover { background: rgba(107, 115, 255, 0.2); transform: translateY(-1px); }

/* Sections */
section { margin: 48px 0; }
h2 { color: #08324b; margin-bottom:10px; }

/* Cards */
.card-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top:20px; justify-items:center; }
.card { background: #fff; border-radius:12px; padding:20px; box-shadow:0 8px 24px rgba(8,30,60,0.06); width:100%; max-width:360px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow:0 14px 36px rgba(8,30,60,0.12); }

.card h3 {
  margin-bottom: 10px;
  color: #08324b;
}

.card p a {
  font-weight: 600;
  color: #5a5fff;
  text-decoration: none;
}

.card p a:hover {
  text-decoration: underline;
}


/* Contact form */
form.contact-form { display:grid; gap:12px; grid-template-columns:1fr 1fr; align-items:start; background:#fff; padding:22px; border-radius:12px; box-shadow:0 10px 30px rgba(8,30,60,0.06); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea { width:100%; padding:12px 14px; border:1px solid #e6eef9; border-radius:8px; font-size:0.98rem; }
.contact-form textarea { min-height:140px; resize:vertical; }
.contact-form button {
  grid-column:1/-1; justify-self:start; background: linear-gradient(135deg, #6b73ff, #b993ff); color:#fff;
  padding:14px 26px; border-radius:12px; border:none; cursor:pointer; font-weight:700; letter-spacing:0.2px;
  box-shadow:0 10px 28px rgba(107,115,255,0.35); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus { outline:none; border-color:#6b73ff; box-shadow:0 0 0 3px rgba(107,115,255,0.2); }
.contact-form button:hover { transform: translateY(-2px); box-shadow:0 16px 38px rgba(107,115,255,0.45); }
.form-status { grid-column:1/-1; font-weight:600; }

/* Honeypot anti-spam */
.hp-field {
  position: absolute !important;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  opacity: 0;
  pointer-events: none;
}


/* Footer */
.footer { background:#fff; padding:30px 0; border-top:1px solid #eef3f8; margin-top:40px; text-align:center; color:#6b7280; }

/* Animations */
@keyframes fadeIn { from { opacity:0; transform:translateY(6px);} to {opacity:1; transform:translateY(0);} }

/* Responsive */
@media (max-width:880px) {
  .nav { display:none; flex-direction:column; padding:16px; gap:8px; position:absolute; top:70px; left:0; right:0; background:#fff; border-radius:8px; margin:0 12px; box-shadow:0 12px 40px rgba(8,30,60,0.12); }
  .nav.show { display:flex; }
  .hamburger { display:block; }
  .hero { padding:70px 0; }
  .contact-form { grid-template-columns:1fr; }

  /* Mobile dropdown */
  .dropdown-content { position: static; display:none; opacity:1 !important; pointer-events:auto !important; transform:none !important; margin-top:8px; }
  .dropdown-content.show { display:block; }
  .dropbtn { width:100%; justify-content:space-between; }
}

/* Section cards */
.section-card { background:#fff; border-radius:12px; padding:24px 28px; box-shadow:0 8px 24px rgba(8,30,60,0.06); transition: transform 0.2s ease, box-shadow 0.2s ease; margin:0 auto 40px; max-width:800px; }

/* Mobile spacing */
/*@media (max-width:768px) { .right-controls .linkedin-link { margin-right:8px; } }*/

@media (max-width: 880px) {

  .nav-wrap {
    flex-wrap: wrap;
  }

  /* Top row: logo + controls */
  .logo {
    flex: 1;
  }

  .right-controls {
    flex: 1;
    justify-content: flex-end;
  }

  /* Keep icons aligned nicely */
  .right-controls {
    gap: 10px;
  }

  /* Nav drops below header row */
  .nav {
    width: 100%;
    order: 3;
  }
}
.hamburger {
  margin-left: 4px;
}

/* About page */
.about-section {
  margin: 80px auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.about-photo img {
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(8,30,60,0.18);
}

.about-text h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.about-text p {
  font-size: 1.05rem;
  color: #3a3a3a;
  margin-bottom: 28px;
  line-height: 1.75;
}

/* Mobile */
@media (max-width: 880px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .about-photo img {
    margin: 0 auto;
  }

  .about-text {
    text-align: left;
  }
}

/* Quote band */
.quote-band {
  background: linear-gradient(135deg, #6b73ff, #b993ff);
  color: #fff;
  padding: 70px 0;
  text-align: center;
}
.quote-band blockquote {
  font-size: 1.6rem;
  font-weight: 600;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.4;
  opacity: 0.95;
}

/* Pillars */
.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.pillar-card {
  background: #fff;
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(8,30,60,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar-card i {
  font-size: 1.8rem;
  color: #6b73ff;
  margin-bottom: 14px;
}

.pillar-card h3 {
  margin-bottom: 8px;
  color: #08324b;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(8,30,60,0.14);
}

/* Soft CTA */
.soft-cta {
  background: #f1f4ff;
  padding: 70px 0;
  text-align: center;
}

.soft-cta h2 {
  margin-bottom: 10px;
}

.soft-cta p {
  max-width: 600px;
  margin: 0 auto 24px;
  color: #555;
}

/* =========================
   SPLIT HERO – COMPACT
   ========================= */

.split-hero {
  background: linear-gradient(135deg, #6b73ff, #b993ff);
  padding: 36px 0;              /* ↓ MUCH shorter */
  color: #fff;
  overflow: hidden;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
}

.split-hero .container {
  max-width: 1000px;            /* ↓ tighter width */
}

.split-hero-inner {
  display: grid;
  grid-template-columns: 1fr 280px; /* 🔥 EXACT photo column width */
  align-items: center;
  gap: 16px;
}



/* Text side */
.hero-content h1 {
  font-size: 2.4rem;
  line-height: 1.05;
  margin-bottom: 8px;           /* ↓ tighter */
}

.hero-content p {
  font-size: 1.05rem;
  opacity: 0.9;
  max-width: 480px;
  margin-bottom: 0;
}

.hero-actions {
  margin-top: 18px;             /* ↓ tighter */
  display: flex;
  gap: 12px;
}


/* Photo side */
.hero-photo {
  max-width: 280px;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,0.26);
  position: relative;

  /* CRITICAL */
  height: auto;
  align-self: center;
  justify-self: end;
}



/* Image MUST inherit rounding */
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps full vertical photo visible */
  display: block;
}

/* About page adjustments */
.about-section.container {
    padding-top: 24px;   /* reduced from default 48px */
    margin-top: 0;
}

.about-section p:first-of-type {
    margin-top: 0;       /* remove extra space before first paragraph */
}

.section-card.about-container {
    padding-top: 0;      /* remove extra top padding from section-card wrapper */
}

/* Optional: tighten spacing between grid items */
.about-grid {
    gap: 32px;           /* reduce space between photo and text */
}



/* Mobile */
@media (max-width: 900px) {
  .split-hero {
    padding: 48px 0;
  }

  .split-hero-inner {
    grid-template-columns: 1fr;
	text-align: center;
  }

  .hero-photo {
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-content p {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }
}
