/* RESET & VARIABLES */
:root {
  --primary: #C5A059;
  --primary-dark: #A68341;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --bg-color: #FAFAFA;
  --bg-light: #FFFFFF;
  --header-bg: rgba(255, 255, 255, 0.95);
  --footer-bg: #1A1A1A;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

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

ul {
  list-style: none;
}

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

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

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

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--text-dark);
  color: var(--text-dark);
}

.btn-outline:hover {
  background-color: var(--text-dark);
  color: #fff;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1rem;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 50px;
  width: auto;
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* MENU */
.menu {
  display: flex;
  gap: 32px;
  align-items: center;
}

.menu li {
  position: relative;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

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

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

.chevron {
  transition: var(--transition);
}

.has-dropdown:hover .chevron {
  transform: rotate(180deg);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-light);
  min-width: 200px;
  padding: 10px 0;
  border-radius: 0 0 4px 4px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  border-top: 2px solid var(--primary);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  width: 100%;
}

.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--text-light);
  transition: var(--transition);
}

.dropdown li a:hover {
  background: rgba(197, 160, 89, 0.05);
  color: var(--primary);
  padding-left: 25px;
}

/* MOBILE MENU TOGGLE */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

.menu-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: cinematicPan 18s ease-in-out infinite;
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 6s; }
.slide:nth-child(3) { animation-delay: 12s; }

@keyframes cinematicPan {
  0% { opacity: 0; transform: scale(1.15) translate(15px, 10px); }
  5% { opacity: 1; }
  39% { opacity: 1; }
  43% { opacity: 0; }
  100% { opacity: 0; transform: scale(1) translate(0, 0); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
  z-index: -1;
}

.hero-content {
  text-align: center;
  color: #fff;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content .subtitle {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 15px;
  animation: slideUp 1s ease 0.2s both;
}

.hero-content h1 {
  font-size: 4.5rem;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  animation: slideUp 1s ease 0.4s both;
}

.page-hero h1 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.9);
  animation: slideUp 1s ease 0.6s both;
}

.hero-content .btn {
  animation: slideUp 1s ease 0.8s both;
}

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

/* SECTIONS */
.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.title-separator {
  width: 60px;
  height: 3px;
  background-color: var(--primary);
  margin-bottom: 30px;
}

.title-separator.center {
  margin: 0 auto 30px auto;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 50px auto;
}

.bg-light {
  background-color: var(--bg-light);
}

/* ABOUT SECTION */
.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
}

.about-text p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.about-image-wrapper {
  flex: 1;
  position: relative;
}

.about-img {
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 1;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--primary);
  border-radius: 4px;
  z-index: 0;
}

.experience-badge {
  position: absolute;
  bottom: -30px;
  left: -30px;
  background-color: var(--primary);
  color: #fff;
  padding: 30px;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

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

.service-card {
  background: var(--bg-color);
  padding: 50px 40px;
  border-radius: 4px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  background: var(--bg-light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px auto;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary);
  color: #fff;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-link {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.service-link:hover {
  color: var(--text-dark);
}

/* CTA SECTION */
.cta-section {
  background-image: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('images/slide3.jpeg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 120px 0;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.8);
}

/* FOOTER */
.footer {
  background-color: var(--footer-bg);
  color: #999;
  padding-top: 80px;
  padding-bottom: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  color: #fff;
  margin-bottom: 20px;
}

.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: #999;
}

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

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info svg {
  color: var(--primary);
  flex-shrink: 0;
}

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

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  
  .about-container {
    flex-direction: column;
  }
  
  .about-image-wrapper {
    margin-top: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    transition: var(--transition);
    overflow-y: auto;
    box-shadow: var(--shadow-md);
  }
  
  .menu.active {
    left: 0;
  }
  
  .menu li {
    width: 100%;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .nav-link {
    padding: 15px 0;
    font-size: 1.1rem;
    width: 100%;
    justify-content: space-between;
  }
  
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    border-top: none;
    padding: 0 0 15px 15px;
    display: none;
  }
  
  .has-dropdown.active .dropdown {
    display: block;
  }
  
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .section {
    padding: 70px 0;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .experience-badge {
    width: 110px;
    height: 110px;
    padding: 20px;
    bottom: -15px;
    left: -15px;
  }
  
  .experience-badge .years {
    font-size: 1.5rem;
  }
  
  .experience-badge .text {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
