/* Base Styles */
:root {
  --black-coffee: #3B2F2F;
  --crimson-red: #DC143C;
  --pearl-white: #FDFDFD;
  --warm-taupe: #B38B6D;
  --dark-taupe: #8A6D52;
  --light-taupe: #D0B8A0;
  --dark-gray: #333333;
  --medium-gray: #666666;
  --light-gray: #F5F5F5;
  
  --header-height: 80px;
  --transition-speed: 0.3s;
  
  --heading-font: 'Cinzel', serif;
  --body-font: 'Roboto', sans-serif;
  
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --box-shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--pearl-white);
  min-height: 100vh;
  position: relative;
}

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

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--black-coffee);
  font-weight: 600;
}

h1 {
  font-size: 2.75rem;
}

h2 {
  font-size: 2.25rem;
}

h3 {
  font-size: 1.75rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.5rem;
  }
  
  h4 {
    font-size: 1.25rem;
  }
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-text {
  display: inline-block;
  padding: 12px 24px;
  font-family: var(--heading-font);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: all var(--transition-speed) ease;
  border-radius: 2px;
}

.btn-primary {
  background-color: var(--crimson-red);
  color: var(--pearl-white);
}

.btn-primary:hover {
  background-color: darken(var(--crimson-red), 10%);
  transform: translateY(-2px);
  box-shadow: var(--box-shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--black-coffee);
  border: 1px solid var(--black-coffee);
}

.btn-secondary:hover {
  background-color: var(--black-coffee);
  color: var(--pearl-white);
  transform: translateY(-2px);
}

.btn-text {
  padding: 0;
  background-color: transparent;
  color: var(--crimson-red);
  text-decoration: none;
  position: relative;
}

.btn-text:after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background-color: var(--crimson-red);
  transition: width var(--transition-speed) ease;
}

.btn-text:hover:after {
  width: 100%;
}

.btn-text i {
  margin-left: 8px;
  transition: transform var(--transition-speed) ease;
}

.btn-text:hover i {
  transform: translateX(4px);
}

.btn-text.light {
  color: var(--pearl-white);
}

.btn-text.light:after {
  background-color: var(--pearl-white);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(59, 47, 47, 0.9);
  transition: background-color var(--transition-speed) ease;
}

header.scrolled {
  background-color: var(--black-coffee);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-left, 
.nav-right {
  flex: 1;
}

.nav-left ul,
.nav-right ul {
  display: flex;
  height: 100%;
}

.nav-left ul {
  justify-content: flex-end;
}

.nav-right ul {
  justify-content: flex-start;
}

.nav-left ul li,
.nav-right ul li {
  margin: 0 16px;
  position: relative;
}

.nav-left ul li a,
.nav-right ul li a {
  color: var(--pearl-white);
  font-family: var(--heading-font);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding: 8px 0;
  display: block;
}

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

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

.logo {
  text-align: center;
  padding: 0 24px;
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* 
.logo img {
  height: 40px;
  width: auto;
  margin-bottom: 4px;
} */

.logo h1 {
  color: var(--pearl-white);
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 2px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background-color: var(--pearl-white);
  transition: all var(--transition-speed) ease;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--black-coffee);
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu ul {
  text-align: center;
}

.mobile-menu ul li {
  margin: 24px 0;
}

.mobile-menu ul li a {
  color: var(--pearl-white);
  font-family: var(--heading-font);
  font-size: 1.25rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color var(--transition-speed) ease;
}

.mobile-menu ul li a:hover {
  color: var(--crimson-red);
}

@media (max-width: 992px) {
  .nav-left, 
  .nav-right {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .navbar {
    justify-content: space-between;
  }
  
  .logo {
    padding: 0;
  }
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/images/home-img.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl-white);
  position: relative;
}

.hero-content {
  text-align: center;
  max-width: 90vw;
  padding: 0 24px;
  animation: fadeIn 1.5s ease;
}

.hero-content h2 {
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: var(--pearl-white);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 32px;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

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

@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
}

/* Page Hero */
.page-hero {
  height: 50vh;
  min-height: 300px;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/274249/pexels-photo-274249.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=2');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pearl-white);
  margin-top: var(--header-height);
}

.page-hero.small {
  height: 30vh;
  min-height: 200px;
}

.page-hero-content {
  text-align: center;
}

.page-hero-content h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  color: var(--pearl-white);
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--heading-font);
}

.breadcrumb a {
  color: var(--pearl-white);
  transition: color var(--transition-speed) ease;
}

.breadcrumb a:hover {
  color: var(--crimson-red);
}

.breadcrumb span {
  margin: 0 8px;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2 span {
  color: var(--crimson-red);
}

.section-header p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  color: var(--medium-gray);
}

.section-header.light h2,
.section-header.light p {
  color: var(--pearl-white);
}

.section-header.light h2 span {
  color: var(--warm-taupe);
}

.divider {
  position: relative;
  height: 2px;
  width: 80px;
  background-color: var(--light-taupe);
  margin: 0 auto 24px;
}

.divider span {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 8px;
  background-color: var(--crimson-red);
}

.divider-small {
  position: relative;
  height: 2px;
  width: 60px;
  background-color: var(--light-taupe);
  margin-bottom: 20px;
}

.divider-small span {
  position: absolute;
  top: -3px;
  left: 0;
  width: 30px;
  height: 6px;
  background-color: var(--crimson-red);
}

.divider-small.light {
  background-color: rgba(255, 255, 255, 0.3);
}

.divider-small.light span {
  background-color: var(--pearl-white);
}

/* Background Colors */
.bg-light {
  background-color: var(--light-gray);
}

.bg-dark {
  background-color: var(--black-coffee);
  color: var(--pearl-white);
}

.bg-dark h2, 
.bg-dark h3, 
.bg-dark h4 {
  color: var(--pearl-white);
}

.bg-accent {
  background-color: var(--warm-taupe);
  color: var(--pearl-white);
}

.bg-accent h2, 
.bg-accent h3, 
.bg-accent h4 {
  color: var(--pearl-white);
}

/* Footer */
footer {
  background-color: var(--black-coffee);
  color: var(--pearl-white);
}

.footer-top {
  padding: 60px 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

.footer-logo h3 {
  color: var(--pearl-white);
  font-size: 1.5rem;
  margin: 0;
}

.footer-column p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-column h4 {
  color: var(--pearl-white);
  margin-bottom: 24px;
  font-size: 1.2rem;
  position: relative;
}

.footer-column h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 40px;
  height: 2px;
  background-color: var(--crimson-red);
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-speed) ease;
}

.footer-column ul li a:hover {
  color: var(--crimson-red);
}

.social-links {
  display: flex;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--pearl-white);
  border-radius: 50%;
  margin-right: 12px;
  transition: all var(--transition-speed) ease;
}

.social-links a:hover {
  background-color: var(--crimson-red);
  transform: translateY(-3px);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
  margin-right: 12px;
  margin-top: 4px;
  color: var(--crimson-red);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 24px 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 16px;
  font-size: 0.9rem;
  transition: color var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--crimson-red);
}

@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom p {
    margin-bottom: 16px;
  }
  
  .footer-links a {
    margin: 0 8px;
  }
}

@media (max-width: 576px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 48px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 48px; }

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

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