/* Global Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Georgia', serif;
  color: #333;
  line-height: 1.6;
}

/* Reset some default browser styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== HEADER STYLES ===== */
/* Header Styles with Byzantine/Orthodox Church Inspired Design */
#custom-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.4s ease;
  background-color: rgba(27, 27, 27, 0.9) !important;
  border-bottom: 2px solid #c5a059; /* Gold border - common in Orthodox iconography */
  padding: 0; /* Remove padding as we'll control it in child elements */
}

/* Homepage specific header styles */
body.homepage #custom-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
}

/* Fix for bullet points in header */
.et-l--header ul,
#custom-header ul,
.main-navigation ul,
.nav-menu {
  list-style-type: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 15px; /* Reduced from 8px 20px */
  width: 100%;
}

/* Logo styles - INCREASED SIZE */
.logo-container {
  max-width: 160px; /* Increased from 110px */
  transition: all 0.3s ease;
}

.logo-container img {
  width: 100%;
  height: auto;
  transition: all 0.3s ease;
}

.primary-logo {
  display: block;
}

.scrolled-logo {
  display: none;
}

/* Navigation styles with Byzantine font inspiration */
.main-navigation {
  display: flex;
  align-items: center;
  margin-bottom: 9px; /* Increased from 5px to push navigation lower */
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0 10px; /* Reduced from 12px */
  position: relative;
  list-style-type: none;
}

.nav-menu li::after {
  content: "☦"; /* Orthodox cross symbol */
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  color: #c5a059;
  transition: all 0.3s ease;
  opacity: 0;
}

.nav-menu li:hover::after {
  transform: translateX(-50%) scale(1);
  opacity: 1;
}

.nav-menu li a {
  color: #e8e8e8;
  text-decoration: none;
  font-family: 'Georgia', serif; /* Classic font that resembles old church texts */
  font-size: 18px; /* Increased from 16px */
  letter-spacing: 0.5px; /* Reduced letter spacing to prevent wrapping */
  transition: all 0.3s ease;
  padding: 6px 0;
  position: relative;
  white-space: nowrap; /* Prevent text wrapping */
}

.nav-menu li a:hover {
  color: #c5a059; /* Gold color on hover - inspired by Orthodox iconography */
}

/* Language selector styling */
.language-selector {
  display: flex;
  margin-left: 15px;
}

.lang-switch {
  margin: 0 5px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.lang-switch:hover {
  opacity: 1;
}

.lang-switch.active {
  opacity: 1;
  border: 2px solid #c5a059;
  transform: scale(1.1);
}

.lang-switch img {
  width: 24px;
  height: auto;
  border-radius: 3px;
}

/* Mobile menu button */
.mobile-menu-button {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.mobile-menu-button span {
  width: 100%;
  height: 3px;
  background-color: #c5a059;
  border-radius: 3px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: rgba(27, 27, 27, 0.98);
  z-index: 1001;
  transition: right 0.4s ease;
  padding: 50px 20px;
  overflow-y: auto;
  border-left: 2px solid #c5a059;
}

.mobile-menu.active {
  right: 0;
}

.close-button {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: #c5a059;
  cursor: pointer;
}

.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.mobile-menu ul li {
  margin: 20px 0;
  padding: 8px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  list-style-type: none;
}

.mobile-menu ul li a {
  color: #e8e8e8;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 18px; /* Increased from 16px */
  display: block;
  transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
  color: #c5a059;
  padding-left: 5px;
}

.language-selector-mobile {
  display: flex;
  flex-direction: column;
}

.language-selector-mobile a {
  display: flex;
  align-items: center;
  margin: 5px 0;
}

.language-selector-mobile img {
  width: 20px;
  margin-right: 10px;
}

/* Scrolled header styles */
#custom-header.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#custom-header.scrolled .header-container {
  padding: 3px 15px; /* Reduced from 5px 20px */
}

#custom-header.scrolled .logo-container {
  max-width: 140px; /* Increased from 120px for less reduction */
}

#custom-header.scrolled .primary-logo {
  display: none;
}

#custom-header.scrolled .scrolled-logo {
  display: block;
}

/* Ensure proper logo display */
#custom-header .logo-container img {
  max-width: 100%;
}

#custom-header.scrolled .nav-menu li a {
  color: #1b1b1b;
  font-size: 17px;
}

#custom-header.scrolled .nav-menu li a:hover {
  color: #c5a059;
}

#custom-header.scrolled .mobile-menu-button span {
  background-color: #1b1b1b;
}

/* Fix for Divi theme conflicts */
#custom-header .nav-menu li::before,
.mobile-menu ul li::before {
  display: none !important;
  content: none !important;
}

/* ===== FOOTER STYLES ===== */
/* Orthodox Footer Styles */
.orthodox-footer {
  background-color: #1b1b1b;
  color: #e0e0e0;
  font-family: 'Georgia', serif;
  position: relative;
}

/* Main Footer */
.main-footer {
  padding: 70px 0 50px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c5a059' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
}

/* Logo & About Column */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  max-width: 150px;
  height: auto;
}

.footer-about p {
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5a059;
  text-decoration: none;
  transition: all 0.3s ease;
  font-style: normal;
}

.social-link:hover {
  background-color: #c5a059;
  color: #1b1b1b;
  transform: translateY(-3px);
}

/* Column Headings */
.footer-heading {
  font-size: 18px;
  color: #c5a059;
  margin-bottom: 20px;
  font-weight: 400;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 1px;
  background-color: #c5a059;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-links a:before {
  content: '•';
  margin-right: 8px;
  color: #c5a059;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #c5a059;
  padding-left: 5px;
}

.footer-links a:hover:before {
  opacity: 1;
  transform: translateX(0);
}

/* Contact Information */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
}

.contact-icon {
  margin-right: 15px;
  color: #c5a059;
  font-style: normal;
}

.contact-text {
  color: #aaa;
  line-height: 1.5;
}

/* Decorative Ornament */
.footer-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(197, 160, 89, 0.1);
  border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.ornament-line {
  height: 1px;
  width: 100px;
  background-color: rgba(197, 160, 89, 0.3);
}

.ornament-symbol {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ornament-image {
  width: 28px;
  height: auto;
}

/* Footer Bottom */
.footer-bottom {
  padding: 20px 0;
  background-color: rgba(0, 0, 0, 0.2);
}

.footer-bottom .footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 14px;
  color: #888;
}

