@import "./slavonic-fonts-helper.css";
@import "./slavonic.css";

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

/* 1. Grid Area Definitions */
.grid-container {
  display: grid;
  min-height: 100vh;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: 
    "header"
    "main"
    "footer";
}

.header  { grid-area: header; }
.content { grid-area: main; }
.footer  { grid-area: footer; }

/* 2. Header Layout */
.header {
  display: flex;
  justify-content: space-between;
  align-items: left;
  padding: 1rem 2rem;
  background: white;
  color: #fff;
  position: relative;
}

.top-logo {
    height: fit-content;
    color: #384a78;
    float: left;
    padding: 0%;   
}

.top-logo-text {
  font-size: 1.5rem;
  font-weight: bold;
  float: left;  
}

.sym-blue{
    color: #384a78;
}

/* 3. Navigation Styling */
.nav a {
  color: #384a78;
  margin-left: 1.5rem;
  text-decoration: none;
}

/* Hide toggle checkbox */
.menu-toggle {
  display: none;
}

/* Hide hamburger icon by default (Desktop view) */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #384a78;
  transition: 0.3s;
}

/* 4. Page Content & Footer layout */
.content {
  display: grid;  
}

/* ROW 1 needed a calendar row at the bottom, grid template rows creates
 an inner grid and inner row and auto is the bottom one */
.row1{
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 2rem;
    background-image: url('../images/church_background-wide.avif');
    background-repeat: no-repeat;
    background-color: #374674;  
    /* flex: 0 0 100%; */
}

.inner-calendar-row{
    grid-row:2;
    background-color: hsl(226, 26%, 49%);
    width: 100%;
    height: 400px;
    margin-top: 200px;

    display: flex;
    justify-content: center;
}

.inner-calendar-title {
    color: white;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.contact-area {   
    display: flex;
    gap:10px;
    flex-direction: column;
    float: right;
    align-items: center;
    background-color:#374674;
    width: 400px;   
}

.row2{
    grid-row:2;   
    min-width: 1254px;
    background-color: #374674;
}


.row2-content {
    display: grid;
    background-color: #374674;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;  
}

.row-two-title{
    color: white;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.row-two-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1119px;
    height: 733px;
    margin-bottom: 10px;
}

.row3{
    grid-row:3;    
    min-width: 1254px;
    background-color: #374674;
}

.row3-content {
    display: grid;
    background-color: #374674;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;      
}

.row-three-images{      
    padding: 10px;        
    display: flex;
    margin-left: auto;
    margin-right: auto;  
    margin-bottom: 10px;
}

.clergy {
    padding: 15px;
}

.clergy-text{
    font-size: large;
    font-weight: 600;
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: white;
    text-align: center;
}




.content-gold-title {
    color: #fad68f;
    font-size: x-large;
    font-family: 'Ponomar';
    margin-left: 18%;
    margin-bottom: 10px;
}

.content-gold-text{
    color: #fad68f;
    font-size: x-large;
    font-family: 'Ponomar';
    font-size: x-large;
    
}

.content-gold{
    color: #fad68f;
    font-size: large;    
    font-family: 'Ponomar';
}

.gold {
    color: #d0aa5f;
    
}

.footer {
  display: flex;
  justify-content: center; /* Horizontal centering */
  align-items: center;     /* Vertical centering */ 
  min-width: 1254px;
}

.footer-content{
  /* width: fit-content;
  text-align: center;
  display: flex;
  margin-left: auto;
  margin-right: auto; */

  width: 100vw;              /* Leaves breathing room on mobile margins */
  max-width: 400px;        /* Limits size on larger viewports */
  text-align: center;
margin-left: auto;
    margin-right: auto;  
}

.round-logo{
    height: 120px;
    width: 120px;
    display: block;
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}





/* 5. Responsive Mobile View */
@media (max-width: 768px) {
  .hamburger {
    display: flex; /* Show hamburger on mobile */
  }

  .nav {
    display: none; /* Hide standard nav list */
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .nav a {
    margin: 1rem 0 0 0;
  }

  /* Display menu when checkbox is checked */
  .menu-toggle:checked ~ .nav {
    display: flex;
  }
  
  /* Optional: Morph burger into an 'X' when active */
  .menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  pre {
    font-size: 50px;
  }

  .content-gold{
    color: #fad68f;
    font-size: xx-large;    
    font-family: 'Ponomar';
  }

}


.domes{
  background-color: var(--darkreader-background-00000000, rgba(0, 0, 0, 0));
  background-repeat: no-repeat;
  background-image: url("/public/images/domes.png");
  background-size: auto;
  background-clip: border-box;
}


done-loading #footer {
  background-color: var(--darkreader-background-d4d4d4, #303436);
  background-repeat: repeat;
  background-image: url("/public/images/domes.png");
  background-size: auto;
  background-clip: border-box;
}
.done-loading #footer {
  background: #d4d4d4 url(i/bg-footer.png) repeat scroll center top;
    background-color: rgb(212, 212, 212);
    background-repeat: repeat;
    background-image: url("i/bg-footer.png");
    background-size: auto;
    background-clip: border-box;
}
#footer {
  background-color: var(--darkreader-background-d4d4d4, #303436);
  text-shadow: var(--darkreader-background-ffffff, #181a1b) 0px 1px 0px;
}



.pattern-image{
    width: var(--svg-calculated-width,100%);
  height: var(--svg-calculated-height,100%);
  padding: var(--svg-calculated-padding,0);
  margin: auto;
  position: absolute;
  inset: 0;
}

