/* Sidebar Component Styles */

/* Sidebar Background */
.side-menu-background {
  z-index: 999;
  background-color: #C1272D;
  width: 22rem;
  height: 130vh;
  padding-top: 0;
  display: flex;
  position: fixed;
  top: -20%;
  right: -22rem; /* Slides horizontally from right */
  overflow: hidden;
  box-shadow: -8px 0 30px #0000003b;
  transition: right 1.1s ease; /* Removed clip-path transition */
}

/* Sidebar Component */
.side-menu_component {
  z-index: 1000;
  white-space: normal;
  object-fit: none;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: 22rem;
  height: 130vh;
  padding-top: 20rem;
  display: flex;
  position: fixed;
  top: -20rem;
  right: -22rem; /* Slides horizontally from right */
  overflow: visible;
  transition: right 1.1s ease;
}

/* Sidebar Wrapper */
.side-menu-wrapper {
  flex-direction: column;
  align-items: flex-end; /* Back to flex-end for right alignment */
  width: 100%;
  display: flex;
}

/* Sidebar Item Wrappers */
.side-menu-item-wrapper.flex-h {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  display: flex;
}

.side-menu-item-wrapper.flex-v {
  flex-direction: column;
  align-items: flex-end; /* Back to flex-end for right alignment */
  width: 100%;
  padding-top: 1.5rem;
  padding-bottom: 0;
  display: flex;
}



.side-menu-item-wrapper.footer {
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end; /* Back to flex-end for right alignment */
  width: auto;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
}

/* Sidebar Text Wraps */
.side-menu-text-wrap {
  position: relative !important;
  display: inline-block !important;
  width: auto !important;
  padding-right: 0; /* Back to padding-right */
  box-sizing: border-box;
}

/* Close Button */
.close-button {
  width: 2rem;
  height: 2rem;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.close-button:hover {
  opacity: 0.7;
}

/* Text Styles */
.side-menu-text {
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.side-menu-text:hover {
  opacity: 0.8;
}

.side-menu-text.small {
  font-size: 0.875rem;
  font-weight: 400;
}

.side-menu-text.large {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Active States */
.side-menu_component.active .side-menu-background,
.side-menu_component.active {
  right: 0;
}

/* Modern Navigation Styles */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #C1272D;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #C1272D 0%, #8B1A1F 100%);
  color: white;
  padding: 120px 0 80px;
  margin-top: 80px;
}

.hero-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: #C1272D;
}

.btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #C1272D;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Services Section */
.services-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.services-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.service-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  text-align: center;
}

.service-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-link {
  color: #C1272D;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: #8B1A1F;
}

/* Why SubRosa Section */
.why-subrosa-section {
  padding: 80px 0;
  background: white;
}

.why-subrosa-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.benefit-item {
  text-align: center;
  padding: 2rem 1rem;
}

.benefit-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}

.benefit-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.benefit-item p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #C1272D 0%, #8B1A1F 100%);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-section .container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 60px 0 20px;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 2rem;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .hero-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .nav-container {
    padding: 0 1rem;
  }
  
  .hero-section .container,
  .services-section .container,
  .why-subrosa-section .container,
  .cta-section .container,
  .footer .container {
    padding: 0 1rem;
  }
} 
.side-menu-item-wrapper.flex-v .side-menu-text-wrap.side-menu-animate:nth-child(7) { transition-delay: 0.6s; } 