/* Deep Blue Energy Architecture Studio - Custom Styles */

:root {
  --primary-color: #1976D2;
  --secondary-color: #FFC107;
  --dark-blue: #0d47a1;
  --light-blue: #42a5f5;
  --text-dark: #212529;
  --text-light: #ffffff;
  --transition-speed: 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%) !important;
  box-shadow: 0 4px 20px rgba(25, 118, 210, 0.3);
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--secondary-color) !important;
}

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

.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='%23FFC107' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1.2rem !important;
  margin: 0 0.2rem;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(255, 193, 7, 0.1);
}

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

/* Hero Section */
.position-relative.vh-100 {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 50%, var(--light-blue) 100%);
  position: relative;
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,%3Csvg width="100" height="100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h100v100H0z" fill="none"/%3E%3Cpath d="M0 50h50v50H0z" fill="%231976D2" opacity=".05"/%3E%3Cpath d="M50 0h50v50H50z" fill="%23FFC107" opacity=".05"/%3E%3C/svg%3E');
  opacity: 0.3;
  animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.object-fit-cover {
  object-fit: cover;
  opacity: 0.2;
  filter: blur(2px);
}

.display-2 {
  font-weight: 800;
  color: var(--text-light) !important;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.display-3 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

.display-4 {
  font-weight: 700;
  color: var(--primary-color) !important;
}

.display-5 {
  font-weight: 700;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem;
}

.display-6 {
  font-weight: 600;
  color: var(--text-dark) !important;
}

.lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease;
}

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

/* Buttons */
.btn {
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
}

.btn-primary:hover {
  background: var(--dark-blue) !important;
  border-color: var(--dark-blue) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(25, 118, 210, 0.4) !important;
  color: var(--text-light) !important;
}

.btn-outline-primary {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(25, 118, 210, 0.4) !important;
}

.btn-outline-light {
  border-color: var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
  border-width: 2px !important;
}

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4) !important;
}

.btn-outline-secondary {
  border-color: var(--secondary-color) !important;
  color: var(--secondary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--secondary-color) !important;
  color: var(--text-dark) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4) !important;
}

/* Cards */
.card {
  border: none !important;
  border-radius: 20px;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  background: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(25, 118, 210, 0.2) !important;
}

.card-body {
  padding: 2rem;
}

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

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

/* Icons */
.rounded-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
  color: var(--text-light) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
  transition: all var(--transition-speed) ease;
}

.card:hover .rounded-circle {
  transform: rotate(360deg) scale(1.1);
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ffdb4d 100%);
  color: var(--text-dark) !important;
}

.bi {
  color: inherit;
}

/* Stats Section */
.text-center.p-4 {
  background: rgba(25, 118, 210, 0.05);
  border-radius: 15px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
}

.text-center.p-4:hover {
  background: rgba(25, 118, 210, 0.1);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.text-muted {
  color: #6c757d !important;
  font-weight: 500;
}

/* Images */
.img-fluid {
  border-radius: 20px;
  transition: transform var(--transition-speed) ease;
}

.img-fluid:hover {
  transform: scale(1.02);
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(25, 118, 210, 0.175) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(25, 118, 210, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(25, 118, 210, 0.075) !important;
}

/* Hexagon Container */
.hexagon-container {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  overflow: hidden;
}

.hexagon-clip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
  transition: all var(--transition-speed) ease;
}

.hexagon-clip:hover {
  transform: scale(1.1) rotate(10deg);
}

/* Forms */
.form-label {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease;
  background: #ffffff !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25) !important;
  background: #ffffff !important;
}

.form-control-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.1rem !important;
}

.form-select-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.1rem !important;
}

.form-check-input {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--primary-color) !important;
  margin-top: 0;
}

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

.form-check-label {
  color: var(--text-dark) !important;
  margin-left: 0.5rem;
}