.footer-legal {
  display: flex;
  align-items: center;
}

.footer-legal a {
  color: #888;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #c5a059;
}

.separator {
  margin: 0 10px;
  color: #555;
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.2);
  border: 2px solid #c5a059;
  color: #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background-color: #c5a059;
  color: #1b1b1b;
  transform: translateY(-5px);
}

/* Main Content Area */
main {
  padding-top: 60px; /* Adjust based on header height */
  position: relative;
  z-index: 1; /* Ensure main content is above background elements but below header */
}

body.homepage main {
  margin-top: 0;
}

/* Orthodox-inspired Hero Section Styles */
.orthodox-hero {
  position: relative;
  height: auto;
  min-height: 800px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
  text-align: center;
  overflow: hidden;
  margin-top: -60px; /* Pulls the hero section up behind the header */
  padding-top: 60px; /* Adds padding to compensate for the negative margin */
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%) scale(0.6); /* Further reduced scale to show more of the video */
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%) !important;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 100px 20px 50px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 15px;
  width: 100%;
}

body.homepage .hero-content {
  padding-top: 140px;
}

.hero-logo {
  margin-bottom: 10px;
  margin-top: 50px;
}

.hero-logo img {
  max-width: 100%;
  height: auto;
  max-height: 430px; /* Maintained size at 430px */
}

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.ornament-divider:before,
.ornament-divider:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #c5a059;
  margin: 0 20px;
}

.ornament-divider img {
  height: 50px; /* Further increased from 40px to 50px */
  width: auto;
}

.hero-subtitle {
  font-family: 'Georgia', serif;
  font-size: 28px;
  font-weight: 400;
  margin: 10px 0; /* Reduced from 20px to 10px */
  color: #c5a059;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-description {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px; /* Reduced from 30px to 20px */
  color: #f0f0f0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px; /* Increased from 15px to create more space */
  padding-bottom: 30px; /* Added explicit bottom padding */
}

