/* --------- Base & variables --------- */
:root {
  --gold: #c8a24d;
  --gold-light: #e3d7b3;
  --gold-deep: #7f5f2b;
  --ivory: #faf9f6;
  --charcoal: #2c2c2c;
  --grey: #8c8c8c;
  --teal: #367a7b;

}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  /*top: 0 !important; for google translate top bar*/



  margin: 0;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
}

/* --------- Layout helpers --------- */
.container {
  width: 100%;
  max-width: 1100px;
  padding: 0 1.5rem;
  margin: 0 auto;
}

/* --------- Header / Navigation --------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(87,69,15,0.3); 
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

.brand {
  text-decoration: none;
  color: var(--charcoal);
}

.brand-title {
  display: block;
  font-family: "Merriweather", "Georgia", serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.brand-subtitle {
  display: block;
  font-size: 0.8rem;
  color: var(--grey);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
}

.nav-link {
  text-decoration: none;
  color: var(--charcoal);
  position: relative;
  padding-bottom: 0.25rem;
  font-size: 14px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 4px;
  background: var(--gold);
  transition: width 0.2s ease-out;
}

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

.nav-link.active {
  color: var(--gold-deep);
  font-weight: 600;
}

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

/* --------- Hero section (home) --------- */
.hero {
  background: linear-gradient(
      to right,
      rgba(44, 44, 44, 1),
      rgba(44, 44, 44, 0.25)
    ),
    url("/images/crkva.png") center /cover no-repeat;
  /* Replace hero-placeholder.jpg with a real image if you have one */
    color: white;
    padding: 4.5rem 0 4rem;
    height: 60vh;
 	position: relative;
  	overflow: hidden;

}




.hero-inner {
  max-width: 600px;
}

.hero-title {
  font-family: "Merriweather", "Georgia", serif;
  font-size: clamp(2.2rem, 4vw, 2.7rem);
  margin: 0 0 0.5rem;
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-meta {
  font-size: 0.9rem;
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* --------- Buttons --------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold);
  color: #1d1506;
}

.btn-primary:hover {
  background: var(--gold-deep);
  color: #fdfaf3;
}

.btn-outline {
  border: 1px solid rgba(250, 249, 246, 0.8);
  background: transparent;
  color: white;
}

.btn-outline:hover {
  background: rgba(250, 249, 246, 0.12);
}

/* --------- Generic sections --------- */
.section {
  padding: 3rem 0;
}

.section.alt {
  background: var(--gold-light);
  /* background: url("/images/pravoslavlje_krst.jpg") center /cover no-repeat;*/
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-kicker {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--gold-deep);
}

.section-title {
  font-family: "Merriweather", "Georgia", serif;
  font-size: 1.6rem;
  margin: 0.25rem 0 0.75rem;
}

.section-intro {
  max-width: 650px;
  font-size: 0.95rem;
  color: var(--charcoal);
}

/* --------- Cards (ministries, info) --------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.4rem 1.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.card-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.25rem;
}

.card-title {
  font-family: "Merriweather", "Georgia", serif;
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.card-text {
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* --------- Two-column layout --------- */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2.25rem;
  align-items: flex-start;
}

@media (max-width: 800px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    flex-wrap: wrap;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }
}

/* --------- Lists & typography tweaks --------- */
h1,
h2,
h3 {
  font-family: "Merriweather", "Georgia", serif;
}

.lead {
  font-size: 1rem;
  color: var(--charcoal);
}

.muted {
  color: var(--grey);
  font-size: 0.9rem;
}

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

.info-list li + li {
  margin-top: 0.45rem;
}

/* --------- Contact & footer --------- */
.contact-panel {
  background: #fff;
  border-radius: 1.2rem;
  padding: 1.5rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-row {
  margin-bottom: 1rem;
}

.contact-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey);
}

.contact-value a {
  color: var(--teal);
  text-decoration: none;
}

.contact-value a:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--charcoal);
  /*background: linear-gradient(90deg, #d4af37, #f5d76e, #d4af37);*/
  color: var(--ivory);
  padding: 1.5rem 0 1.8rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links a {
  color: var(--gold-light);
  text-decoration: none;
  margin-right: 1rem;
}

.footer-links a:hover {
  text-decoration: underline;
}
.bg-dark{
    --bs-bg-opacity: 1;
    background-color: rgba(250, 250, 250, 1)!important;
}

.navbar {
    top: 0px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
 	/*background: linear-gradient(90deg, #d4af37, #f5d76e, #d4af37);*/
  	background: rgba(201,195,177,1); !important;


}


.footer-gold {
    /*background: linear-gradient(0deg, #e3d7b3, #e3d7b3, #e3d7b3);*/
  	/* background: linear-gradient(90deg, #d4af37, #f5d76e, #d4af37);
    box-shadow: 0 4px 8px rgba(0,0,0,1);*/

    border-top: 1px solid rgb(158, 158, 158,0.2);
    backdrop-filter: blur(6px);*/

}

