/* Mystic Lavender & Petal Pink Architecture Studio Theme */

/* === ROOT VARIABLES === */
:root {
  --primary-color: #6A4C93;
  --secondary-color: #F4ACB7;
  --accent-color: #C3B1E1;
  --dark-primary: #4A2C73;
  --light-primary: #8A6CB3;
  --text-dark: #2D1B4E;
  --text-light: #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #6A4C93 0%, #8A6CB3 100%);
  --gradient-secondary: linear-gradient(135deg, #F4ACB7 0%, #FFD6E0 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(106, 76, 147, 0.85) 0%, rgba(244, 172, 183, 0.75) 100%);
  --shadow-sm: 0 2px 8px rgba(106, 76, 147, 0.15);
  --shadow-md: 0 4px 16px rgba(106, 76, 147, 0.2);
  --shadow-lg: 0 8px 32px rgba(106, 76, 147, 0.25);
  --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === GLOBAL STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #FAFAFA;
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -1px;
}

.text-shadow {
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.4);
}

.text-muted {
  color: #8A6CB3 !important;
  opacity: 0.9;
}

/* === NAVBAR === */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
}

.navbar.bg-white {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

.navbar.shadow-sm {
  box-shadow: var(--shadow-sm);
}

.navbar.sticky-top {
  z-index: 1030;
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  transition: var(--transition-base);
}

.navbar-brand:hover {
  transform: translateY(-2px);
  color: var(--dark-primary) !important;
}

.navbar-brand .bi {
  font-size: 1.8rem;
  margin-right: 0.5rem;
  color: var(--secondary-color) !important;
}

.navbar-toggler {
  border-color: var(--primary-color) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236A4C93' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  transition: var(--transition-base);
  position: relative;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(106, 76, 147, 0.08);
}

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

/* === BUTTONS === */
.btn {
  font-weight: 600;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  transition: var(--transition-base);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

.btn-primary {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  border: none !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: var(--dark-primary) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
  color: var(--text-light) !important;
}

.btn-secondary {
  background: var(--gradient-secondary) !important;
  color: var(--primary-color) !important;
  border: none !important;
  font-weight: 700 !important;
}

.btn-secondary:hover, .btn-secondary:focus, .btn-secondary:active {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}

.btn-light {
  background-color: #FFFFFF !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  font-weight: 600 !important;
}

.btn-light:hover, .btn-light:focus, .btn-light:active {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.btn-outline-primary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.btn-outline-secondary {
  border: 2px solid var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  background: transparent !important;
  font-weight: 600 !important;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus, .btn-outline-secondary:active {
  background: var(--secondary-color) !important;
  color: var(--text-light) !important;
  border-color: var(--secondary-color) !important;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 16px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  border-radius: 8px;
}

/* === HERO BANNER === */
.hero-banner {
  min-height: 90vh;
  background: var(--gradient-primary);
}

.carousel {
  height: 90vh;
}

.carousel-inner, .carousel-item {
  height: 100%;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  filter: brightness(0.7);
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition-duration: 0.8s;
  transition-property: opacity;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-caption-overlay {
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.carousel-caption-overlay .text-white {
  color: var(--text-light) !important;
  max-width: 900px;
  animation: fadeInUp 1s ease-out;
}

.carousel-caption-overlay .display-3 {
  color: var(--text-light) !important;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.5);
}

.carousel-caption-overlay .lead {
  color: var(--text-light) !important;
  font-size: 1.4rem;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.4);
}

/* === SERVICES === */
.service-card {
  position: relative;
  overflow: hidden;
  height: 400px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  opacity: 0.7;
  transition: var(--transition-smooth);
  z-index: 1;
}

.service-card:hover::before {
  opacity: 0.9;
}

.service-card img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  transition: var(--transition-smooth);
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: var(--text-light) !important;
  z-index: 2;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

.service-overlay h3 {
  color: var(--text-light) !important;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.service-overlay p {
  color: var(--text-light) !important;
  opacity: 0.9;
  margin-bottom: 1rem;
}

.service-card:hover .service-overlay {
  transform: translateY(-10px);
}

/* === BADGE === */
.badge {
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.bg-success {
  background-color: #4CAF50 !important;
  color: var(--text-light) !important;
}

.bg-warning {
  background-color: #FFC107 !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

/* === CARDS === */
.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-base);
  background-color: #FFFFFF;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg) !important;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-color) !important;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--text-dark);
  line-height: 1.6;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.gallery-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  opacity: 0;
  transition: var(--transition-base);
}

.gallery-card:hover::after {
  opacity: 0.8;
}

.gallery-item {
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out;
}

/* === TIMELINE === */
.timeline-section {
  position: relative;
  padding-left: 2rem;
}

.timeline-section::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-primary);
}

.rounded-circle {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
  border: 4px solid #FFFFFF;
  box-shadow: var(--shadow-sm);
}

/* === FORMS === */
.form-label {
  color: var(--primary-color) !important;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 2px solid rgba(106, 76, 147, 0.2);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  transition: var(--transition-base);
  background-color: #FFFFFF;
  color: var(--text-dark) !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.15) !important;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.form-control::placeholder {
  color: rgba(106, 76, 147, 0.5) !important;
}

.form-check-input {
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.15) !important;
}

.form-check-label {
  color: var(--text-dark);
  cursor: pointer;
}

/* === ACCORDION === */
.accordion-item {
  border: 2px solid rgba(106, 76, 147, 0.15);
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: transparent;
}

.accordion-button {
  background-color: rgba(106, 76, 147, 0.05) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  box-shadow: none !important;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(106, 76, 147, 0.15) !important;
  border-color: transparent !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(1200%) hue-rotate(245deg) brightness(90%) contrast(91%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.accordion-body {
  padding: 1.5rem;
  background-color: #FFFFFF;
  color: var(--text-dark);
  line-height: 1.8;
}

.accordion-collapse {
  border-top: 2px solid rgba(106, 76, 147, 0.1);
}

/* === MODAL === */
.modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  background: var(--gradient-primary);
  color: var(--text-light) !important;
  padding: 1.5rem;
  border-bottom: none;
}

.modal-title {
  color: var(--text-light) !important;
  font-weight: 700;
}

.btn-close, .btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 1;
}

.btn-close:hover, .btn-close-white:hover {
  opacity: 0.8;
}

.modal-body {
  padding: 2rem;
  color: var(--text-dark);
}

/* === ALERT === */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 500;
}

.alert-success {
  background-color: rgba(76, 175, 80, 0.15);
  color: #2E7D32 !important;
  border-left: 4px solid #4CAF50;
}

.alert-danger {
  background-color: rgba(244, 67, 54, 0.15);
  color: #C62828 !important;
  border-left: 4px solid #F44336;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.15);
  color: #F57F17 !important;
  border-left: 4px solid #FFC107;
}

.alert-info {
  background-color: rgba(106, 76, 147, 0.15);
  color: var(--primary-color) !important;
  border-left: 4px solid var(--primary-color);
}

/* === SHADOWS === */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

/* === BACKGROUNDS === */
.bg-white {
  background-color: #FFFFFF !important;
}

.bg-light {
  background-color: #F8F5FB !important;
}

.bg-dark {
  background: linear-gradient(135deg, #2D1B4E 0%, #4A2C73 100%) !important;
  color: var(--text-light) !important;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: var(--text-light) !important;
}

.bg-dark .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* === ICONS === */
.bi {
  color: var(--primary-color);
  transition: var(--transition-base);
}

.bi-flower1, .bi-flower2 {
  color: var(--secondary-color) !important;
}

.bi-check-circle-fill {
  color: #4CAF50 !important;
  font-size: 1.5rem;
}

.bi-instagram:hover {
  color: #E4405F !important;
}

.bi-facebook:hover {
  color: #1877F2 !important;
}

.bi-pinterest:hover {
  color: #E60023 !important;
}

/* === SOCIAL LINKS === */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--text-light) !important;
  transition: var(--transition-base);
  text-decoration: none;
  font-size: 1.2rem;
}