.hero-button {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Georgia', serif;
  font-size: 16px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.primary-button {
  background-color: #c5a059;
  color: #1b1b1b;
  border: 2px solid #c5a059;
}

.primary-button:hover {
  background-color: #d4b06a;
  border-color: #d4b06a;
}

.secondary-button {
  background-color: transparent;
  color: #fff;
  border: 2px solid #c5a059;
}

.secondary-button:hover {
  background-color: rgba(197, 160, 89, 0.2);
  color: #c5a059;
}

/* Responsive Styles for Hero Section */
@media (max-width: 991px) {
  .hero-logo img {
    max-height: 350px;
  }
  
  .hero-content {
    padding-top: 80px; /* Reduced from 140px */
    padding-bottom: 40px; /* Reduced from 90px */
  }
  
  .hero-logo {
    margin-top: 40px; /* Reduced from 90px */
  }
  
  .orthodox-hero {
    min-height: 750px;
  }
  
  .hero-subtitle {
    font-size: 24px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .hero-buttons {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  .orthodox-hero {
    min-height: 500px;
  }
  
  .hero-content {
    padding-top: 90px; /* Adjusted for mobile screens */
  }
  
  .hero-logo img {
    max-height: 270px;
  }
  
  .hero-subtitle {
    font-size: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-button {
    width: 80%;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 80px; /* Adjusted for very small screens */
  }
  
  .hero-logo img {
    max-height: 200px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-description {
    font-size: 15px;
  }
}

/* ===== RESPONSIVE STYLES ===== */
/* Responsive Header Styles */
@media (max-width: 1024px) {
  .nav-menu {
    display: none;
  }
  
  .mobile-menu-button {
    display: flex;
  }
  
  .logo-container {
    max-width: 140px; /* Increased from 100px */
  }
  
  #custom-header.scrolled .logo-container {
    max-width: 125px; /* Increased for scrolled state on mobile */
  }
}

@media (max-width: 767px) {
  .header-container {
    padding: 8px 15px;
  }
  
  .logo-container {
    max-width: 120px; /* Increased from 90px */
  }
  
  #custom-header.scrolled .logo-container {
    max-width: 110px; /* Increased for scrolled state on small mobile */
  }
}

/* Responsive Footer Styles */
@media (max-width: 991px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  
  .about-column {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .main-footer {
    padding: 50px 0 30px;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-column {
    grid-column: span 1;
  }
  
  .footer-bottom .footer-container {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .ornament-line {
    width: 60px;
  }
}

/* Orthodox Services Section Styles */
.orthodox-services {
  padding: 80px 0;
  background-color: #f8f5f0; /* Light cream background */
  position: relative;
  overflow: hidden;
}

/* Background Pattern - Optional */
.orthodox-services:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c5a059' fill-opacity='0.07'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2V6h4V4H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
  z-index: 1;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Section Heading Styles */
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-family: 'Times New Roman', serif;
  font-size: 42px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.heading-ornament .ornament-line {
  height: 1px;
  width: 100px;
  background-color: #c5a059;
}

.heading-ornament .ornament-symbol {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.heading-ornament .ornament-image {
  width: 28px;
  height: auto;
}

.section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Carousel Container */
.services-carousel-container {
  position: relative;
  margin-bottom: 30px;
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background-color: #fff;
  border: 2px solid #c5a059;
  border-radius: 50%;
  color: #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.carousel-nav span {
  line-height: 1;
}

.prev-btn {
  left: -5px;
}

.next-btn {
  right: -5px;
}

.carousel-nav:hover {
  background-color: #c5a059;
  color: #fff;
}

/* Services Carousel */
.services-carousel {
  width: 100%;
  overflow: hidden;
}

.services-track {
  display: flex;
  transition: transform 0.5s ease;
}

/* Service Card */
.service-card {
  flex: 0 0 280px;
  min-width: 280px;
  margin: 0 10px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: rgba(197, 160, 89, 0.3);
}

/* Card corner ornament */
.service-card:before {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  background-image: url("media/Ikonica-ver.1.svg");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.2;
}

.service-icon {
  margin: 0 auto 20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c5a059;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.service-description {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #c5a059;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.service-link:after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #c5a059;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: #d4b06a;
}

.service-link:hover:after {
  width: 100%;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #c5a059;
  transform: scale(1.2);
}

/* Studio Link */
.studio-link-container {
  text-align: center;
  margin-top: 30px;
}

.studio-link {
  display: inline-flex;
  align-items: center;
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  border: 2px solid #c5a059;
  padding: 12px 25px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.link-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.studio-link:hover {
  background-color: #c5a059;
  color: #fff;
}

.studio-link:hover .link-icon {
  transform: translateX(5px);
}

/* Responsive Styles for Services Section */
@media (max-width: 991px) {
  .service-card {
    flex: 0 0 calc(33.33% - 20px);
    min-width: calc(33.33% - 20px);
  }
  
  .section-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  /* Switch to grid layout on mobile */
  .services-carousel-container {
    margin-bottom: 0;
  }
  
  .services-carousel {
    overflow: visible;
  }
  
  .services-track {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    transform: none !important; /* Override any JS transform */
  }
  
  .service-card {
    min-width: 100%;
    margin: 0;
  }
  
  /* Hide carousel navigation on mobile */
  .carousel-nav, .carousel-indicators {
    display: none;
  }
  
  .section-heading h2 {
    font-size: 32px;
  }
  
  .section-subtitle {
    font-size: 16px;
  }
  
  .orthodox-services {
    padding: 60px 0;
  }
}

/* Orthodox Testimonials Section Styles */
.orthodox-testimonials {
  padding: 80px 0;
  background-color: #1b1b1b;
  background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zm0 8h12v6H14v-6zm14 0h12v6H28v-6zm14 8h12v6H42v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%23c5a059' fill-opacity='0.08' fill-rule='evenodd'/%3E%3C/svg%3E");
  position: relative;
}

.testimonials-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Heading Styles for Testimonials */
.orthodox-testimonials .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.orthodox-testimonials .section-heading h2 {
  font-family: 'Times New Roman', serif;
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.orthodox-testimonials .heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.orthodox-testimonials .ornament-line {
  height: 1px;
  width: 100px;
  background-color: #c5a059;
}

.orthodox-testimonials .ornament-symbol {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orthodox-testimonials .ornament-image {
  width: 28px;
  height: auto;
}

.orthodox-testimonials .section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto;
}

/* Testimonials Slider */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 1s;
}

.testimonial-slide:first-child {
  display: block;
}

@keyframes fadeEffect {
  from {opacity: 0.7}
  to {opacity: 1}
}

.testimonial-content {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  margin-bottom: 20px;
}

.quote-icon {
  font-family: 'Georgia', serif;
  font-size: 80px;
  color: rgba(197, 160, 89, 0.2);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  border: 2px solid #c5a059;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h4 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #c5a059;
  margin: 0 0 5px 0;
}

.author-details p {
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #e0e0e0;
  margin: 0;
}

/* Slider Navigation */
.slider-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.nav-button {
  background: transparent;
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #c5a059;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(197, 160, 89, 0.1);
  border-color: #c5a059;
}

.slider-dots {
  display: flex;
  margin: 0 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.3);
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #c5a059;
  transform: scale(1.2);
}

/* Responsive Styles for Testimonials */
@media (max-width: 991px) {
  .orthodox-testimonials .section-heading h2 {
    font-size: 36px;
  }
  
  .testimonial-content {
    padding: 30px;
  }
}

@media (max-width: 767px) {
  .orthodox-testimonials {
    padding: 60px 0;
  }
  
  .orthodox-testimonials .section-heading h2 {
    font-size: 32px;
  }
  
  .testimonial-text {
    font-size: 16px;
  }
  
  .testimonial-content {
    padding: 30px 20px;
  }
  
  .quote-icon {
    font-size: 60px;
    top: 5px;
    left: 10px;
  }
}

@media (max-width: 480px) {
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .author-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}

/* Orthodox Portfolio Section Styles */
.orthodox-portfolio {
  padding: 80px 0;
  background-color: #f1ece3;
  position: relative;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Section Heading Styles for Portfolio */
.orthodox-portfolio .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.orthodox-portfolio .section-heading h2 {
  font-family: 'Times New Roman', serif;
  font-size: 42px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.orthodox-portfolio .heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.orthodox-portfolio .ornament-line {
  height: 1px;
  width: 100px;
  background-color: #c5a059;
}

.orthodox-portfolio .ornament-symbol {
  margin: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orthodox-portfolio .ornament-image {
  width: 28px;
  height: auto;
}

.orthodox-portfolio .section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 20px;
  margin-bottom: 50px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.large-item {
  grid-column: span 2;
  grid-row: span 2;
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

/* Portfolio Overlay */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.05);
}

.overlay-content {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}

.portfolio-item:hover .overlay-content {
  transform: translateY(0);
}

.overlay-content h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #c5a059;
  margin-bottom: 10px;
}

.overlay-content p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.view-work {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #c5a059;
  padding: 8px 15px;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.view-work:hover {
  background-color: #c5a059;
  color: #1b1b1b;
}

/* View All Works Button */
.view-all-container {
  text-align: center;
  margin-top: 40px;
}

.view-all-button {
  display: inline-flex;
  align-items: center;
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #333;
  text-decoration: none;
  background-color: transparent;
  border: 2px solid #c5a059;
  padding: 12px 30px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.button-icon {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.view-all-button:hover {
  background-color: #c5a059;
  color: #fff;
}

.view-all-button:hover .button-icon {
  transform: translateX(5px);
}

/* Responsive Styles for Portfolio */
@media (max-width: 991px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .orthodox-portfolio .section-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .orthodox-portfolio {
    padding: 60px 0;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .large-item {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .orthodox-portfolio .section-heading h2 {
    font-size: 32px;
  }
  
  .orthodox-portfolio .section-subtitle {
    font-size: 16px;
  }
  
  .overlay-content h3 {
    font-size: 20px;
  }
}

/* Orthodox Contact Section Styles */
.orthodox-contact {
  padding: 80px 0;
  background-color: #1b1b1b;
  color: #e0e0e0;
  position: relative;
  overflow: hidden;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

/* Decorative Elements */
.orthodox-contact .decorative-icon {
  position: absolute;
  font-size: 80px;
  color: rgba(197, 160, 89, 0.05);
  z-index: 1;
}

.orthodox-contact .top-left {
  top: -20px;
  left: 0;
}

.orthodox-contact .bottom-right {
  bottom: -20px;
  right: 0;
}

/* Contact Section Heading Styles */
.orthodox-contact .section-heading {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.orthodox-contact .section-heading h2 {
  font-family: 'Times New Roman', serif;
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.orthodox-contact .heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.orthodox-contact .ornament-line {
  height: 1px;
  width: 100px;
  background-color: #c5a059;
}

.orthodox-contact .ornament-symbol {
  font-size: 24px;
  color: #c5a059;
  margin: 0 15px;
}

.orthodox-contact .section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #e0e0e0;
  max-width: 700px;
  margin: 0 auto;
}

/* Contact Content */
.orthodox-contact .contact-content {
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}

/* Contact Information */
.orthodox-contact .contact-info {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.orthodox-contact .info-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 6px;
  padding: 25px;
  transition: all 0.3s ease;
}

.orthodox-contact .info-card:hover {
  border-color: rgba(197, 160, 89, 0.5);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.orthodox-contact .info-card h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #c5a059;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 10px;
}

.orthodox-contact .info-card p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.orthodox-contact .info-card p:last-child {
  margin-bottom: 0;
}

.orthodox-contact .info-card .note {
  font-style: italic;
  font-size: 14px;
  color: #aaa;
  margin-top: 10px;
}

/* Icons */
.orthodox-contact .info-card i {
  margin-right: 10px;
  color: #c5a059;
  font-style: normal;
}

/* Social Icons */
.orthodox-contact .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.orthodox-contact .social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5a059;
  text-decoration: none;
  transition: all 0.3s ease;
  font-style: normal;
}

.orthodox-contact .social-icon:hover {
  background-color: #c5a059;
  color: #1b1b1b;
  transform: translateY(-3px);
}

/* Contact Form */
.orthodox-contact .contact-form-container {
  flex: 1.3;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 8px;
  padding: 30px;
}

.orthodox-contact .form-header {
  margin-bottom: 25px;
}

.orthodox-contact .form-header h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #c5a059;
  margin-bottom: 10px;
}

.orthodox-contact .form-header p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.5;
  color: #e0e0e0;
}

.orthodox-contact .contact-form {
  display: flex;
  flex-direction: column;
}

.orthodox-contact .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.orthodox-contact .form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-bottom: 20px;
}

.orthodox-contact .form-row .form-group {
  margin-bottom: 0;
}

.orthodox-contact label {
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #c5a059;
  margin-bottom: 8px;
}

.orthodox-contact input, 
.orthodox-contact select, 
.orthodox-contact textarea {
  padding: 12px 15px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.05);
  color: #e0e0e0;
  font-family: 'Georgia', serif;
  font-size: 15px;
  transition: all 0.3s ease;
}

.orthodox-contact input:focus, 
.orthodox-contact select:focus, 
.orthodox-contact textarea:focus {
  outline: none;
  border-color: #c5a059;
  background-color: rgba(255, 255, 255, 0.1);
}

.orthodox-contact select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23c5a059' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 30px;
}

.orthodox-contact .form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.orthodox-contact .submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background-color: transparent;
  border: 2px solid #c5a059;
  color: #c5a059;
  font-family: 'Georgia', serif;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.orthodox-contact .submit-button span {
  margin-right: 10px;
}

.orthodox-contact .icon-send {
  transition: transform 0.3s ease;
  font-style: normal;
}

.orthodox-contact .submit-button:hover {
  background-color: #c5a059;
  color: #1b1b1b;
}

.orthodox-contact .submit-button:hover .icon-send {
  transform: translateX(5px);
}

.orthodox-contact .success-message {
  text-align: center;
  padding: 30px;
}

.orthodox-contact .success-icon {
  margin: 0 auto 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #c5a059;
  color: #1b1b1b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.orthodox-contact .success-message h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #c5a059;
  margin-bottom: 15px;
}

.orthodox-contact .success-message p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #e0e0e0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .orthodox-contact .contact-content {
    flex-direction: column;
  }
  
  .orthodox-contact .section-heading h2 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .orthodox-contact {
    padding: 60px 0;
  }
  
  .orthodox-contact .contact-info {
    grid-template-columns: 1fr;
  }
  
  .orthodox-contact .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .orthodox-contact .form-row .form-group {
    margin-bottom: 0;
  }
  
  .orthodox-contact .section-heading h2 {
    font-size: 32px;
  }
  
  .orthodox-contact .section-subtitle {
    font-size: 16px;
  }
}

/* About Page Styles */
  
/* Hero Section */
.about-hero-section {
  position: relative;
  background: url('media/Pantokrator, Vavedenje na Senjaku.webp') no-repeat center center/cover;
  padding: 180px 20px 100px;
  text-align: center;
  color: #fff;
  margin-top: -60px; /* Povlači hero sekciju gore iza headera */
  padding-top: 120px; /* Dodaje padding da kompenzuje negativnu marginu */
}

.about-hero-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 20px; /* Smanjio sam padding-top sa 140px na 60px */
  animation: fadeIn 2s ease-in-out;
}

.about-hero-content h1 {
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.about-hero-content .ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.about-hero-content .ornament-divider:before,
.about-hero-content .ornament-divider:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #c5a059;
  margin: 0 20px;
}

.about-hero-content .ornament-divider span {
  font-size: 28px;
  color: #c5a059;
}

.about-hero-content .subtitle {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 20px 0;
  color: #e0e0e0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* About Sections Common Styles */
.about-section {
  padding: 80px 0;
  position: relative;
  background-color: #fff;
}

.light-section {
  background-color: #f8f5f0;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-section .section-heading {
  text-align: center;
  margin-bottom: 60px;
}

.about-section .section-heading h2 {
  font-family: 'Times New Roman', serif;
  font-size: 42px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 1px;
}

.about-section .heading-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
}

.about-section .ornament-line {
  height: 1px;
  width: 100px;
  background-color: #c5a059;
}

.about-section .ornament-symbol {
  font-size: 24px;
  color: #c5a059;
  margin: 0 15px;
}

.about-section .section-subtitle {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Story Content */
.story-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

.story-image {
  position: relative;
}

.story-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 14px;
  color: #777;
  text-align: center;
  margin-top: 15px;
}

.story-text {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.emphasized {
  font-size: 18px;
  color: #333;
  line-height: 1.8;
  border-left: 3px solid #c5a059;
  padding-left: 20px;
  margin-bottom: 25px;
}

.story-text p {
  margin-bottom: 20px;
}

blockquote {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  border-left: 5px solid #c5a059;
  padding: 20px 0 20px 30px;
  margin: 30px 0;
}

blockquote cite {
  display: block;
  font-size: 16px;
  margin-top: 10px;
  color: #777;
}

/* Mission Content */
.mission-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mission-text {
  text-align: center;
  margin-bottom: 40px;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.mission-pillar {
  background-color: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: left;
  border-top: 3px solid #c5a059;
}

.mission-pillar h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
}

.mission-pillar p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.team-member {
  display: flex;
  flex-direction: column;
}

.member-image {
  margin-bottom: 20px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.03);
}

.member-info {
  flex: 1;
}

.member-info h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 5px;
}

.member-title {
  font-family: 'Georgia', serif;
  font-style: italic;
  font-size: 16px;
  color: #c5a059;
  margin-bottom: 15px;
}

.member-info p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Process Steps */
.process-steps {
  max-width: 900px;
  margin: 0 auto;
}

.process-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.process-step:not(:last-child):after {
  content: '';
  position: absolute;
  top: 70px;
  left: 30px;
  height: calc(100% - 30px);
  width: 1px;
  background-color: rgba(197, 160, 89, 0.3);
  z-index: 1;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #c5a059;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Times New Roman', serif;
  font-size: 26px;
  margin-right: 30px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.step-content {
  flex: 1;
  padding-top: 10px;
}

.step-content h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #333;
  margin-bottom: 10px;
}

.step-content p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

/* Recognition Section */
.recognition-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  align-items: start;
}

.achievements {
  margin-top: 30px;
}

.achievement {
  display: flex;
  margin-bottom: 25px;
}

.achievement-icon {
  font-size: 30px;
  margin-right: 20px;
  color: #c5a059;
}

.achievement-detail h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 5px;
}

.achievement-detail p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #666;
}

.recognition-image {
  position: relative;
}

.recognition-image img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles for About Page */
@media (max-width: 991px) {
  .story-content,
  .recognition-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .mission-pillars {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-section .section-heading h2 {
    font-size: 36px;
  }
  
  .about-hero-content h1 {
    font-size: 48px;
  }
}

@media (max-width: 767px) {
  .about-section {
    padding: 60px 0;
  }
  
  .process-step {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .step-number {
    margin-bottom: 15px;
    margin-right: 0;
  }
  
  .process-step:not(:last-child):after {
    display: none;
  }
  
  .about-hero-content h1 {
    font-size: 40px;
  }
  
  .about-hero-content .subtitle {
    font-size: 18px;
  }
  
  .about-section .section-heading h2 {
    font-size: 32px;
  }
  
  .emphasized {
    font-size: 17px;
  }
  
  blockquote {
    font-size: 18px;
    padding-left: 20px;
  }
}

/* Active Navigation Link */
.nav-menu li a.active,
.mobile-menu ul li a.active {
  color: #c5a059;
}

/* Removed cross symbol for active menu items, keeping it only for hover */
/* .nav-menu li a.active::after {
  content: "☦";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%) scale(1);
  color: #c5a059;
  opacity: 1;
} */

/* Services Page Styles */
  
/* Hero Section */
.services-hero-section {
  position: relative;
  background: url('media/Kripta-Hrama-2-scaled.webp') no-repeat center center/cover;
  padding: 200px 20px 120px;
  text-align: center;
  color: #fff;
  margin-top: -60px; /* Povlači hero sekciju gore iza headera */
  padding-top: 120px; /* Dodaje padding da kompenzuje negativnu marginu */
}

.services-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%) !important;
  z-index: 1;
}

.services-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 20px; /* Smanjio sam padding-top sa 140px na 60px */
  animation: fadeIn 2s ease-in-out;
}

.services-hero-content h1 {
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.services-hero-content .ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.services-hero-content .ornament-divider:before,
.services-hero-content .ornament-divider:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #c5a059;
  margin: 0 20px;
}

.services-hero-content .ornament-divider span {
  font-size: 28px;
  color: #c5a059;
}

.services-hero-content .subtitle {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 20px 0;
  color: #e0e0e0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Services Container */
.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
  
/* Intro Section */
.services-intro-section {
  background-color: #1b1b1b;
  padding: 40px 0;
  color: #e0e0e0;
  border-bottom: 2px solid #c5a059;
}
  
.intro-text {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
  
/* Main Services Section */
.services-main-section {
  padding: 60px 0;
  background-color: #f8f5f0;
}
  
/* Service Item */
.service-item {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 80px;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}
  
.service-item:last-child {
  margin-bottom: 0;
}
  
.service-image {
  height: 100%;
}
  
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
  
.service-content {
  padding: 40px;
}
  
.service-title {
  font-family: 'Times New Roman', serif;
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 400;
}
  
.small-divider {
  width: 80px;
  height: 2px;
  background-color: #c5a059;
  margin-bottom: 20px;
}
  
.service-description {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}
  
.service-description p {
  margin-bottom: 20px;
}
  
.service-description h3 {
  font-family: 'Georgia', serif;
  font-size: 20px;
  color: #333;
  margin: 25px 0 15px;
  font-weight: 600;
}
  
.service-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 20px 0;
}
  
.service-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}
  
.service-list li:before {
  content: "✓";
  color: #c5a059;
  position: absolute;
  left: 0;
  top: 0;
}
  
.service-process {
  background-color: rgba(197, 160, 89, 0.05);
  padding: 20px;
  border-radius: 4px;
  margin: 25px 0;
  border-left: 3px solid #c5a059;
}
  
.service-process h3 {
  margin-top: 0;
}
  
.service-process ol {
  padding-left: 20px;
  margin-bottom: 0;
}
  
.service-process li {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
}
  
.service-cta {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: transparent;
  border: 2px solid #c5a059;
  color: #333;
  font-family: 'Georgia', serif;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
  
.service-cta:hover {
  background-color: #c5a059;
  color: #fff;
}
  
/* Workshop Schedule */
.workshop-schedule {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
  
.workshop-schedule li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #555;
}
  
.workshop-schedule li:last-child {
  border-bottom: none;
}
  
/* Pricing Section */
.pricing-section {
  padding: 60px 0;
  background-color: #1b1b1b;
  color: #fff;
}
  
.pricing-content {
  text-align: center;
}
  
.pricing-content h2 {
  font-family: 'Times New Roman', serif;
  font-size: 36px;
  color: #fff;
  margin-bottom: 20px;
  font-weight: 400;
}
  
.pricing-content > p {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #e0e0e0;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}
  
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}
  
.pricing-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 6px;
  padding: 25px;
  transition: all 0.3s ease;
}
  
.pricing-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #c5a059;
}
  
.pricing-item h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #c5a059;
  margin-bottom: 15px;
}
  
