/* Base Styles */
:root {
  --beige: #E9DCC9;
  --soft-white: #F5F5F5;
  --brown: #2B1B0E;
  --black: #000000;
  --brown-light: #3E2D1E;
  --gold: #D4AF37;
  --gold-muted: #BFA65A;
  --gold-light: #E9D08E;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  background-color: var(--brown);
  color: var(--beige);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
}

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

a {
  color: var(--beige);
  text-decoration: none;
  transition: color 0.3s;
}

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

.btn {
  font-family: 'Forum', cursive;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.btn-primary {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--beige);
  padding: 0.75rem 2rem;
}

.btn-primary:hover {
  background-color: var(--brown-light);
  border-color: var(--brown-light);
  color: var(--gold);
}

.btn-outline-primary {
  border: 2px solid var(--gold);
  color: var(--gold);
  background-color: transparent;
  padding: 0.75rem 2rem;
}

.btn-outline-primary:hover {
  background-color: rgba(212, 175, 55, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

/* Header */
header {
  background-color: var(--black);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 1rem;
}

.nav-menu a {
  font-family: 'Forum', cursive;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--beige);
}

.nav-menu a:hover {
  color: var(--gold);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
}

.language-switcher button {
  background: none;
  border: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-family: 'Forum', cursive;
  font-size: 0.9rem;
  color: var(--beige);
  transition: color 0.3s;
}

.language-switcher span {
  color: var(--gold-muted);
  margin: 0 0.25rem;
}

.language-switcher button.active {
  color: var(--gold);
  font-weight: 600;
}

.language-switcher button:hover {
  color: var(--gold);
}

.small-lang-switcher button {
  font-size: 0.75rem;
  opacity: 0.8;
}

.small-lang-switcher span {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* Mobile Menu and Burger Button */
.burger-button {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: var(--beige);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.burger-button.active .burger-bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background-color: var(--gold);
}

.burger-button.active .burger-bar:nth-child(2) {
  opacity: 0;
}

.burger-button.active .burger-bar:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
  background-color: var(--gold);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.97);
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
  z-index: 1000;
}

.mobile-menu-overlay.active {
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  height: 100%;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.mobile-logo {
  font-size: 1.4rem;
  margin-right: 0.5rem;
}

.close-button {
  background: transparent;
  border: none;
  color: var(--beige);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  width: 100%;
}

.mobile-nav li {
  margin: 1.5rem 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav li {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s * var(--item-index, 0));
}

.mobile-nav a {
  font-family: 'Cinzel', serif;
  display: block;
  padding: 0.5rem;
  color: var(--beige);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.mobile-nav a:hover {
  color: #d4c19c;
  text-decoration: none;
}

/* Desktop Navigation */
.desktop-nav .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav .nav-menu li {
  margin: 0 1rem;
}

.desktop-nav .nav-menu a {
  font-family: 'Cinzel', serif;
  display: block;
  padding: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  transition: color 0.3s ease;
}

/* Language switcher in mobile menu */
.mobile-menu-header .language-switcher button {
  color: var(--beige);
}

/* Language Content */
.lang-content[data-lang="en"] {
  display: none;
}

body.en .lang-content[data-lang="tr"] {
  display: none;
}

body.en .lang-content[data-lang="en"] {
  display: block;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 7rem 0 5rem;
  background-color: var(--brown);
  color: var(--beige);
}

/* Removed overlay since we don't need it anymore with solid background */

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  font-size: 4.5rem;
  letter-spacing: 5px;
  margin-bottom: 2rem;
  color: var(--gold);
}

.hero-motto {
  font-family: 'Forum', cursive;
  font-size: 1.5rem;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: var(--soft-white);
}

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

/* Coffee Section */
.coffee-section {
  background-color: #2B180E;
}

.coffee-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.coffee-image-container {
  width: 100%;
  max-width: 500px;
  margin-bottom: 3rem;
  padding: 10px;
  border-radius: 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.coffee-image-container:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.coffee-bottle-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

.coffee-product-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.coffee-description {
  font-family: 'Forum', cursive;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--soft-white);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.coffee-specs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease;
}

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

.spec-item i {
  font-size: 1.8rem;
  color: var(--gold);
}

.spec-content {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-family: 'Forum', cursive;
  font-size: 1rem;
  color: var(--gold-muted);
  margin-bottom: 0.2rem;
}

.spec-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--soft-white);
}

