/* Dropdown Navigation Styles */

/* Override Bootstrap and ensure navbar allows dropdown overflow */
.navbar {
  overflow: visible !important;
  z-index: 100;
}

.navbar .dropdown {
  position: relative;
  display: inline-block;
  z-index: 200;
}

.navbar .dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--Cream, #fed);
  font-family: Inter;
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
}

/* Flexbox gap fallback for Safari < 14.1 */
.navbar .dropdown-toggle > * + * {
  margin-left: 5px;
}

@supports (gap: 5px) {
  .navbar .dropdown-toggle > * + * {
    margin-left: 0;
  }
}

.navbar .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.1em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
}

.navbar .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.navbar .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 15px 0;
  margin-top: 0px;
  background: #3a250f;
  border-radius: 15px;
  border: 1px solid rgba(254, 238, 221, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 200;
  list-style: none;
}

/* Show dropdown on hover */
.navbar .dropdown:hover > .dropdown-menu,
.dropdown-menu:hover {
  display: block;
}

.navbar .dropdown-menu a {
  display: block;
  padding: 10px 25px;
  color: #fed !important;
  font-family: Inter;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

.navbar .dropdown-menu a:hover {
  background: rgba(254, 238, 221, 0.1);
  color: #d08e3e !important;
}

/* Language Dropdown Styles */
.langDrop {
  position: relative;
  cursor: pointer;
}

.langDrop > img {
  width: 24px;
  height: auto;
}

.langDrop .lang-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 150px;
  padding: 10px 0;
  margin-top: 10px;
  background: #3a250f;
  border-radius: 15px;
  border: 1px solid rgba(254, 238, 221, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 150;
  list-style: none;
}

.langDrop .lang-dropdown-menu::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.langDrop:hover .lang-dropdown-menu {
  display: block;
}

.langDrop:hover i {
  transform: rotate(180deg);
}

.langDrop i {
  transition: transform 0.3s ease;
}

.langDrop .lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #fed !important;
  font-family: Inter;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}

/* Flexbox gap fallback for Safari < 14.1 */
.langDrop .lang-dropdown-menu a > * + * {
  margin-left: 10px;
}

@supports (gap: 10px) {
  .langDrop .lang-dropdown-menu a > * + * {
    margin-left: 0;
  }
}

.langDrop .lang-dropdown-menu a:hover {
  background: rgba(254, 238, 221, 0.1);
  color: #d08e3e !important;
}

.langDrop .lang-dropdown-menu img {
  width: 20px;
  height: auto;
}

.langDrop .lang-dropdown-menu a.active-lang {
  color: #d08e3e !important;
  background: rgba(254, 238, 221, 0.1);
}

/* Mobile Menu Dropdown Styles */
#fullMenu .mobile-dropdown {
  width: 100%;
  text-align: center;
}

#fullMenu .mobile-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Flexbox gap fallback for Safari < 14.1 */
#fullMenu .mobile-dropdown-toggle > * + * {
  margin-left: 10px;
}

@supports (gap: 10px) {
  #fullMenu .mobile-dropdown-toggle > * + * {
    margin-left: 0;
  }
}

#fullMenu .mobile-dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

#fullMenu .mobile-dropdown-toggle.active i {
  transform: rotate(180deg);
}

#fullMenu .mobile-dropdown-menu {
  display: none;
  padding: 15px 0;
}

#fullMenu .mobile-dropdown-menu.active {
  display: block;
}

#fullMenu .mobile-dropdown-menu a {
  display: block;
  color: #fed;
  font-family: Inter;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  font-size: 16px;
  padding: 10px 0;
  opacity: 0.8;
}

#fullMenu .mobile-dropdown-menu a:hover {
  opacity: 1;
  color: #d08e3e;
}

/* Active page indicator */
.navbar a.active,
#fullMenu a.active {
  color: #d08e3e !important;
}

/* Contact Page Specific Styles */
.contact-hero {
  background: url("../images/serviceHero.png") center / 100% 100% no-repeat;
  min-height: 60vh;
}

.contact-form-section {
  background: #fbead9;
  padding: 80px 0;
}

.contact-form {
  background: #3a250f;
  border-radius: 30px;
  padding: 50px;
}

.contact-form h2 {
  color: #fed;
}

.contact-form label {
  color: #fed;
  font-family: Inter;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 20px;
  border-radius: 10px;
  border: 1px solid rgba(254, 238, 221, 0.3);
  background: rgba(254, 238, 221, 0.15);
  color: #fed;
  font-family: Inter;
  font-size: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #d08e3e;
  background: rgba(254, 238, 221, 0.2);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(254, 238, 221, 0.65);
}

/* Form status message */
.contact-form-status {
  display: none;
  padding: 14px 20px;
  border-radius: 10px;
  font-family: Inter;
  font-size: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.contact-form-status.success {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.4);
  color: #a5d6a7;
}

.contact-form-status.error {
  background: rgba(244, 67, 54, 0.15);
  border: 1px solid rgba(244, 67, 54, 0.4);
  color: #ef9a9a;
}

/* Submit button states */
.contact-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button {
  width: 100%;
}

.contact-info-card {
  background: #3a250f;
  border-radius: 20px;
  padding: 30px;
  height: 100%;
}

.contact-info-card h4 {
  color: #fed;
  margin-bottom: 15px;
}

.contact-info-card p,
.contact-info-card a {
  color: rgba(254, 238, 221, 0.8);
  font-size: 16px;
}

.contact-info-card a:hover {
  color: #d08e3e;
}

.contact-info-card svg {
  margin-bottom: 15px;
}

/* Page Hero Variations */
.page-hero {
  background: url("../images/serviceHero.png") center / 100% 100% no-repeat;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.page-hero .hero-content {
  padding-top: 100px;
}

/* Info Cards Grid */
.info-card {
  background: #3a250f;
  border-radius: 25px;
  padding: 40px 30px;
  height: 100%;
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card h3,
.info-card h4,
.info-card p {
  color: #fed;
}

.info-card h3 {
  font-family: "Oleo Script Swash Caps";
  font-size: 28px;
  margin-bottom: 15px;
}

/* Feature List Styles */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(254, 238, 221, 0.2);
  color: #fed;
  font-family: Inter;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Flexbox gap fallback for Safari < 14.1 */
.feature-list li > * + * {
  margin-left: 15px;
}

@supports (gap: 15px) {
  .feature-list li > * + * {
    margin-left: 0;
  }
}

.feature-list li:last-child {
  border-bottom: none;
}

.feature-list li svg {
  flex-shrink: 0;
}

/* Map Embed Styles */
.map-container {
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Breadcrumb Styles */
.breadcrumb-nav {
  padding: 20px 0;
}

.breadcrumb-nav a {
  color: rgba(254, 238, 221, 0.7);
  font-family: Inter;
  font-size: 14px;
  text-decoration: none;
}

.breadcrumb-nav a:hover {
  color: #fed;
}

.breadcrumb-nav span {
  color: #d08e3e;
  font-family: Inter;
  font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    background: transparent;
    border: none;
    padding: 10px 0;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .contact-form {
    padding: 30px 20px;
  }

  .contact-form textarea {
    min-height: 120px;
  }

  .contact-hero {
    min-height: 40vh;
  }

  .map-container {
    height: 300px;
  }

  .page-hero {
    min-height: 40vh;
  }

  .page-hero .hero-content {
    padding-top: 80px;
  }

  /* Language dropdown mobile */
  .langDrop .lang-dropdown-menu {
    min-width: 120px;
    right: 0;
    left: auto;
  }
}
