/*
Theme Name: Hubb Coworking
Theme URI: https://hubb.sk
Author: Hubb Team
Author URI: https://hubb.sk
Description: Moderný WordPress theme pre coworking priestor hubb.sk
Version: 1.2
Text Domain: hubb
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --color-primary: #FFB84D;
  --color-primary-hover: #f59e0b;
  --color-primary-soft: #fff3d6;
  --color-dark: #0f172a;
  --color-text: #475569;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Roboto', sans-serif;
}

body { font-family: var(--font-body); color: var(--color-dark); margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); }

/* Updated Hero Section for Image Background */
.hero-section {
  padding: 10rem 1rem 8rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* White text for image background */
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-section p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.hero-box {
    margin-top: -6rem !important;
}

.btn-primary {
  background: var(--color-primary);
  color: #000;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  border: 2px solid #fff;
  backdrop-filter: blur(4px);
  display: inline-block;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: #195cb5;
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 120px;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-dark);
  text-decoration: none;
}

.custom-logo-link img {
  margin-top: 7px;
  max-width: 245px;
  max-height: 117px;
}

.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
}

.main-navigation a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fafafa;
  text-decoration: none;
  transition: color 0.3s;
  padding: 0px 20px;
}

.main-navigation a:hover {
  color: #fafafa;
  text-decoration: underline;
  text-decoration-color: var(--color-primary);
}

.border-radius-text {
  border-radius: 15px;
  padding: 30px 45px;
}

.header-cta {
  font-family: var(--font-heading);
  font-weight: 600;
  background: #195cb5;
  color: #fafafa;
  padding: 0.5rem 1.5rem;
  text-decoration: none;
  font-size: 20px;
  transition: all 0.3s;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #fafafa;
  position: relative;
  z-index: 1001;
}

/* ========================================
   SINGLE ICON LANGUAGE SWITCHER
   Replace the entire Language Switcher section in style.css
   ======================================== */

/* Desktop Language Switcher */
.language-switcher-desktop {
    display: flex;
    align-items: center;
    background: transparent;
    padding: 0;
}

.language-switch-btn {
    font-family: var(--font-heading);
    font-weight: 600;
    color: #fafafa;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
}

.language-switch-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.language-switch-btn i {
    font-size: 1.125rem;
}

.language-switch-btn .lang-code {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Mobile Language Switcher */
.mobile-language-switcher {
    display: none;
    padding: 1.5rem 1rem;
    margin-top: -20px;
    text-align: center;
}

.mobile-language-switcher .language-switch-btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.mobile-language-switcher .language-switch-btn:hover {
    background: var(--color-primary);
    color: #000000;
    border-color: var(--color-primary);
}

.mobile-language-switcher .language-switch-btn i {
    font-size: 1.25rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .language-switcher-desktop {
        display: none;
    }
    
    .mobile-language-switcher {
        display: block;
    }
}

@media (min-width: 992px) {
    .mobile-language-switcher {
        display: none !important;
    }
}

/* ========================================
   ALTERNATIVE STYLE: Circular Icon Button
   Use this if you prefer a round button
   ======================================== */

/* Uncomment this section for circular style:

.language-switch-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: var(--color-primary);
    color: #000000;
}

.language-switch-btn:hover {
    background: var(--color-primary-hover);
    transform: scale(1.1);
}

.language-switch-btn i {
    font-size: 1rem;
    margin-bottom: 2px;
}

.language-switch-btn .lang-code {
    font-size: 0.625rem;
    line-height: 1;
}

*/

/* ========================================
   ALTERNATIVE STYLE: Minimal Icon Only
   Use this for just the globe icon
   ======================================== */

/* Uncomment this section for icon-only style:

.language-switch-btn .lang-code {
    display: none;
}

.language-switch-btn {
    padding: 0.5rem;
    min-width: 40px;
    justify-content: center;
}

.language-switch-btn i {
    font-size: 1.25rem;
}

*/

/* Smooth scroll to anchors */
html {
  scroll-behavior: smooth;
}

/* ========================================
   CONTACT FORM MESSAGES (PRIDAJ DO style.css)
   Vlož toto za sekciu "Smooth scroll to anchors"
   ======================================== */

/* Upravený scroll offset pre form messages */
#form-message {
  margin-bottom: 2rem;
  scroll-margin-top: 200px; /* Zachováva tvoje nastavenie */
}

