/* Custom CSS for ProGlass Films */

/* Root Variables */
:root {
  --primary-color: #1a6abe;
  --secondary-color: #3b82f6;
  --accent-color: #1d4ed8;
  --light-blue: #dbeafe;
  --dark-blue: #1e40af;
  --light-gray: #f8f9fa;
  --dark-gray: #343a40;
  --success-color: #059669;
  --warning-color: #d97706;
  --hero-gradient: linear-gradient(135deg, #bfdbfe 0%, #ddd6fe 100%);
  --hero-gradient-overlay: linear-gradient(135deg, rgba(191, 219, 254, 0.9) 0%, rgba(221, 214, 254, 0.9) 100%);
  --button-radius: 8px;
}

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

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

/* Header Styles */
.main-header {
  background: white;
  /* border-bottom: 4px solid var(--primary-color); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: white;
  /* border-bottom: 4px solid var(--primary-color); */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-content {
  padding: 0.313rem 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* .header-contact-info {
  order: 2;
} */

/* .navbar {
  order: 1;
} */

.brand {
  /* font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease; */
  text-decoration: none;
  width: 175px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  position: relative;
}

.brand img{
    width: 175px;
}

.brand p{
    color: var(--dark-gray);
    font-size: 0.519rem;
    font-weight: 500;
    position: absolute;
    bottom: -20px;
}

/* .logo:hover {
  color: var(--secondary-color);
} */

.header-contact-info{
    display: flex;
    align-items: center;

}

.header-contact-info img {
  width: 60px;
  height: 60px;
}

.header-contact-info .phone-email {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
}

.contact-options {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-link, .whatsapp-link {
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-size: 0.85rem;
}

.phone-link {
  background: var(--primary-color);
  color: white !important;
  text-decoration: none;
}

.phone-link:hover {
  background: var(--dark-blue);
  color: white !important;
  transform: translateY(-1px);
}

.whatsapp-link {
  background: #25d366;
  color: white !important;
  text-decoration: none;
}

.whatsapp-link:hover {
  background: #128c7e;
  color: white !important;
  transform: translateY(-1px);
}

.phone-email a {
  color: var(--dark-gray);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.contact-info {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.contact-number {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-number:hover {
  color: var(--secondary-color);
}

.phone-icon {
  background: var(--primary-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.phone-icon:hover {
  background: var(--secondary-color);
}

/* Navigation Styles */
.navbar {
  padding: 0;
}

.navbar-toggler {
  border: 1px solid var(--primary-color);
  padding: 0.25rem 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='%23194d7a' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  align-items: center;
}

.navbar-nav .nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  padding: 0.8rem 1rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

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

.navbar-nav .nav-link:hover::after {
  width: 100%;
  left: 0;
}

.navbar-nav .nav-link.active::after {
  width: 100%;
  left: 0;
}

.footer-logo {
    margin-bottom: 0.625rem;
}

.footer-logo img{
    width: 165px;
    height: auto;
}

/* .fas{
    background: linear-gradient(to bottom, #52b4f5 0%, #1b6abe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
} */

/* .fas.fa-star{
    background: none ;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--warning-color);
    color: var(--warning-color);
}

.cta-section a .fas{
  background: none ;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: #fff;
    color: #fff;
}


.cta-section a:hover .fas{
  background: none ;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: var(--bs-btn-hover-color);
    color: var(--bs-btn-hover-color);
} */


/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: white;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--button-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
  }
  
  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.8rem 1rem !important;
    border-bottom: 1px solid #eee;
    margin: 0 !important;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
  
  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* Main Content */
/* .main-content {
  margin-top: 81px;  Account for fixed header with border 
} */


/* Hero Section Styles */
.hero-section, .page-header {
  background: var(--hero-gradient);
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--dark-gray);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* .hero-section{
  background: url(../images/banner/home-banner.jpg) no-repeat center center;
} */

.hero-section{
  background: rgba(0, 0, 0, 0.3);

}

.hero-section .align-items-center {
    background: rgba(255, 255, 255, 0.4);
    width: 60%;
    padding: 15px;
    color: black;
    z-index: 99;
    border-radius: 0.25rem;
}

.hero-section::before, .page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /* background-image: url('assets/images/banner/hero-bg.jpg'); */
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.hero-section::before {
   content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/banner/home-banner.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.hero-section .container, .page-header .container {
  position: relative;
  z-index: 1;
}

.page-header {
  padding: 150px 0 100px;
  min-height: auto;
}

.hero-section h1, .page-header h1 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead, .page-header .lead {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Footer Styles */
.main-footer {
  background: var(--primary-color);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-section h5 {
  color: var(--light-blue);
  margin-bottom: 1rem;
}

.footer-link {
  color: #bdc3c7;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--light-blue);
}

.footer-bottom {
  border-top: 1px solid #34495e;
  padding-top: 1rem;
  margin-top: 2rem;
  text-align: center;
  color: #95a5a6;
}

.footer-bottom p {
  text-align: left;
}

/* Utility Classes */
.btn-primary-custom {
  background: var(--primary-color);
  border: none;
  border-radius: var(--button-radius);
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  color: white;
}

.btn-primary-custom:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 106, 190, 0.4);
  color: white;
}

.btn-custom-height {
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-custom-height:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(26, 106, 190, 0.4);
}

/* Global Button Styles */
.btn {
  border-radius: var(--button-radius) !important;
}

.btn-lg {
  border-radius: var(--button-radius) !important;
}

.btn-sm {
  border-radius: var(--button-radius) !important;
}

/* Form Controls */
.form-control, .form-select {
  border-radius: 0.25rem !important;
  border: 1px solid #ced4da !important;
  font-size: 0.875rem !important;
  height: 44px !important;
  line-height: 1.5 !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0.75rem !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease !important;
}

textarea.form-control {
  height: auto !important;
  resize: vertical !important;
  padding: 0.75rem !important;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(26, 106, 190, 0.25) !important;
  outline: none !important;
}

/* Form Validation States */
.form-control.is-invalid, .form-select.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-invalid:focus, .form-select.is-invalid:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

.form-control.is-valid, .form-select.is-valid {
  border-color: #28a745 !important;
  box-shadow: none !important;
}

.form-control.is-valid:focus, .form-select.is-valid:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(26, 106, 190, 0.25) !important;
}

/* Optional field with content - green border */
.form-control.has-optional-content, .form-select.has-optional-content {
  border-color: #28a745 !important;
  box-shadow: none !important;
}

.form-control.has-optional-content:focus, .form-select.has-optional-content:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(26, 106, 190, 0.25) !important;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback {
  display: block;
}

.valid-feedback {
  display: none;
  color: #28a745;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  font-weight: 500;
}

.form-control.is-valid ~ .valid-feedback,
.form-select.is-valid ~ .valid-feedback {
  display: block;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.125rem;
}

.form-label span {
  font-size: 0.875rem;
  color: #cf0000;
}

/* Placeholder Text Color */
.form-control::placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
  font-weight: 400 !important;
}

.form-control::-webkit-input-placeholder {
  color: #b0b0b0 !important;
  font-weight: 400 !important;
}

.form-control::-moz-placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
  font-weight: 400 !important;
}

.form-control:-ms-input-placeholder {
  color: #b0b0b0 !important;
  font-weight: 400 !important;
}

.form-control:-moz-placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
  font-weight: 400 !important;
}

textarea.form-control::placeholder {
  color: #b0b0b0 !important;
  opacity: 1;
  font-weight: 400 !important;
}

/* Card and Component Styles */
.card {
  border-radius: var(--button-radius) !important;
}

.rounded {
  border-radius: var(--button-radius) !important;
}

.rounded-lg {
  border-radius: calc(var(--button-radius) * 1.5) !important;
}

/* Custom Components */
.feature-card, .service-item, .portfolio-card, .testimonial-card {
  border-radius: var(--button-radius) !important;
}

.phone-icon {
  border-radius: 50% !important;
}

/* Modal and Overlay Elements */
.modal-content {
  border-radius: var(--button-radius) !important;
}

.toast {
  border-radius: var(--button-radius) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .brand {
    width: 150px;
    align-items: center;
    /* order: 1; */
  }
  
  .brand img {
    width: 150px;
  }
  
  .header-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  /* .header-contact-info {
    order: 2;
    margin-left: auto;
  } */
  
  .navbar {
    /* order: 1; */
    flex: 0 0 auto;
  }
  
  .header-contact-info img {
    width: 50px;
    height: 50px;
  }
  
  .phone-email a {
    font-size: 0.8rem;
  }
  
  .navbar-toggler {
    border: 2px solid var(--primary-color);
    border-radius: var(--button-radius);
    padding: 0.5rem;
  }
  
  .contact-info {
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
  }
  
  .logo {
    font-size: 1.5rem;
  }
  
  .contact-number {
    font-size: 1rem;
  }
  
  .main-content {
    margin-top: 80px;
  }
}

@media (max-width: 576px) {
  .header-content {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }
  
  .brand {
    width: 130px;
  }
  
  .brand img {
    width: 130px;
  }
  
  
  .header-contact-info img {
    width: 45px;
    height: 45px;
  }
  
  .phone-email a {
    font-size: 0.75rem;
  }
  
  .navbar-toggler {
    padding: 0.4rem;
  }
  
  .main-content {
    margin-top: 70px;
  }
}

/* Process Steps */
.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Map Container */
.map-container {
    height: 400px;
    background: #e9ecef;
    border-radius: var(--button-radius) !important;
    position: relative;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    z-index: 1;
}

.map-content {
    z-index: 2;
    pointer-events: none;
}

.map-content .btn {
    pointer-events: auto;
}

/* Modal Customizations */
.modal-content {
    border-radius: var(--button-radius) !important;
    border: none;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.modal-header {
    background: var(--primary-color);
    color: white;
    border-bottom: none;
    border-radius: var(--button-radius) var(--button-radius) 0 0 !important;
}

.modal-header .modal-title {
    font-weight: 600;
}

.modal-header .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-header .btn-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
}

.modal-body h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.modal-body h6:first-child {
    margin-top: 0;
}

.modal-body ul {
    margin-bottom: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
}

.modal-footer {
    border-top: 1px solid #dee2e6;
    padding: 1rem 2rem;
}

.privacy-content, .terms-content {
    color: #333;
}

/* Film Categories Styles */
.film-category-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.film-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(26, 106, 190, 0.15) !important;
    border-color: var(--primary-color);
}

.film-category-card .category-icon {
    transition: all 0.3s ease;
}

.film-category-card:hover .category-icon {
    transform: scale(1.1);
    color: var(--accent-color) !important;
}

.film-category-card h4 {
    transition: color 0.3s ease;
}

.film-category-card:hover h4 {
    color: var(--accent-color) !important;
}

.film-categories {
    position: relative;
}

.film-categories::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 106, 190, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    pointer-events: none;
}