/* Military Smart Books - Editorial Military Design System */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;900&family=Crimson+Pro:wght@300;400;600&family=Bebas+Neue&display=swap');

:root {
  --military-green: #2d4a2b;
  --deep-navy: #1a2332;
  --brass-gold: #c9a961;
  --iron-gray: #4a5568;
  --paper-cream: #f8f5f0;
  --rust-orange: #c44536;
  --olive-muted: #6b7c59;
  --shadow-dark: rgba(26, 35, 50, 0.15);
  
  --font-display: 'Playfair Display', serif;
  --font-body: 'Crimson Pro', serif;
  --font-accent: 'Bebas Neue', sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--deep-navy);
  background: var(--paper-cream);
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.8rem;
  font-weight: 700;
}

h3 {
  font-size: 2rem;
}

.accent-text {
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--military-green) 100%);
  padding: 0;
  box-shadow: 0 4px 20px var(--shadow-dark);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--brass-gold) !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand i {
  font-size: 2rem;
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 1.2rem 1.5rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--brass-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::before {
  width: 60%;
}

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

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(45, 74, 43, 0.9) 100%),
              url('images/banner.jpg') center/cover;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.02) 2px,
    rgba(255, 255, 255, 0.02) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  color: white;
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  line-height: 1.1;
}

.hero-subtitle {
  color: var(--brass-gold);
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: 600px;
}

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

/* Buttons */
.btn-military-primary {
  background: var(--brass-gold);
  color: var(--deep-navy);
  padding: 1rem 2.5rem;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(201, 169, 97, 0.3);
}

.btn-military-primary:hover {
  background: var(--deep-navy);
  color: var(--brass-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 169, 97, 0.5);
}

.btn-military-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  font-family: var(--font-accent);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  border: 2px solid white;
  border-radius: 0;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-military-secondary:hover {
  background: white;
  color: var(--deep-navy);
  transform: translateY(-2px);
}

/* Section Styles */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--brass-gold) 0%, transparent 100%);
}

.section-title i {
  color: var(--brass-gold);
  margin-right: 1rem;
}

/* Featured Books */
.featured-books {
  background: white;
  position: relative;
}

.featured-books::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(45, 74, 43, 0.03) 100%);
  pointer-events: none;
}

.book-card {
  background: white;
  border: none;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 25px var(--shadow-dark);
}

.book-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(201, 169, 97, 0.1) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.book-card:hover::before {
  left: 100%;
}

.book-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.book-card img {
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.book-card .card-body {
  padding: 2rem;
}

.book-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--deep-navy);
  margin-bottom: 1rem;
}

.book-price {
  font-family: var(--font-accent);
  font-size: 1.8rem;
  color: var(--rust-orange);
  letter-spacing: 0.05em;
}

/* Articles Section */
.articles-section {
  background: var(--deep-navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.articles-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.article-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  overflow: hidden;
}

.article-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--brass-gold);
  transform: translateY(-5px);
}

.article-card img {
  height: 250px;
  object-fit: cover;
  filter: grayscale(30%);
  transition: all 0.4s ease;
}

.article-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

.article-date {
  font-family: var(--font-accent);
  color: var(--brass-gold);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.article-title {
  color: white;
  font-size: 1.4rem;
  margin: 1rem 0;
}

.article-excerpt {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
  background: linear-gradient(135deg, var(--paper-cream) 0%, #e8e3d8 100%);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '"';
  position: absolute;
  top: -50px;
  left: 50px;
  font-size: 20rem;
  font-family: var(--font-display);
  color: rgba(45, 74, 43, 0.05);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card {
  background: white;
  padding: 3rem;
  border-left: 4px solid var(--brass-gold);
  box-shadow: 0 10px 30px var(--shadow-dark);
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateX(10px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.testimonial-text {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--iron-gray);
}

.testimonial-author {
  font-family: var(--font-accent);
  color: var(--deep-navy);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.testimonial-role {
  color: var(--olive-muted);
  font-size: 0.9rem;
}

/* Service Section */
.service-section {
  background: var(--military-green);
  color: white;
  position: relative;
  overflow: hidden;
}

.service-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(45deg, transparent 48%, rgba(201, 169, 97, 0.1) 48%, rgba(201, 169, 97, 0.1) 52%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(201, 169, 97, 0.1) 48%, rgba(201, 169, 97, 0.1) 52%, transparent 52%);
  background-size: 30px 30px;
  opacity: 0.3;
  pointer-events: none;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--brass-gold);
  padding: 3rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.service-icon {
  font-size: 4rem;
  color: var(--brass-gold);
  margin-bottom: 1.5rem;
}

.service-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--brass-gold);
  margin: 1.5rem 0;
}

/* Newsletter */
.newsletter-section {
  background: linear-gradient(135deg, var(--deep-navy) 0%, var(--iron-gray) 100%);
  color: white;
}

.newsletter-form {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  border-radius: 0;
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--brass-gold);
  box-shadow: none;
  color: white;
}

/* Footer */
.footer {
  background: var(--deep-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--brass-gold);
  font-family: var(--font-accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

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

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

.footer a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--brass-gold);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--brass-gold);
  color: var(--deep-navy);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--deep-navy);
  color: white;
  padding: 1.5rem;
  box-shadow: 0 -5px 20px var(--shadow-dark);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner .btn-accept {
  background: var(--brass-gold);
  color: var(--deep-navy);
  border: none;
  padding: 0.8rem 2rem;
  font-family: var(--font-accent);
  letter-spacing: 0.05em;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  box-shadow: 0 10px 40px var(--shadow-dark);
}

.contact-form .form-control,
.contact-form .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 0;
  padding: 1rem;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--brass-gold);
  box-shadow: 0 0 0 0.2rem rgba(201, 169, 97, 0.25);
}

.contact-info-card {
  background: var(--military-green);
  color: white;
  padding: 2rem;
  height: 100%;
}

.contact-info-item {
  margin-bottom: 2rem;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--brass-gold);
  margin-right: 1rem;
}

/* Map */
.map-container {
  height: 400px;
  border: 4px solid var(--brass-gold);
}

/* About Page */
.about-hero {
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.95) 0%, rgba(45, 74, 43, 0.9) 100%),
              url('images/about.jpg') center/cover;
  padding: 8rem 0;
  color: white;
  text-align: center;
}

.mission-card {
  background: white;
  padding: 3rem;
  border-top: 4px solid var(--brass-gold);
  box-shadow: 0 10px 30px var(--shadow-dark);
  height: 100%;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--shadow-dark);
}

.mission-icon {
  font-size: 3rem;
  color: var(--brass-gold);
  margin-bottom: 1.5rem;
}

/* Policy Pages */
.policy-content {
  background: white;
  padding: 4rem;
  box-shadow: 0 5px 25px var(--shadow-dark);
  margin: 3rem 0;
}

.policy-content h2 {
  color: var(--military-green);
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.policy-content h3 {
  color: var(--iron-gray);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
  
  .testimonials-section::before {
    font-size: 10rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .cookie-banner,
  .newsletter-section,
  .footer {
    display: none;
  }
}




.navbar-brand img{
    max-width: 250px;
    width: 250px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


footer .navbar-brand img{
    filter: brightness(0) invert(1);
}

.footer-text{
    margin-top: 20px;
}

.newsletter-form .btn-military-primary{
  display: flex;
  align-items: center;
}