/* =========================
   BASE
========================= */
body{
  background-color: #38060b !important;
  color: #fff;
  font-family: "Century Gothic", Arial, sans-serif;
  margin: 0;
}

/* =========================
   SECTIONS
========================= */
.section{
  padding-top: 12px;
  padding-bottom: 12px;
}

/* =========================
   LANGUAGE SWITCHER
========================= */
.lang-container{
  width: 100%;
  padding-top: 16px;
}

.lang-inner{
  width: 60%;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.lang-btn{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  line-height: 1;
  transition: background 0.2s ease;
}

.lang-btn:hover{
  background: rgba(255,255,255,0.18);
}

.lang-btn img{
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}

/* =========================
   LOGO
========================= */
.brand-logo{
  width: clamp(160px, 70vw, 450px);
  height: auto;
  display: block;
  margin-inline: auto;
}


/* =========================
   INTRO TEXT
========================= */
.intro-text{
  max-width: 900px;
  font-size: clamp(14px, 0.9vw, 15px);
  line-height: 1.55;
  color: #ffffff;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* =========================
   NAVIGATION
========================= */
.gap-nav{
  gap: clamp(10px, 2vw, 44px);
}

.navlink-custom{
  color: #fff !important;
  font-weight: 500;
  letter-spacing: clamp(1px, 0.6vw, 7px);
  padding: 8px 0 !important;
  margin: 0 !important;
  white-space: nowrap;
  transition: color .25s ease;
}

.navlink-custom:hover,
.navlink-custom:focus{
  color: #000 !important;
}

/* Dropdown */
.dropdown-menu-darkish{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
}

.dropdown-menu-darkish .dropdown-item{
  color:#fff;
  font-family:"Century Gothic", Arial, sans-serif;
  letter-spacing: 2px;
}

.dropdown-menu-darkish .dropdown-item:hover{
  background: rgba(255,255,255,0.14);
}

/* =========================
   PAGE WIDTH CONTAINER
========================= */
.cont85{
  width: 70% !important;
  margin: 0 auto;
}

/* =========================
   PAINTINGS ROW (SMALL GAP, NOT TOUCHING)
   Add class "paintings-row" to the row that contains the two cols
========================= */
.paintings-row{
  --paint-gap: 14px; /* near each other, not touching */
  margin-left: calc(var(--paint-gap) * -0.5);
  margin-right: calc(var(--paint-gap) * -0.5);
}

.paintings-row > [class*="col-"]{
  padding-left: calc(var(--paint-gap) * 0.5);
  padding-right: calc(var(--paint-gap) * 0.5);
}

/* =========================
   LANDSCAPE FRAMES (NOT PORTRAIT)
   - Use aspect-ratio so it stays landscape on every screen
   - Cap max height so it doesn't become huge
========================= */
.painting-frame{
  width: 100%;
  aspect-ratio: 16 / 9;     /* LANDSCAPE */
  height: auto;       /* your limit */
  overflow: hidden;
  border-radius: 6px;       /* optional */
}

.painting-img{
  width: 90%;
  height: 100%;
  object-fit: fill;        /* fills frame, stays landscape */
  display: block;
}

/* =========================
   RESPONSIVE TUNING
========================= */
@media (max-width: 576px){
  .lang-inner{ width: 90%; 
    justify-content: center !important;}
  .cont85{ width: 92% !important; }
  .paintings-row{ --paint-gap: 10px; }
  .painting-frame{ aspect-ratio: 4 / 3; 
   display: flex;
   justify-content: center;
  margin-top: 20px;
    
  } /* slightly taller for phones */
  .intro-text{
    max-width: 900px;
    font-size: 10px;
    line-height: 1.4;
    color: #ffffff;
    text-align: justify !important;
    hyphens: auto;
    padding-left: 50px;
    padding-right: 50px;
    word-spacing: 2px;
  }
}

@media (min-width: 577px) and (max-width: 992px){
  .lang-inner{ 
    width: 90%; 

  
  }
  .cont85{ width: 92% !important; }
  .paintings-row{ --paint-gap: 12px; }
  .painting-frame{ aspect-ratio: 16 / 10; } /* nice tablet ratio */
    .painting-frame{ aspect-ratio: 16 / 10; 
   display: flex;
   justify-content: center;
  margin-top: 20px;}
  .lang-inner{ width: 90%; 
    justify-content: center !important;}
}

@media (min-width: 993px) and (max-width: 1400px){
  .paintings-row{ --paint-gap: 14px; }
  .painting-frame{ aspect-ratio: 16 / 9; }
}

@media (min-width: 1401px){
  .paintings-row{ --paint-gap: 16px; }
  .painting-frame{ aspect-ratio: 16 / 9; }
}

/* Mobile nav tuning */
@media (max-width: 992px){
  .navlink-custom{ letter-spacing: 2px; }
  .navbar-nav{
    padding-top: 12px;
    padding-bottom: 8px;
  }
}