.pricing-item p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #e0e0e0;
  line-height: 1.7;
}
  
.pricing-note {
  font-style: italic;
  font-size: 16px !important;
  color: #aaa !important;
  margin-top: 20px !important;
}
  
/* CTA Section */
.services-cta-section {
  padding: 60px 0;
  background-color: #f8f5f0;
  text-align: center;
}
  
.cta-content {
  max-width: 800px;
  margin: 0 auto;
}
  
.cta-content h2 {
  font-family: 'Times New Roman', serif;
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
}


  
.cta-content p {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}
  
.cta-button {
  display: inline-block;
  padding: 14px 30px;
  background-color: transparent;
  border: 2px solid #c5a059;
  color: #333;
  font-family: 'Georgia', serif;
  font-size: 16px;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s ease;
}
  
.cta-button:hover {
  background-color: #c5a059;
  color: #fff;
}
  
/* Responsive Styles for Services Page */
@media (max-width: 991px) {
  .services-hero-content h1 {
    font-size: 48px;
  }
    
  .services-hero-content .subtitle {
    font-size: 20px;
  }
    
  .service-item {
    grid-template-columns: 1fr;
  }
    
  .service-image {
    height: 300px;
  }
    
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
    
  .pricing-item {
    padding: 20px;
  }
}
  
