/* styles.css */

/* General Styles */

main {
  animation: fadeIn 0.5s ease-in-out;
  width: 100vw;
  height: 100vh;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body {
  margin: 0;
  display: flex;
  background-color: #F8F8F8;
  /* background: linear-gradient(to bottom, #ffffff 0%, #e7e7e7 100%); */
}


.container {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp .8s ease-out;
  overflow: hidden;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

a:visited,
a:link,
a:active {
  text-decoration: underline;
  color: #666;
}

a:hover {
  color: green;
  transition: color 0.3s ease;
}

#name-title{ 
  font-family: "franklin-gothic-atf", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:'franklin-gothic-atf', sans-serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1 {
  margin: 20px 0 16px 0;
  font-size: 52px;
  line-height: 1.1;
}

h2 {
  font-size: 32px;
  margin: 48px 0 12px 0;
  line-height: 1.2;
}

p, body {
  font-weight: 400;
  font-style: normal;
  font-family: 'roboto', sans-serif;
  line-height: 1.6;
}

p.description {
  font-weight: 300;
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
  max-width: 700px;
}

.back a{
  text-decoration: none;
  position: relative;
}

.back a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.back a:hover::after {
    width: 100%;
}

.back a:hover{
  transform: translateY(-3px);
}

.page {
  display: flex;
  flex-direction: column;
  padding: 60px 48px;
  max-width: 1200px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.page-header-title {
  font-family: 'roboto', sans-serif;
  margin: 0 0 10px 0;
}

.page-header-title p {
  color: #666;
  font-size: 15px;
  max-width: 600px;
}

.row {
  display: flex;
  flex-flow: row wrap;
  gap: 24px;
  margin-bottom: 20px;
}

.row img {
  flex: 1;
  min-width: 280px;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.row img:hover{
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.row video{
  flex: 1;
  max-width: 700px;
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/9;
  margin: 0 auto;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

/* Centered Text */

.center-text {
  font-family: 'roboto-extrabold', sans-serif;
  font-weight: 800;
  font-style: normal;
  font-size: 120px;
  margin: 0 0 30px 0;
  text-align: center;
  position: relative;
}

/* Styles for Pictures */

.examples {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  font-family: 'roboto', sans-serif;
  margin-top: 0;
}

/* Lightbox */

.row img:hover {
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
  animation: lightboxFadeIn 0.3s ease;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    animation: lightboxImageZoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes lightboxFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes lightboxImageZoom {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
  position: absolute;
  top: 32px;
  right: 48px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.close:hover {
  opacity: 1;
  transform: rotate(90deg);
}


/* ======== RESPONSIVE STYLES ======== */

/* ——— Large Tablets (992px - 1200px) ——— */
@media (max-width: 1200px) {
  .page {
    padding: 48px 32px;
    max-width: 960px;
  }
  
  h1 {
    font-size: 48px;
  }
  
  h2 {
    font-size: 28px;
  }
}

/* ——— Tablets and below (768px - 992px) ——— */
@media (max-width: 992px) {
  .page {
    padding: 40px 24px;
  }
  
  h1 {
    font-size: 42px;
    margin: 16px 0 12px 0;
  }
  
  h2 {
    font-size: 26px;
    margin: 32px 0 10px 0;
  }
  
  p.description {
    font-size: 14px;
    margin-bottom: 24px;
  }
  
  .row {
    gap: 16px;
  }
  
  .row img {
    min-width: 240px;
  }
  
  .row video {
    max-width: 100%;
  }
  
  .close {
    top: 24px;
    right: 32px;
    font-size: 36px;
  }
}

/* ——— Mobile landscape (481px - 768px) ——— */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  
  .page {
    padding: 32px 20px;
  }
  
  h1 {
    font-size: 36px;
    margin: 12px 0 10px 0;
  }
  
  h2 {
    font-size: 24px;
    margin: 28px 0 8px 0;
  }
  
  p.description {
    font-size: 14px;
    margin-bottom: 20px;
  }
  
  .row {
    gap: 12px;
  }
  
  .row img {
    min-width: 200px;
  }
  
  .row img:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  }
  
  .close {
    top: 20px;
    right: 24px;
    font-size: 32px;
  }
  
  .lightbox-content {
    max-width: 95vw;
    max-height: 85vh;
  }
}

/* ——— Mobile portrait (up to 480px) ——— */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .page {
    padding: 24px 16px;
    margin-bottom: 16px;
  }
  
  h1 {
    font-size: 28px;
    margin: 10px 0 8px 0;
    letter-spacing: -0.02em;
  }
  
  h2 {
    font-size: 20px;
    margin: 24px 0 8px 0;
  }
  
  p {
    line-height: 1.5;
  }
  
  p.description {
    font-size: 13px;
    margin-bottom: 16px;
  }
  
  .back {
    font-size: 12px;
    margin-bottom: 16px;
  }
  
  .row {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .row img {
    width: 100%;
    min-width: unset;
    max-width: 100%;
  }
  
  .row video {
    width: 100%;
    max-width: 100%;
  }
  
  .row img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
  }
  
  .close {
    top: 16px;
    right: 16px;
    font-size: 28px;
  }
  
  .lightbox-content {
    max-width: 98vw;
    max-height: 80vh;
  }
  
  /* Disable complex animations on mobile for performance */
  .row img,
  .row video {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
}

/* ——— Small mobile (up to 360px) ——— */
@media (max-width: 360px) {
  .page {
    padding: 20px 12px;
  }
  
  h1 {
    font-size: 24px;
  }
  
  h2 {
    font-size: 18px;
  }
  
  p.description {
    font-size: 12px;
  }
  
  .back {
    font-size: 11px;
  }
}

/* ——— Safety rules for all screen sizes ——— */
video,
img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ——— Touch device optimizations ——— */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover effects on touch devices */
  .row img:hover {
    transform: none;
    box-shadow: none;
  }
  
  a:hover {
    color: inherit;
  }
  
  /* Larger tap targets for mobile */
  a {
    padding: 4px;
    margin: -4px;
  }
}






/* Fonts

Franklin Gothic ATF Regular
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 400;
font-style: normal;

Franklin Gothic ATF Italic
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 400;
font-style: italic;

Franklin Gothic ATF Black
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 700;
font-style: normal;

Franklin Gothic ATF Black Italic
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 700;
font-style: italic;

Franklin Gothic ATF Thin
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 100;
font-style: normal;

Franklin Gothic Heavy
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 800;
font-style: normal;

Franklin Gothic Thin
font-family: "franklin-gothic-atf", sans-serif;
font-weight: 300;
font-style: normal;


*/

/* Roboto Font Import */


.roboto-thin {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.roboto-extralight {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 200;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.roboto-light {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.roboto-medium {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.roboto-semibold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.roboto-bold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}


.roboto-extrabold {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}

.roboto-black {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-weight: 900;
  font-style: normal;
  font-variation-settings:
    "wdth" 100;
}