/* CSS Custom Properties for modern theme management */
:root {
    --primary-color: #b4c9a4;
    --primary-darker: #9cb08c;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-darker);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--primary-color);
    padding: 0.5rem 1rem;
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

#main-header {
    transition: background-color 0.4s ease-out, box-shadow 0.4s ease-out;
}

#main-header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 50%;
}

#main-header.scrolled .nav-link {
    color: var(--text-primary);
}

#main-header.scrolled .nav-link:hover {
    color: var(--primary-color);
}

#main-header.scrolled .logo-container #logo-img {
    filter: none;
}

.logo-container #logo-img {
    transition: filter 0.3s ease;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 10s ease-in-out;
}

#hero:hover .hero-background-image {
    transform: scale(1.05);
}

#hero {
    padding-top: 8rem; 
}


.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(209, 187, 187, 0.7), rgba(0, 0, 0, 0.4));
    z-index: 2;
}

.content-layer {
    position: relative;
    z-index: 3;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

.value-card .image-container {
    overflow: hidden;
}

.value-card img {
    transition: transform 0.3s ease-in-out;
}

.value-card:hover img {
    transform: scale(1.03);
}

.card-hover-effect {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.card-hover-effect:hover {
    background: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}



#showroom-modal-content {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

#showroom-modal.hidden #showroom-modal-content {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

#showroom-modal:not(.hidden) #showroom-modal-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#image-slider-modal .image-slider-content {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease;
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

#image-slider-modal.hidden .image-slider-content {
    transform: scale(0.95) translateY(20px);
    opacity: 0;
}

#image-slider-modal:not(.hidden) .image-slider-content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

#image-slider img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 80vh;
}

.mobile-nav-link {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

#mobile-menu.open .mobile-nav-link {
    opacity: 1;
    transform: translateX(0);
}

.location-btn {
    background-color: white;
    color: var(--text-secondary);
    padding: 0.75rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.location-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: left 0.4s ease;
}

.location-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

.location-btn:hover::before {
    left: 100%;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 1rem 2rem;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 4rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 4rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid var(--primary-color);
    top: 1.5rem;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}

.timeline-content {
    padding: 1.5rem;
    background-color: white;
    position: relative;
    border-radius: 0.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stats-card {
    background-color: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.1);
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1 {
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

h2 {
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-darker);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Inter', 'Plus Jakarta Sans', Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

/* New styles for location tabs */
.location-tab-btn {
    background-color: white;
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    cursor: pointer;
}

.location-tab-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-tab-btn.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.location-content {
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}