@media (max-width: 767px) {
  .services-hero-content h1 {
    font-size: 40px;
  }
    
  .services-hero-content .subtitle {
    font-size: 18px;
  }
    
  .service-content {
    padding: 30px 20px;
  }
    
  .service-title {
    font-size: 28px;
  }
    
  .pricing-grid {
    grid-template-columns: 1fr;
  }
    
  .cta-content h2 {
    font-size: 30px;
  }
    
  .cta-content p {
    font-size: 16px;
  }
} 

/* Gallery Page Styles */
  
/* Hero Section */
.gallery-hero-section {
  position: relative;
  background: url('media/Oltarska-apsida-detalj-Crkva-Sv.-Ap.-Mateja-u-Surcinu-scaled.webp') no-repeat center center/cover;
  padding: 200px 20px 120px;
  text-align: center;
  color: #fff;
  margin-top: -60px; /* Povlači hero sekciju gore iza headera */
  padding-top: 120px; /* Dodaje padding da kompenzuje negativnu marginu */
}

.gallery-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%) !important;
  z-index: 1;
}

.gallery-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 20px; /* Smanjio sam padding-top sa 140px na 60px */
  animation: fadeIn 2s ease-in-out;
}

.gallery-hero-content h1 {
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.gallery-hero-content .ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.gallery-hero-content .ornament-divider:before,
.gallery-hero-content .ornament-divider:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #c5a059;
  margin: 0 20px;
}

