/* ===== CSS Variables ===== */
:root {
  --color-gold: #8B734A;
  --color-gold-dark: #6B5A3E;
  --color-gold-light: #C4A962;
  --color-primary: #8B734A;
  --color-primary-dark: #5C4D35;
  --color-accent: #E8E0D5;
  --color-cream: #FAF8F5;
  --color-text: #3D3D3D;
  --color-text-light: #6B6B6B;
  --color-white: #FFFFFF;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Open Sans', sans-serif;
  --shadow-sm: 0 2px 8px rgba(139, 115, 74, 0.08);
  --shadow-md: 0 4px 16px rgba(139, 115, 74, 0.12);
  --shadow-lg: 0 8px 32px rgba(139, 115, 74, 0.16);
  --transition: all 0.3s ease;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-cream);
}

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

a {
  text-decoration: none;
  color: inherit;
}

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

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

.section {
  padding: 100px 0;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-gold-dark);
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 60px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
}

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

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.02em;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo {
  color: var(--color-gold-dark);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-white);
  position: relative;
  transition: var(--transition);
}

.navbar.scrolled .nav-link {
  color: var(--color-text);
}

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

.navbar.scrolled .nav-link::after {
  background-color: var(--color-gold);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 2px;
  background-color: var(--color-white);
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background-color: var(--color-text);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  color: var(--color-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(0,0,0,0.1) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}

.hero-logo {
  height: 150px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  opacity: 0.95;
  margin-bottom: 25px;
  animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-description {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.4s backwards;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.6s backwards;
}

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

/* ===== About Section ===== */
.about {
  background-color: var(--color-cream);
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

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

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 25px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-text strong {
  color: var(--color-gold-dark);
}

.about-welcome {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-gold);
  margin-top: 30px;
}

/* ===== Services Section ===== */
.services {
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--color-accent);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold-light);
}

.service-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: 50%;
  color: var(--color-white);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-white);
  stroke-width: 2;
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--color-gold-dark);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ===== Contact Section ===== */
.contact {
  background-color: var(--color-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  border-radius: 50%;
  color: var(--color-white);
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item h4 {
  font-size: 1.1rem;
  color: var(--color-gold-dark);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--color-gold);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

.contact-form {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-accent);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid var(--color-accent);
  border-radius: 4px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(93, 64, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

/* Form Message Styles */
.form-message {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-gold-dark);
  color: var(--color-white);
  padding: 60px 0 30px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  font-style: italic;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  font-size: 0.9rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--color-gold-dark);
    transition: var(--transition);
    gap: 30px;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--color-white);
    font-size: 1.2rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-logo {
    height: 90px;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section {
    padding: 80px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    height: 70px;
  }

  .contact-form {
    padding: 25px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}