.social-links a:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-md);
}

/* === LIST STYLES === */
.list-unstyled li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.list-unstyled .bi {
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

/* === UTILITIES === */
.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-none:hover {
  text-decoration: none !important;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-sticky {
  position: sticky;
  top: 100px;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded {
  border-radius: 16px !important;
}

.rounded-3 {
  border-radius: 20px !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

/* === SPACING === */
.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.my-4 {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.mt-5 {
  margin-top: 4rem !important;
}

.mb-5 {
  margin-bottom: 4rem !important;
}

/* === FILTER BUTTONS === */
.filter-btn {
  margin: 0.5rem;
  transition: var(--transition-base);
}

.filter-btn.active {
  background: var(--gradient-primary) !important;
  color: var(--text-light) !important;
  transform: scale(1.05);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fadeIn {
  animation: fadeIn 1s ease-out;
}

.animate-slideInLeft {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slideInRight {
  animation: slideInRight 0.8s ease-out;
}

/* === HOVER EFFECTS === */
.hover-lift {
  transition: var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.hover-scale {
  transition: var(--transition-base);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* === BORDER STYLES === */
.border-0 {
  border: none !important;
}

.border-secondary {
  border-color: rgba(244, 172, 183, 0.3) !important;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1199.98px) {
  .display-3 {
    font-size: 2.8rem !important;
  }
  
  .display-4 {
    font-size: 2.4rem !important;
  }
  
  .display-5 {
    font-size: 2rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar-nav {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-sm);
  }
  
  .nav-link {
    margin: 0.25rem 0;
  }
  
  .carousel-caption-overlay .display-3 {
    font-size: 2.5rem !important;
  }
  
  .carousel-caption-overlay .lead {
    font-size: 1.2rem !important;
  }
  
  .service-card {
    height: 350px;
  }
  
  .position-sticky {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.8rem !important;
  }
  
  .display-5 {
    font-size: 1.6rem !important;
  }
  
  .display-6 {
    font-size: 1.4rem !important;
  }
  
  .carousel {
    height: 70vh;
  }
  
  .hero-banner {
    min-height: 70vh;
  }
  
  .carousel-caption-overlay .display-3 {
    font-size: 1.8rem !important;
  }
  
  .carousel-caption-overlay .lead {
    font-size: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .service-card {
    height: 300px;
  }
  
  .service-overlay h3 {
    font-size: 1.4rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .timeline-section::before {
    left: 20px;
  }
  
  .rounded-circle {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .navbar-brand .bi {
    font-size: 1.5rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .modal-body {
    padding: 1.5rem;
  }
  
  .service-card {
    height: 250px;
  }
  
  .service-overlay {
    padding: 1.5rem;
  }
  
  .social-links a {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}

/* === PRINT STYLES === */
@media print {
  .navbar,
  .btn,
  .social-links,
  .modal,
  .carousel-caption-overlay {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
  }
  
  .shadow, .shadow-sm, .shadow-lg {
    box-shadow: none !important;
  }
}

/* === ACCESSIBILITY === */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

*:focus-visible {
  outline: 3px solid var(--primary-color) !important;
  outline-offset: 3px !important;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #F8F5FB;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-primary);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-primary);
}

/* === SELECTION === */
::selection {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

::-moz-selection {
  background-color: var(--secondary-color);
  color: var(--text-light);
}