@media (max-width: 768px) {
  .coffee-product-title {
    font-size: 2rem;
  }
  
  .coffee-description {
    font-size: 1.1rem;
  }
  
  .coffee-specs {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .spec-item {
    width: 100%;
  }
}

/* Ritual Section */
.ritual-step {
  margin-bottom: 2rem;
}

.ritual-icon {
  width: 100px;
  height: 100px;
  background-color: rgba(212, 175, 55, 0.15);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.ritual-icon img {
  width: 50px;
  height: 50px;
  filter: invert(85%) sepia(19%) saturate(1086%) hue-rotate(356deg) brightness(104%) contrast(92%);
}

.ritual-icon .coffee-beans-photo {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.1) contrast(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ritual-icon .coffee-beans-photo:hover {
  transform: scale(1.05);
  filter: brightness(1.2) contrast(1.15);
}

.ritual-icon .extraction-machine-photo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: brightness(1.1) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ritual-icon .extraction-machine-photo:hover {
  transform: scale(1.05);
  filter: brightness(1.15) contrast(1.2);
}

.ritual-icon .brewing-clock-photo {
  width: 85px;
  height: 85px;
  object-fit: contain;
  filter: brightness(1.05) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ritual-icon .brewing-clock-photo:hover {
  transform: scale(1.05);
  filter: brightness(1.15) contrast(1.15);
}

.ritual-icon .bottling-bottle-photo {
  width: 70px;
  height: 85px;
  object-fit: contain;
  filter: brightness(1.05) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ritual-icon .bottling-bottle-photo:hover {
  transform: scale(1.05);
  filter: brightness(1.1) contrast(1.1);
}

.ritual-step-title {
  font-family: 'Forum', cursive;
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.ritual-step-desc {
  color: var(--beige);
}

/* History Section */
.history-item {
  margin-bottom: 3rem;
}

.history-title {
  font-family: 'Forum', cursive;
  color: var(--gold);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.history-image {
  margin-top: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  overflow: hidden;
}

.history-image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Philosophy Section */
.philosophy-section {
  background-color: var(--black);
  color: var(--beige);
}

.philosophy-section .section-title {
  color: var(--gold);
}

.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote {
  font-family: 'Forum', cursive;
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 2rem;
  color: var(--soft-white);
}

.divider-small {
  width: 60px;
  height: 2px;
  background-color: var(--gold);
  margin: 2rem auto;
}

.philosophy-text {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--beige);
}

.philosophy-signature {
  font-family: 'Forum', cursive;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-muted);
}

/* Contact Section */
.contact-title {
  font-family: 'Forum', cursive;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  color: var(--gold);
}

.contact-form .form-control {
  background-color: rgba(233, 220, 201, 0.9);
  border: 1px solid var(--gold-muted);
  padding: 0.75rem 1rem;
  color: var(--brown);
  border-radius: 0.5rem;
}

.contact-form .form-control:focus {
  border-color: var(--gold);
  box-shadow: none;
  background-color: var(--beige);
}

.contact-form .form-label {
  font-family: 'Forum', cursive;
  color: var(--beige);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-list i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.info-label {
  display: block;
  font-family: 'Forum', cursive;
  margin-bottom: 0.25rem;
  color: var(--gold-muted);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.social-icon.active {
  background-color: rgba(212, 175, 55, 0.2);
  color: var(--gold);
  transition: background-color 0.3s;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.social-icon.active:hover {
  background-color: rgba(212, 175, 55, 0.3);
}

.social-icon.disabled {
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--beige);
  opacity: 0.5;
  cursor: not-allowed;
}



/* Footer */
.site-footer {
  background-color: var(--black);
  color: var(--beige);
  padding: 4rem 0;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-logo {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
}

.footer-motto {
  font-family: 'Forum', cursive;
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 2rem;
  color: var(--soft-white);
}

.footer-divider {
  width: 60px;
  height: 1px;
  background-color: var(--gold-muted);
  margin: 2rem auto;
}

.copyright {
  font-size: 0.9rem;
  opacity: 0.7;
  color: var(--beige);
}

/* Section Divider */
.section-divider {
  height: 1px;
  background-color: rgba(212, 175, 55, 0.15);
  margin: 5rem auto;
  width: 80%;
  max-width: 800px;
  position: relative;
}

.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--gold);
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--gold);
  color: var(--black);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  border: 1px solid rgba(212, 175, 55, 0.6);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: var(--gold-muted);
}

/* Fade In Animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 991.98px) {
  .hero-section h1 {
    font-size: 3.5rem;
  }
  
  .hero-motto {
    font-size: 1.3rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    font-size: 3rem;
  }
  
  .hero-motto {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .philosophy-quote,
  .philosophy-signature {
    font-size: 1.3rem;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-motto {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.6rem;
  }
}