.gdpr-consent {
    width: 100%;
    max-width: 250px !important; /* Prepíše prípadné limity šírky */
    margin: 2rem 0 !important;
    padding: 1.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: left !important; /* Vynúti zarovnanie obsahu vľavo */
    display: block !important;
}

.gdpr-label {
    display: flex !important;
    align-items: flex-start !important; /* Zarovná checkbox k prvému riadku textu */
    justify-content: flex-start !important;
    gap: 12px !important;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 !important;
    width: 100%;
}

.gdpr-label input[type="checkbox"] {
    margin-top: 4px !important; /* Presné vycentrovanie voči prvému riadku */
    flex-shrink: 0 !important; /* Zabezpečí, že sa checkbox nezmenší pri dlhom texte */
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    accent-color: #1e40af;
}

.gdpr-text {
    color: #334155;
    text-align: left !important;
    display: inline-block;
    padding-top: 3px;
}

.gdpr-text a {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 500;
}

.gdpr-text a:hover {
    color: #1e3a8a;
}

/* Error state for unchecked GDPR */
.gdpr-consent input[type="checkbox"]:invalid {
    outline-offset: 2px;
    margin-right: 3px;
}

/* Success message styling */
.form-message-success {
  background: #d4edda;
  color: #155724;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid #c3e6cb;
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-body);
}

.form-message-success strong:first-child {
  font-size: 1.1rem;
  margin-right: 0.2rem;
}

/* Error message styling */
.form-message-error {
  background: #f8d7da;
  color: #721c24;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 2px solid #f5c6cb;
  font-size: 1rem;
  line-height: 1.6;
  font-family: var(--font-body);
}

.form-message-error strong:first-child {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Optional: Add offset for fixed header */
#form-message {
  scroll-margin-top: 200px; /* Adjust based on your header height */
}

/* ========================================
   PRIVACY POLICY PAGE STYLING
   ======================================== */

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
    color: #334155;
}