.gallery-hero-content .ornament-divider span {
  font-size: 28px;
  color: #c5a059;
}

.gallery-hero-content .subtitle {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 20px 0;
  color: #e0e0e0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Filter Controls */
.gallery-filter-section {
  background-color: #1b1b1b;
  padding: 20px 0;
  position: sticky;
  top: 80px; /* Adjust based on your header height */
  z-index: 900;
  border-bottom: 2px solid #c5a059;
}
  
.gallery-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
  
.filter-controls {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}  
  
.filter-button {
  padding: 10px 20px;
  background-color: transparent;
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #e0e0e0;
  font-family: 'Georgia', serif;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 4px;
}
  
.filter-button:hover {
  background-color: #a3824b;
  color: #fff;
}
  
.filter-button.active {
  background-color: #c5a059;
  color: #1b1b1b;
  border-color: #c5a059;
}
  
/* Gallery Grid */
.gallery-main-section {
  padding: 60px 0;
  background-color: #f8f5f0;
}
  
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}
  
.gallery-item {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  transition: all 0.3s ease;
}
  
.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}
  
.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
}
  
.gallery-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
  
.gallery-item:hover .gallery-image img {
  transform: scale(1.05);
}
  
/* Gallery Overlay */
.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
  
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
  
.overlay-content {
  text-align: center;
  padding: 20px;
  transform: translateY(20px);
  transition: transform 0.4s ease;
}
  
.gallery-item:hover .overlay-content {
  transform: translateY(0);
}
  
.overlay-content h3 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  color: #c5a059;
  margin-bottom: 10px;
}
  
.overlay-content p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 20px;
}
  
.view-details {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #fff;
  text-decoration: none;
  border: 1px solid #c5a059;
  padding: 8px 15px;
  border-radius: 3px;
  transition: all 0.3s ease;
}
  
.view-details:hover {
  background-color: #a3824b;
  color: #fff;
  transform: translateY(-3px);
}
  
/* Gallery Modal */
.gallery-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  transition: opacity 0.3s ease;
}
  
.gallery-modal.active {
  display: block;
  opacity: 1;
}
  
.modal-content {
  position: relative;
  max-width: 1000px;
  margin: 40px auto;
  width: 90%;
  background-color: #f8f5f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
  animation: modalFadeIn 0.4s ease;
}
  
@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
  
.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}
  
.close-modal:hover {
  background-color: rgba(197, 160, 89, 0.3);
  color: #c5a059;
}
  
.modal-body {
  display: flex;
  flex-direction: column;
}
  
.modal-image {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1b1b1b;
}
  
.modal-image img {
  max-width: 100%;
  max-height: 70vh;
  display: block;
}
  
.modal-details {
  padding: 30px;
}
  
.modal-details h2 {
  font-family: 'Georgia', serif;
  font-size: 28px;
  color: #333;
  margin-bottom: 15px;
}
  
.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}
  
.modal-meta p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #777;
}
  
.modal-divider {
  display: flex;
  align-items: center;
  margin: 15px 0;
}
  