.footer-with-image {

  background: linear-gradient(
      to right,
      rgba(44, 44, 44, 1),
      rgba(44, 44, 44, 0.25)
    ),

    color: white;
  background: rgba(201,195,177,1)
}


.myback-img{
  
   background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.5) 0%, /* Start with 50% opaque white at the top */
      rgba(255, 255, 255, 1) 100% /* End with 50% opaque white at the bottom */
    ),
    url("/images/cross.png");
  

  background-repeat: no-repeat; /* Prevents the image from tiling */
  background-position: bottom right; /* Positions the image at the bottom-left corner */
  background-size: auto 40%; /* Sizes the image (e.g., auto width, 70% of div height) */
  
    /* Create the fading effect using a linear gradient overlay */
    /*mask-image: linear-gradient(to top left, black 50%, transparent 100%);*/
    /* Fallback for browsers that do not support mask-image (older browsers) */
   /* -webkit-mask-image: linear-gradient(to top left, black 50%, transparent 100%); 8?


}
  
.slow-blink {
    /* Adjust the duration to control speed 
    animation: blinkMe 4s linear infinite; 
}

@keyframes blinkMe {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
*/
}


.nletter{
  background-color: rgba(0, 0, 0, 0.05);

}

.mysym-img{
  
   background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.5) 0%, /* Start with 50% opaque white at the top */
      rgba(255, 255, 255, 1) 100% /* End with 50% opaque white at the bottom */
    ),
    url("/images/cross.png");
  

  background-repeat: no-repeat; /* Prevents the image from tiling */
  background-position: bottom right; /* Positions the image at the bottom-left corner */
  background-size: auto 40%; /* Sizes the image (e.g., auto width, 70% of div height) */
  
 

}

/* RESPONSIVE STYLING */

/* Default image height for larger screens */
.hero-img {
    height: 480px;
    object-fit: cover; /* Ensures image fills the container without distortion */
    width: 100%;
}

/* Overlay for better text visibility */
#heroCarousel .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.90),
        rgba(0, 0, 0, 0.15)
    );
    z-index: 1;
}

/* Centered caption styling */
#heroCarousel .carousel-caption {
    z-index: 2;
    position: absolute;
    top: 50%; /* Vertically center text */
    left: 50%; /* Horizontally center text */
    transform: translate(-50%, -50%); /* Align to exact center */
    text-align: center;
    color: #fff; /* White text for contrast */
}

/* ------------------------------ */
/* 📱 FULL SCREEN ON MOBILE PHONES */
/* ------------------------------ */
@media (max-width: 768px) {
    .hero-img {
        height: 100vh;           /* Full screen height */
        object-fit: cover;       /* Ensures image covers full screen */
        object-position: center; /* Centers the image */
    }

    /* Ensuring carousel item takes full viewport height */
    #heroCarousel .carousel-item {
        height: 100vh;
    }

    /* Center text on mobile */
    #heroCarousel .carousel-caption {
        top: 50%; /* Vertically center the text */
        transform: translate(-50%, -50%); /* Exactly center the text */
        width: 80%; /* Adjust text box width */
    }

    #heroCarousel .carousel-caption h3 {
        font-size: 2rem; /* Larger text for mobile */
    }

    #heroCarousel .carousel-caption p {
        font-size: 1rem; /* Adjust paragraph size for mobile */
    }

    /* Darker gradient for readability */
    #heroCarousel .overlay {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.75),
            rgba(0, 0, 0, 0.35)
        );
    }
}

/* Extra small screens (phones in portrait mode) */
@media (max-width: 480px) {
    .hero-img {
        height: 100vh;  /* Full screen height */
        object-fit: cover; /* Maintain aspect ratio */
    }

    #heroCarousel .carousel-caption {
        top: 50%; /* Center vertically */
        transform: translate(-50%, -50%);
    }

    #heroCarousel .carousel-caption h3 {
        font-size: 1.3rem;
    }

    #heroCarousel .carousel-caption p {
        font-size: 0.85rem;
    }
}

.childDiv{
   position: absolute;
  top: -35px;
  left: 80%; /* or whatever offset you want */
  width: 300px;
  height: 300px;
  background-image: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0) 0%, /* Start with 50% opaque white at the top */
      rgba(255, 255, 255, 0) 100% /* End with 50% opaque white at the bottom */
    ),
    url("/images/ukras100.png");
      background-repeat: no-repeat; /* Prevents the image from tiling */
  background-position: top left; /* Positions the image at the bottom-left corner */
  background-size: auto 60%; /* Sizes the image (e.g., auto width, 70% of div height) */
  z-index: 0;
}


/* Floating translate button */
#translateToggle {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #007bff;
    color: white;
    padding: 12px 18px;
    font-size: 16px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}
#translateToggle:hover {
    background: #0056c7;
}

/* Hide Google Translate top bar */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
.goog-te-balloon-frame {
    display: none !important;
}