/* Alerts */
.alert {
  border-radius: 12px;
  border: none;
  padding: 1rem 1.5rem;
  animation: slideDown 0.5s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-success {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
  color: var(--text-light) !important;
}

.alert-danger {
  background: linear-gradient(135deg, #f44336 0%, #ef5350 100%);
  color: var(--text-light) !important;
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

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

.bg-success {
  background-color: #4caf50 !important;
}

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

.bg-white {
  background-color: #ffffff !important;
}

/* Calendar */
.availability-calendar {
  background: #ffffff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Table */
.table-responsive {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.table {
  margin-bottom: 0;
  background: #ffffff;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
  color: var(--text-light) !important;
}

.table thead th {
  color: var(--text-light) !important;
  font-weight: 600;
  border: none;
  padding: 1rem;
}

.table-hover tbody tr:hover {
  background-color: rgba(25, 118, 210, 0.05);
}

.table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid #e0e0e0;
}

/* Accordion */
.accordion-item {
  border: 2px solid #e0e0e0 !important;
  border-radius: 12px !important;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%) !important;
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none !important;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%) !important;
  color: var(--text-light) !important;
  box-shadow: none;
}

.accordion-button.collapsed {
  background: #f8f9fa !important;
  color: var(--text-dark) !important;
}

.accordion-button::after {
  filter: brightness(0) invert(1);
}

.accordion-button.collapsed::after {
  filter: brightness(0);
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background: #ffffff;
  color: var(--text-dark) !important;
}

.accordion-collapse {
  border: none;
}

/* Ratio (Video Embed) */
.ratio {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Text Colors */
.text-white {
  color: var(--text-light) !important;
}

.text-light {
  color: #f8f9fa !important;
}

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

.text-success {
  color: #4caf50 !important;
}

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

/* List */
.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark) !important;
}

.list-unstyled a {
  color: var(--text-dark) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.list-unstyled a:hover {
  color: var(--primary-color) !important;
  padding-left: 5px;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

footer h5,
footer h6 {
  color: var(--text-light) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

footer .text-decoration-none:hover {
  padding-left: 0;
  transform: scale(1.05);
}

/* Border Utilities */
.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.border-3 {
  border-width: 3px !important;
}

.border-secondary {
  border-color: var(--secondary-color) !important;
}

/* Membership Select */
.membership-select {
  background: #ffffff;
  border: 3px solid var(--primary-color);
  border-radius: 20px;
  padding: 2rem;
  transition: all var(--transition-speed) ease;
}

.membership-select:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(25, 118, 210, 0.2);
  border-color: var(--secondary-color);
}

/* Sections */
section {
  padding: 5rem 0;
}

.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-4 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.pt-5 {
  padding-top: 3rem !important;
}

.pb-4 {
  padding-bottom: 2rem !important;
}

.p-3 {
  padding: 1rem !important;
}

.p-4 {
  padding: 1.5rem !important;
}

.p-5 {
  padding: 3rem !important;
}

/* Spacing */
.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.25rem !important;
}

.mb-2 {
  margin-bottom: 0.5rem !important;
}

.mb-3 {
  margin-bottom: 1rem !important;
}

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

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

.mt-2 {
  margin-top: 0.5rem !important;
}

.mt-3 {
  margin-top: 1rem !important;
}

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

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

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

.ms-2 {
  margin-left: 0.5rem !important;
}

.ms-3 {
  margin-left: 1rem !important;
}

.ms-4 {
  margin-left: 1.5rem !important;
}

.me-2 {
  margin-left: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

.gap-3 {
  gap: 1rem !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(13, 71, 161, 0.98);
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
  }
  
  .nav-link {
    margin: 0.5rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem;
  }
  
  .display-3 {
    font-size: 2rem;
  }
  
  .display-5 {
    font-size: 1.8rem;
  }
  
  .vh-100 {
    min-height: 100vh;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .rounded-circle {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .display-5 {
    font-size: 1.5rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  section {
    padding: 2rem 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
}

@media (max-width: 575.98px) {
  .display-2 {
    font-size: 1.75rem;
  }
  
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .btn-lg {
    padding: 0.625rem 1.25rem !important;
    font-size: 0.9rem;
  }
}

/* Animations */
@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);
  }
}

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

.animate-slide-left {
  animation: slideInLeft 1s ease;
}

.animate-slide-right {
  animation: slideInRight 1s ease;
}

/* Scroll Animations */
.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animation.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(25, 118, 210, 0.1);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

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

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--light-blue) 100%);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-color) 100%);
}

/* Selection */
::selection {
  background: var(--primary-color);
  color: var(--text-light);
}

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