.divider-line {
  height: 1px;
  flex-grow: 1;
  background-color: rgba(197, 160, 89, 0.3);
}
  
.divider-symbol {
  font-size: 18px;
  color: #c5a059;
  margin: 0 15px;
}
  
.modal-description {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
  
/* Modal Navigation */
.modal-navigation {
  display: flex;
  justify-content: space-between;
  padding: 0 30px 30px;
}
  
.nav-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.5);
  color: #c5a059;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
  
.nav-button:hover {
  background-color: #c5a059;
  color: #fff;
}
  
/* Responsive Styles for Gallery */
@media (max-width: 767px) {
  .gallery-hero-content h1 {
    font-size: 40px;
  }
    
  .gallery-hero-content .subtitle {
    font-size: 18px;
  }
    
  /* Promenjeni stilovi za filter dugmad - umesto vertikalnog prikaza, sada će biti horizontalni */
  .filter-controls {
    flex-direction: row; /* Umesto column */
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; /* Dozvoljava prelom u novi red ako je potrebno */
  }
    
  .filter-button {
    width: auto; /* Umesto fiksne širine od 200px */
    text-align: center;
    padding: 8px 15px; /* Malo manji padding za mobilne uređaje */
    font-size: 14px; /* Manji font za mobilne uređaje */
    white-space: nowrap; /* Sprečava prelom teksta unutar dugmeta */
  }
    
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
  }
    
  .overlay-content h3 {
    font-size: 18px;
  }
    
  .overlay-content p {
    font-size: 14px;
  }
    
  .modal-meta {
    flex-direction: column;
    gap: 10px;
  }
    
  .modal-details h2 {
    font-size: 24px;
  }
}
  
/* Za ekstra mala mobilna prikazivanja, možemo dodatno smanjiti razmak između dugmadi */
@media (max-width: 480px) {
  .filter-controls {
    gap: 8px; /* Manji razmak između dugmadi */
  }
    
  .filter-button {
    padding: 6px 12px; /* Još manji padding za vrlo male ekrane */
    font-size: 13px; /* Još manji font za vrlo male ekrane */
  }
}

/* ===== PORTFOLIO PAGE STYLES ===== */

/* Hero Section */
.portfolio-hero-section {
  position: relative;
  background: url('media/Crkva-Save-u-Parizu-scaled.webp') no-repeat center center/cover;
  padding: 180px 20px 100px;
  text-align: center;
  color: #fff;
  margin-top: -60px; /* Povlači hero sekciju gore iza headera */
  padding-top: 120px; /* Dodaje padding da kompenzuje negativnu marginu */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%) !important;
  z-index: 1;
}

.portfolio-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 20px; /* Smanjio sam padding-top sa 140px na 60px */
  animation: fadeIn 2s ease-in-out;
}

.portfolio-hero-content h1 {
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.ornament-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto;
  width: 60%;
  position: relative;
}

.ornament-divider:before,
.ornament-divider:after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: #c5a059;
  margin: 0 20px;
}

.ornament-divider span {
  font-size: 28px;
  color: #c5a059;
}