.privacy-content h2 {
    color: #1e293b;
    font-size: 1.875rem;
    font-weight: 700;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content h3 {
    color: #334155;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-content h4 {
    color: #475569;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.privacy-content p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.privacy-content ul,
.privacy-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.privacy-content a {
    color: #1e40af;
    text-decoration: underline;
    font-weight: 500;
}

.privacy-content a:hover {
    color: #1e3a8a;
}

.privacy-content strong {
    color: #1e293b;
    font-weight: 600;
}

/* Info boxes for important notes */
.privacy-content .important-note {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.privacy-content .info-box {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    padding: 1.25rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

/* Privacy footer styling */
.privacy-footer {
    max-width: 900px;
    margin: 0 auto;
}

/* Table styling for privacy policy tables */
.privacy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
}

.privacy-content table th {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 600;
    padding: 1rem;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.privacy-content table td {
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

.privacy-content table tr:hover {
    background: #f8fafc;
}

/* Responsive adjustments */
@media (max-width: 1164px) {
.home-title-posun {
    margin-top: 4rem;
}
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-box {
        margin-top: -3rem !important;
    }
        
    .privacy-content {
        font-size: 0.95rem;
    }
    
    .privacy-content h2 {
        font-size: 1.5rem;
    }
    
    .privacy-content h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 1060px) {

.main-navigation a {
  padding: 0px 12px;
}

}

@media (max-width: 991.98px) {
  .header-cta {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #195cb5;
    z-index: 9999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    overflow-y: auto;
    max-height: calc(100vh - 150px);
    -webkit-overflow-scrolling: touch;
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    padding: 1rem;
  }
 
  .main-navigation ul li {
    text-align: center;
    border-top: 1px solid #e1e1e1;
    padding-top: 0;
  }
  
  /* Makes entire menu item area clickable */
  .main-navigation ul li a {
    display: block;
    padding: 18px 0px;
    width: 100%;
  }
  
  .main-navigation ul li:last-child {
    border-bottom: 1px solid #e1e1e1;
    padding-bottom: 0;
  }
  
  /* Optional: Add hover effect for better UX */
  .main-navigation ul li a:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .custom-logo-link img {
    margin-left: -30px;
  }
  
  .site-header .container {
    position: relative; 
  }
}

/* Hero Section */
.hero-section {
  padding: 12rem 1rem 5rem;
  background: linear-gradient(to bottom right, #f8fafc, var(--color-primary-soft));
  text-align: center;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-section p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.8rem;
  color: #f1f1f1;
  margin-bottom: 2rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  font-family: var(--font-heading);
  background: var(--color-primary);
  color: #000000;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  transition: background 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background: var(--color-primary-hover);
}

.btn-secondary {
  font-family: var(--font-heading);
  background: white;
  color: var(--color-dark);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-size: 1.125rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  transition: background 0.3s;
  display: inline-block;
}

.btn-secondary:hover {
  background: #f8fafc;
}

/* Content Sections */
.content-section {
  padding: 5rem 1rem;
}

.content-section.alt-bg {
  background: #f8fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}

.section-header p {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.9rem;
  color: var(--color-text);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-map {
    width: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    margin: 0 auto;
    text-align: center;
}

.contact-map img {
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    width: 100%;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Gallery Space */
.gallery-space {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
  margin-top: 3rem;
}

.gallery-space img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-space img:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.lightbox-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 0.5rem;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: var(--color-primary);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.19);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  z-index: 9999;
}

.lightbox-prev {
  left: 20px;
  padding: 23px 30px 28px 26px;
}

.lightbox-next {
  right: 20px;
  padding: 23px 26px 28px 30px;
}

/* ========================================
   ENHANCED LIGHTBOX WITH CAPTIONS
   Replace your existing lightbox styles with these
   ======================================== */

/* Lightbox Container */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

/* Lightbox Content Container */
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Lightbox Image */
.lightbox-content img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(90vh - 120px); /* Leave room for caption and counter */
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Lightbox Caption */
.lightbox-caption {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  border-radius: 8px;
  max-width: 800px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  animation: fadeInUp 0.4s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Lightbox Counter (Image X of Y) */
.lightbox-counter {
  background: rgba(255, 184, 77, 0.9);
  color: #000000;
  padding: 0.5rem 1rem;
  margin-top: 0.75rem;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  animation: fadeIn 0.4s ease;
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  font-weight: 300;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

/* Navigation Buttons */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  font-weight: 300;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(1px);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10000;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .lightbox-content img {
    max-height: calc(90vh - 160px); /* More room for caption on mobile */
  }
  
  .lightbox-caption {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    max-width: 90%;
  }
  
  .lightbox-counter {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
  
  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .lightbox-close {
    top: -45px;
    width: 45px;
    height: 45px;
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .lightbox-caption {
    font-size: 0.8125rem;
    padding: 0.625rem 0.875rem;
  }
  
  .lightbox-counter {
    font-size: 0.6875rem;
  }
  
  .lightbox-nav {
    width: 45px;
    height: 45px;
    font-size: 1.75rem;
  }
}

/* Loading State */
.lightbox-content img {
  transition: opacity 0.3s ease;
}

.lightbox-content img[src=""] {
  opacity: 0;
}

.kontakt-obhliadka {
    line-height: 1.5rem;
    border-radius: 15px;
    padding: 14px 21px;
    border: 2px solid #ffb84d;
    margin-top: -10px;
}

@media (max-width: 892px) {
.footer-section ul li {
  margin-bottom: 1.5rem;
}

}

@media (max-width: 768px) {
  .lightbox-nav {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
  
  .lightbox-prev {
    left: 10px;
  }
  
  .lightbox-next {
    right: 10px;
  }
  
  .kontakt-obhliadka {
    max-width: 315px;
  }
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.feature-card {
  text-align: center;
  padding: 2rem;
  background: #f8fafc;
  border-radius: 0.75rem;
  transition: box-shadow 0.3s;
}

.feature-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  cursor: default;
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--color-primary-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7rem;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.amenity-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.amenity-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.amenity-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.amenity-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.amenity-card p {
  font-family: var(--font-body);
  color: var(--color-text);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e2e8f0;
  transition: border-color 0.3s;
}

.pricing-card:hover {
  border-color: var(--color-primary);
}

.pricing-card.featured {
  background: #195cb5;
  transform: scale(1.05);
  position: relative;
  border: 3px solid #073470;
}

.pricing-badge {
  font-family: var(--font-heading);
  background: white;
  color: #195cb5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.pricing-card.featured h3 {
  color: white;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 1.5rem;
}

.pricing-card.featured .pricing-amount {
  color: white;
}

.pricing-period {
  font-family: var(--font-body);
  color: var(--color-text);
  font-size: 1rem;
}

.pricing-card.featured .pricing-period {
  color: #81f1ff;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  padding-inline-start: 25px;
}

.pricing-features li {
  font-family: var(--font-body);
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  line-height: 1.7rem;
}

.pricing-features hr {
  width: 100%;
}

.pricing-card.featured .pricing-features li {
  color: white;
}

.pricing-features svg {
  width: 20px;
  height: 20px;
  margin-right: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary);
}

.pricing-card.featured .pricing-features svg {
  color: white;
}

.pricing-cta {
  font-family: var(--font-heading);
  display: block;
  width: 82%;
  text-align: center;
  background: var(--color-dark);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
  margin: 0 auto;
}

.pricing-cta:hover {
  background: #1e293b;
}

.pricing-card.featured .pricing-cta {
  background: #000000;
  color: #ffffff;
}

.pricing-card.featured .pricing-cta:hover {
  background: #0f172a;
}

/* Contact Section */
.contact-section {
  padding: 5rem 1rem;
  background: #f8fafc;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info > p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  margin-right: 1rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.contact-item p,
.contact-item a {
  font-family: var(--font-body);
  color: var(--color-text);
  text-decoration: none;
}

.contact-item a:hover {
  color: var(--color-primary);
}

.contact-form {
  background: white;
  padding: 2rem 2rem 2.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  max-width: 300px;
  max-height: 750px;
  margin-top: 92px;
}

.contact-item h4 {
    margin-top: 5px;
    margin-bottom: 8px;
}

/* Form Styles with Poppins */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  font-family: var(--font-heading);
  width: 100%;
  max-width: 250px;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  font-family: var(--font-heading);
  width: 100%;
  max-width: 290px;
  background: var(--color-primary);
  color: #000000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: var(--color-primary-hover);
}

/* ========================================
   HUBB CONTACT FORM SPECIFIC STYLES
   Pridaj toto za sekciu "Form Styles with Poppins"
   ======================================== */

/* Špecifické pravidlá pre fallback contact form */
.hubb-contact-form .form-group {
  margin-bottom: 1.5rem;
}

.hubb-contact-form label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.hubb-contact-form input[type="text"],
.hubb-contact-form input[type="email"],
.hubb-contact-form input[type="tel"],
.hubb-contact-form textarea {
  font-family: var(--font-heading);
  width: 100%;
  max-width: 250px;
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.hubb-contact-form input[type="text"]:focus,
.hubb-contact-form input[type="email"]:focus,
.hubb-contact-form input[type="tel"]:focus,
.hubb-contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 184, 77, 0.1);
}

.hubb-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.hubb-contact-form .form-submit {
  font-family: var(--font-heading);
  width: 100%;
  max-width: 290px;
  background: var(--color-primary);
  color: #000000;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.hubb-contact-form .form-submit:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
}

.hubb-contact-form .form-submit:active {
  transform: translateY(0);
}

/* Footer */
.site-footer {
  background: var(--color-dark);
  color: white;
  padding: 3rem 1rem;
}

.footer-web {
    color: #6a6f84; 
    text-decoration: none;
}

.footer-web:hover {
    color: #F59E0B; 
    text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.footer-section h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section p {
  font-family: var(--font-body);
  color: var(--color-slate);
  line-height: 1.6rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  font-family: var(--font-body);
  margin-bottom: 1.5rem;
}

.footer-section a {
  color: var(--color-slate);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 700;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  font-family: var(--font-body);
  border-top: 1px solid #334155;
  padding-top: 2rem;
  text-align: center;
  color: var(--color-slate);
}

.site-footer ul {
    margin-top: 30px;
}


/* ========================================
   FOOTER ADDITIONAL STYLES
   Pridaj toto do svojho style.css do sekcie "FOOTER"
   ======================================== */

/* Footer brand styling */
.footer-brand-prefix {
  font-size: 1.4rem;
  margin-right: 2px;
}

/* Footer phone link */
.footer-phone-link {
  color: #f59e0b !important;
  text-decoration: none;
  font-size: 1.15rem;
}

.footer-phone-link i {
  margin-right: 8px;
}

/* Footer address lines */
.footer-address-line {
  margin-top: -12px;
}

/* Footer newsletter text */
.footer-newsletter-text {
  margin-top: -8px;
}

/* Footer email link */
.footer-email-link {
  color: #fafafa !important;
  text-decoration: none;
  font-size: 1rem;
}

.footer-email-link i {
  margin-right: 8px;
}

.footer-email-link:hover {
  color: var(--color-primary) !important;
}

/* Footer operator section */
.footer-operator-title {
  font-size: 0.9rem;
  margin-top: 20px;
}

.footer-operator-details {
  margin-top: -8px;
  line-height: 1.8rem;
  font-size: 0.9rem;
}

/* Footer copyright brand */
.footer-copyright-brand {
  margin-left: 2px;
}

.footer-copyright-brand .footer-brand-prefix {
  font-size: 1rem;
}

/* Footer tagline */
.footer-tagline {
  line-height: 1.7rem;
}

@media (max-width: 820px) {
.form-group input, .form-group textarea {
    max-width: 230px;
}

}

/* Responsive Typography */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 10rem;
  }
  
  .hero-section h1 {
    font-size: 2.5rem;
    margin-top: 3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .contact-info h2 {
    font-size: 2rem;
  }
  
  .contact-form {
    margin-top: 0px;
    padding: 2rem 0rem 2.5rem 2.5rem;
  }
  
  .form-group input,
  .form-group textarea {
    max-width: 220px;
  }
  
  .form-submit {
    max-width: 260px;
  }
  
    .form-message-success,
  .form-message-error {
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
  }
  
  #form-message {
    scroll-margin-top: 150px; /* Upravené pre mobile */
  }
  
  .hubb-contact-form input[type="text"],
  .hubb-contact-form input[type="email"],
  .hubb-contact-form input[type="tel"],
  .hubb-contact-form textarea {
    max-width: 220px;
  }
  
  .hubb-contact-form .form-submit {
    max-width: 260px;
  }
  
  .hubb-contact-form .form-group {
    max-width: 221px !important;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* WordPress Specific */
.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text);
  margin-top: 0.5rem;
}

/* ========================================
   FOOTER SOCIAL MEDIA ICONS
   Add this to the Footer section in style.css
   ======================================== */

.footer-social-icons {
  display: flex;
  gap: 1.8rem;
  margin-top: 1.5rem;
  align-items: center;
}

.social-icon {
  color: #94a3b8;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: #ffffff;
  transform: translateY(-3px);
}

/* Disabled state for YouTube and LinkedIn (until URLs are ready) */
.social-icon-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.social-icon-disabled:hover {
  color: #94a3b8;
  transform: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .footer-social-icons {
    justify-content: center;
    margin-top: 2rem;
  }
  
  .social-icon {
    font-size: 1.75rem;
  }
}

/* ========================================
   SCREENING PAGE STYLES
   Add this to your style.css
   ======================================== */

.screening-section {
  padding: 5rem 1rem;
  background: #f8fafc;
}

.screening-intro {
  max-width: 800px;
  margin: 0 auto 4rem;
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.screening-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

.screening-intro p {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.screening-intro p:last-child {
  margin-bottom: 0;
  font-weight: 600;
  color: #205dae;
}

/* Screening Form */
/* Zjednotenie pre Screening aj Trial Day formulár */
.hubb-screening-form,
.hubb-trial-day-form {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  text-align: left; /* Oprava centrovania textu z hero sekcie */
}

/* Oprava šírky inputov - prepísanie globálneho 250px limitu */
.hubb-screening-form .form-group input,
.hubb-screening-form .form-group textarea,
.hubb-trial-day-form .form-group textarea,
.hubb-trial-day-form .form-group select {
  max-width: 100% !important; /* Dôležité: zrušíme limit z kontaktného formulára */
  width: 100%;
  box-sizing: border-box;
}

/* Oprava form-row layoutu */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Štýlovanie sekcií vo vnútri */
.form-section {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid #e2e8f0;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

/* Resetovanie marginov pre label v týchto formulároch */
.hubb-trial-day-form .form-group {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.form-footer-note {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    font-family: var(--font-body);
}

/* Responzivita pre mobil */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .hubb-screening-form,
  .hubb-trial-day-form {
    padding: 1.5rem;
  }
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 0rem;
  border-bottom: 0px solid #e2e8f0;
}

.form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 2rem;
  padding-bottom: 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--color-primary);
  display: inline-block;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}

.label-hint {
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--color-text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 184, 77, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: background 0.2s ease;
}

.checkbox-label:hover {
  background: #f8fafc;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--color-primary);
  
}

.checkbox-label span {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.5;
}

.checkbox-label input[type="text"] {
  flex: 1;
  margin-top: -0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.9375rem;
}

/* Submit Button */
.form-submit-large {
  font-family: var(--font-heading);
  width: 100%;
  max-width: none;
  background: var(--color-primary);
  color: #000000;
  padding: 1.125rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(255, 184, 77, 0.3);
}

.form-submit-large:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 77, 0.4);
}

.form-submit-large:active {
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .screening-section {
    padding: 3rem 1rem;
  }

  .screening-intro {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .screening-intro h2 {
    font-size: 1.75rem;
  }

  .screening-intro p {
    font-size: 1rem;
  }

  .hubb-screening-form {
    padding: 2rem 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .form-group label {
    font-size: 0.875rem;
  }

  .form-submit-large {
    font-size: 1rem;
    padding: 1rem 1.5rem;
  }
  
  .checkbox-label input[type="text"] {
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .hubb-screening-form {
    padding: 1.5rem 1rem;
  }

  .form-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .checkbox-label {
    padding: 0.5rem;
  }
}

/* ========================================
   TRIAL DAY FORM STYLING
   Add this to your main style.css
   ======================================== */

/* Custom Date Picker Styling */
input[type="date"] {
    position: relative;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1e293b;
    width: 100%;
}

input[type="date"]:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

input[type="date"]:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

/* Calendar icon styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    filter: opacity(0.6);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    background-color: #f1f5f9;
    filter: opacity(1);
}

/* Firefox date picker */
input[type="date"]::-moz-calendar-picker-indicator {
    cursor: pointer;
}

/* Opening notice badge */
.opening-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;
    background: linear-gradient(349deg, #1e40af 0%, #569ff7 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.opening-notice i {
    font-size: 16px;
}

/* Make sure select matches date input styling */
.form-group select {
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    color: #1e293b;
    width: 100%;
}

.form-group select:hover {
    border-color: #94a3b8;
    background-color: #f8fafc;
}

.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background-color: #ffffff;
}

/* Form hint text under inputs */
.form-hint {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    input[type="date"],
    .form-group select {
        font-size: 14px;
        padding: 10px 14px;
    }
    
    .opening-notice {
        font-size: 13px;
        padding: 8px 14px;
    }
}

/* ========================================
   RESPONSIVE HERO BACKGROUNDS FOR CONTACT PAGE
   ======================================== */

/* Hero section with responsive backgrounds */
.hero-contact-responsive {
  position: relative;
  padding: 10rem 1rem 8rem;
  text-align: center;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  overflow: hidden;
}

/* Common styles for both backgrounds */
.hero-bg-desktop,
.hero-bg-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Desktop background - show by default */
.hero-bg-desktop {
  display: block;
}

/* Mobile background - hide by default */
.hero-bg-mobile {
  display: none;
}

/* Ensure content is above backgrounds */
.hero-contact-responsive .container {
  position: relative;
  z-index: 1;
  margin-top: -8rem;
}

/* Mobile breakpoint - swap backgrounds */
@media (max-width: 768px) {
  /* Hide desktop background */
  .hero-bg-desktop {
    display: none;
  }
  
  .hero-contact-responsive .container {
    margin-top: -3rem;
  }
  
  /* Show mobile background */
  .hero-bg-mobile {
    display: block;
    background-position: 60% center; /* Adjust this to show the main building */
  }
  
  .hero-contact-responsive {
    padding-top: 10rem;
    min-height: 65vh;
  }
}

/* Extra small devices */
@media (max-width: 480px) {
  .hero-contact-responsive {
    padding: 8rem 1rem 6rem;
    min-height: 55vh;
  }
  
  .hero-bg-mobile {
    background-position: 65% center; /* Fine-tune for small screens */
  }
}