@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary-color: #d32f2f; /* Deep Red */
  --primary-hover: #b71c1c;
  --secondary-color: #212121; /* Dark Gray */
  --accent-color: #f5f5f5; /* Light Silver */
  --bg-color: #ffffff;
  --text-main: #333333;
  --text-muted: #666666;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Roboto', sans-serif;
  
  --transition-speed: 0.3s;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-color: #121212;
    --text-main: #f5f5f5;
    --text-muted: #aaaaaa;
    --card-bg: #1e1e1e;
    --border-color: #333333;
    --glass-bg: rgba(18, 18, 18, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  transition: background-color var(--transition-speed) ease;
}

main {
  /* padding removed to allow full bleed */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: padding var(--transition-speed) ease;
}

header a, header .contact-phone, #mobile-menu-btn {
  color: #ffffff !important;
}

nav ul li a {
  color: #ffffff;
}

nav ul li a:hover, nav ul li a.active {
  color: var(--primary-color) !important;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

header img.logo {
  height: 130px;
  width: auto;
  max-width: 100%;
  transition: transform var(--transition-speed) ease;
}

header img.logo:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-main);
  text-transform: uppercase;
  font-size: 0.95rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

.contact-phone {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--primary-color);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: none;
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-main);
  padding: 12px 28px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid var(--text-main);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--text-main);
  color: var(--bg-color);
  transform: translateY(-2px);
}

/* Page content wrapper to account for fixed header */
main {
  min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: var(--secondary-color);
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background-color: #000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out, transform 10s linear;
  transform: scale(1);
}

.slide.active {
  opacity: 0.5;
  transform: scale(1.05);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: #ffffff;
  max-width: 800px;
  padding: 40px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 1s ease forwards;
}

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

.hero h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Sections */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--card-bg);
  border-radius: 15px;
  padding: 30px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

.card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background-color: var(--secondary-color);
  color: #f5f5f5;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

footer img.logo {
  max-width: 250px;
  height: auto;
  margin-bottom: 20px;
}

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

footer h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
}

footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 10px;
}

footer ul li a {
  color: #cccccc;
}

footer ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #888888;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* Utility */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Mobile Menu Button */
#mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  #mobile-menu-btn {
    display: block;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 20px 0;
  }
  nav ul.active {
    display: flex;
  }
  nav ul li {
    margin: 10px 0;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  header .container {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .contact-header {
    width: 100%;
    text-align: center;
    justify-content: center;
    margin-top: 10px;
  }
}

/* Gallery & Lightbox Styles */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform var(--transition-speed) ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
}

.img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #000;
}

.img-wrapper img, .img-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .img-wrapper img, .gallery-item:hover .img-wrapper video {
  opacity: 0.6;
}

.overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.gallery-info {
  padding: 20px;
  text-align: left;
}

.gallery-title {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--text-main);
}

.gallery-date {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: bold;
  margin-bottom: 10px;
}

.gallery-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Modal / Lightbox */
.modal {
  display: none; 
  position: fixed; 
  z-index: 2000; 
  padding-top: 50px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.9); 
}

.modal-content {
  margin: auto;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  background: var(--bg-color);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@media (min-width: 768px) {
  .modal-content {
    flex-direction: row;
  }
  .modal-media {
    flex: 2;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .modal-details {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.modal-details {
  padding: 30px;
}

.modal-details h2 {
  color: var(--text-main);
  margin-bottom: 10px;
}

.modal-details p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 2001;
}

.close-modal:hover,
.close-modal:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}