.subtitle {
  font-family: 'Georgia', serif;
  font-size: 22px;
  font-weight: 400;
  margin: 20px 0;
  color: #e0e0e0;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Portfolio Container */
.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Intro Section */
.portfolio-intro-section {
  background-color: #1b1b1b;
  padding: 40px 0;
  color: #e0e0e0;
  border-bottom: 2px solid #c5a059;
}

.intro-text {
  font-family: 'Georgia', serif;
  font-size: 18px;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Main Portfolio Section */
.portfolio-main-section {
  padding: 60px 0;
  background-color: #f8f5f0;
}

/* Portfolio Project */
.portfolio-project {
  margin-bottom: 80px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid rgba(197, 160, 89, 0.1);
}

.portfolio-project:last-child {
  margin-bottom: 0;
}

/* Project Header */
.project-header {
  padding: 30px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.project-title {
  font-family: 'Times New Roman', serif;
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 400;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.project-meta span {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #777;
  display: flex;
  align-items: center;
}

.location:before {
  content: "📍";
  margin-right: 8px;
}

.project-type:before {
  content: "🎨";
  margin-right: 8px;
}

.year:before {
  content: "📅";
  margin-right: 8px;
}

/* Project Gallery */
.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 10px;
}

.main-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  border-radius: 4px;
}

.main-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.main-image:hover img {
  transform: scale(1.03);
}

.secondary-images {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.secondary-image {
  overflow: hidden;
  border-radius: 4px;
}

.secondary-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.secondary-image:hover img {
  transform: scale(1.05);
}

/* Project Content */
.project-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  padding: 30px;
}

.project-description {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}

.project-description p {
  margin-bottom: 20px;
}

.project-description p:last-child {
  margin-bottom: 0;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.detail-item {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-item h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #c5a059;
  margin-bottom: 10px;
}

.detail-item ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.detail-item li {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.detail-item li:before {
  content: "•";
  color: #c5a059;
  position: absolute;
  left: 0;
  top: 0;
}

.detail-item p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
}

.project-link {
  display: inline-block;
  font-family: 'Georgia', serif;
  font-size: 14px;
  color: #c5a059;
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
}

.project-link:after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #c5a059;
  transition: all 0.3s ease;
}

.project-link:hover {
  color: #b48d49;
}

.project-link:hover:after {
  width: 100%;
}

/* Contact CTA Section */
.contact-cta-section {
  padding: 60px 0;
  background-color: #1b1b1b;
  color: #fff;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Portfolio-specific CTA text color */
.portfolio-cta-text {
  color: #fff !important;
}

.cta-button:hover {
  background-color: #c5a059;
  color: #1b1b1b;
}

/* Responsive Styles for Portfolio */
@media (max-width: 991px) {
  .portfolio-hero-content h1 {
    font-size: 48px;
  }
  
  .subtitle {
    font-size: 20px;
  }
  
  .project-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .secondary-images {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .project-title {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .portfolio-hero-content h1 {
    font-size: 40px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .project-meta {
    flex-direction: column;
    gap: 10px;
  }
  
  .project-header, 
  .project-content {
    padding: 20px;
  }
  
  .cta-content h2 {
    font-size: 30px;
  }
  
  .cta-content p {
    font-size: 16px;
  }
}

/* ===== CONTACT PAGE STYLES ===== */

/* Hero Section */
.contact-hero-section {
  position: relative;
  background: url('media/Kripta-Hrama-2-scaled.webp') no-repeat center center/cover;
  padding: 200px 20px 120px;
  text-align: center;
  color: #fff;
  margin-top: -60px; /* Pulls hero section up behind header */
  padding-top: 120px; /* Adds padding to compensate for negative margin */
}

.contact-hero-section .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%) !important;
  z-index: 1;
}

.contact-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 20px;
  animation: fadeIn 2s ease-in-out;
}

.contact-hero-content h1 {
  font-family: 'Times New Roman', serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 20px;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.ornament-divider.small {
  width: 40%;
}

.ornament-divider.small span {
  font-size: 20px;
}

/* Contact Container */
.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contact Main Section */
.contact-main-section {
  padding: 60px 0;
  background-color: #f8f5f0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Contact Information */
.contact-info {
  flex: 1;
}
.info-card {
  background-color: #1b1b1b;
  border-radius: 8px;
  padding: 30px 40px;
  color: #e0e0e0;
  min-width: auto;
  height: 100%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.info-card:before {
  content: "☦";
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-size: 160px;
  color: rgba(197, 160, 89, 0.05);
  line-height: 1;
}

.info-card h2 {
  font-family: 'Times New Roman', serif;
  font-size: 30px;
  color: #c5a059;
  margin-bottom: 12px;
  font-weight: 400;
}

.studio-description {
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.6;
  color: #aaa;
  margin-bottom: 18px;
}

.info-divider {
  height: 1px;
  background-color: rgba(197, 160, 89, 0.3);
  margin: 18px 0;
}

.info-item {
  display: flex;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

.info-icon {
  font-size: 22px;
  color: #c5a059;
  margin-right: 15px;
  flex-shrink: 0;
  width: 30px;
  text-align: center;
}

.info-text {
  flex: 1;
}

.info-text h3 {
  font-family: 'Georgia', serif;
  font-size: 17px;
  color: #c5a059;
  margin-bottom: 4px;
  font-weight: 400;
}

.info-text p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 5px;
}

.info-text .note {
  font-size: 14px;
  font-style: italic;
  color: #888;
}

/* Social Links */
.social-links {
  margin-top: 20px;
  position: relative;
  z-index: 1;
}

.social-links h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #c5a059;
  margin-bottom: 12px;
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(197, 160, 89, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5a059;
  text-decoration: none;
  transition: all 0.3s ease;
  font-style: normal;
}

.social-icon:hover {
  background-color: #c5a059;
  color: #1b1b1b;
  transform: translateY(-3px);
}

/* Contact Form */
.form-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.form-card h2 {
  font-family: 'Times New Roman', serif;
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 400;
}

.form-intro {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  margin-bottom: 25px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #555;
  margin-bottom: 8px;
}

input, select, textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Georgia', serif;
  font-size: 15px;
  color: #333;
  transition: all 0.3s ease;
}

textarea {
  resize: vertical;
  min-height: 120px;
  max-height: 200px;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #c5a059;
  box-shadow: 0 0 5px rgba(197, 160, 89, 0.2);
}

.checkbox-row {
  margin-top: 10px;
}

.checkbox-group {
  display: flex;
  align-items: center;
}

.checkbox-group input {
  margin-right: 10px;
  width: auto;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 14px;
}

.submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background-color: #1b1b1b;
  border: none;
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-button span {
  margin-right: 10px;
}

.button-icon {
  transition: transform 0.3s ease;
  font-style: normal;
}

.submit-button:hover {
  background-color: #c5a059;
}

.submit-button:hover .button-icon {
  transform: translateX(5px);
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 30px;
}

.success-icon {
  margin: 0 auto 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #c5a059;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.success-message h3 {
  font-family: 'Georgia', serif;
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
}

.success-message p {
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #555;
}

/* FAQ Section */
.faq-section {
  padding: 60px 0;
  background-color: #f8f5f0;
  border-top: 1px solid #e5e0d5;
}

.faq-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-content h2 {
  font-family: 'Times New Roman', serif;
  font-size: 36px;
  color: #333;
  margin-bottom: 20px;
  font-weight: 400;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
  text-align: left;
}

.faq-item {
  background-color: #fff;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-top: 3px solid #c5a059;
}

.faq-item h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.faq-item p {
  font-family: 'Georgia', serif;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Responsive Styles for Contact Page */
@media (max-width: 991px) {
  .contact-hero-content h1 {
    font-size: 48px;
  }
  
  .subtitle {
    font-size: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .info-card {
    margin-bottom: 0;
    min-width: auto;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .contact-hero-content h1 {
    font-size: 40px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .info-card, .form-card {
    padding: 30px 20px;
  }
  
  .form-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .submit-button {
    width: 100%;
  }
  
  .faq-content h2 {
    font-size: 32px;
  }
}

/* Portfolio-specific CTA text color */
.portfolio-cta-text {
  color: #fff !important;
}

/* Portfolio-specific button style */
.portfolio-cta-button {
  color: #fff !important;
  border-color: #c5a059;
}

.portfolio-cta-button:hover {
  background-color: #c5a059;
  color: #1b1b1b !important;
}

.cta-button:hover {
  background-color: #c5a059;
  color: #1b1b1b;
}

/* Process Contact Section */
.process-contact {
  margin-top: 40px;
  text-align: center;
}

.process-contact .cta-highlight-box {
  background-color: #1b1b1b;
  border: 2px solid #c5a059;
  border-radius: 8px;
  padding: 25px 30px;
  margin: 30px auto;
  max-width: 90%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  animation: highlightPulse 3s infinite alternate;
}

.process-contact .cta-highlight-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background-color: #c5a059;
}

.process-contact .cta-highlight-box p {
  font-family: 'Georgia', serif;
  font-size: 20px !important;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}

.highlight-link {
  color: #c5a059;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.3s ease;
  position: relative;
  padding: 0 2px;
}

.highlight-link:hover {
  color: #d6b06a;
  text-decoration: none;
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #c5a059;
  }
  100% {
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.4);
    border-color: #d6b06a;
  }
}

/* Media queries for process-contact */
@media (max-width: 767px) {
  .process-contact .cta-highlight-box {
    padding: 20px;
  }
  
  .process-contact .cta-highlight-box p {
    font-size: 18px !important;
  }
}