@import url('https://googleapis.com');

/* General Reset & Styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  width: 100%; 
  font-family: 'Roboto', sans-serif; 
  line-height: 1.6; 
  color: #333; 
  background-color: #999999; 
  text-align: center; 
  overflow-x: hidden; /* Safety anchor: Prevents erratic horizontal layout swaying on swipe */
}

a { 
  text-decoration: none; 
  color: inherit; 
  transition: 0.3s; 
}

h1, h2, h3 { 
  font-family: 'Oswald', sans-serif; 
  font-weight: 700; 
  margin-bottom: 1rem; 
}

/* Navigation System */
nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 5%; 
  background-color: rgba(153, 153, 153, 0.95); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

.logo { 
  font-weight: 700; 
  letter-spacing: 2px; 
  font-size: 1.2rem; 
}

.logo a:hover { 
  border-bottom: 2px solid #0000FF; 
}

.nav-links { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  list-style: none; 
  gap: 15px; 
}

.nav-links a { 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: #222; 
  font-weight: 500; 
}

.nav-links a:hover { 
  color: #000; 
  font-weight: 700; 
  border-bottom: 2px solid #0000FF; 
}

/* Hero Section & Background Alignment */
.hero { 
  display: flex; 
  height: 80vh; /* Scaled down for mobile viewports to keep JPN.jpg contained */
  width: 100%; 
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("images/JPN.jpg"); 
  background-size: contain; 
  background-repeat: no-repeat; 
  background-position: top center; 
  background-attachment: scroll; /* Blocks standard scrolling jitter on iOS engines */
  justify-content: center; 
  align-items: flex-end; /* Aligns content toward bottom to place button in lower 1/3 */
  text-align: center; 
  color: white; 
  position: relative; 
  overflow: hidden; 
}

.hero-content { 
  width: 100%; 
  max-width: 780px; 
  z-index: 5; 
  padding: 0 20px;
  margin-bottom: 1vh; /* Fluid lower-third alignment on narrow heights */
  box-sizing: border-box;
}

.hero-content h1 { 
  font-size: 2rem; 
  letter-spacing: 2px; 
  font-family: 'Oswald', sans-serif; 
}

.hero h2 { 
  font-size: 1.5rem; 
  letter-spacing: 3px; 
  margin-bottom: 0.5rem; 
}

/* Hidden absolute placement image layers breaking viewport bounding limits */
.hero .img1, .hero .img2 { 
  display: none; 
}

.cta-button { 
  display: inline-block; 
  padding: 12px 30px; 
  border: 2px solid #fff; 
  color: #fff; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-size: 1.25rem; 
  font-weight: 400; 
}

.cta-button:hover { 
  background: #fff; 
  color: #000; 
}

/* Section Layout Blocks */
.section-container { 
  padding: 60px 10%; 
  text-align: center; 
  scroll-margin-top: 25px; 
}

.alt-bg { background-color: #CCCCCC; }
.dark-bg { background-color: #222; color: #fff; }

.section-container h2 { 
  font-size: 2.5rem; 
  margin-bottom: 3rem; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
}

/* Video Section */
.video-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
}

.video-item { 
  background: #999; 
  padding: 30px; 
  border-radius: 4px; 
}

video { 
  max-width: 100%; 
  height: auto; 
  margin-bottom: 10px; 
}

/* About Layout Block */
.about-layout { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  max-width: 780px; 
  margin: 0 auto; 
}

.about-text { width: 100%; }
.about-text p { margin-bottom: 1.5rem; }
.about-image { flex: 1; min-width: 200px; }

.about-image img { 
  width: 100%; 
  height: auto; 
  border-radius: 4px; 
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1); 
}

.faq li { 
  margin-bottom: 10px; 
  text-align: left; 
  font-size: 0.9rem; 
}

/* Details/Summary Accordion Component */
.accordion-container { 
  max-width: 100%; 
  margin: 20px auto; 
}

.accordion-item { margin-bottom: 10px; }

.accordion-header { 
  padding: 15px 20px; 
  font-weight: bold; 
  cursor: pointer; 
  background-color: #f9f9f9; 
  display: flex; 
  justify-content: space-between; 
  transition: 0.3s ease; 
}

.accordion-header:hover { background-color: #e0f7fa; }

.accordion-content { 
  padding: 0 20px; 
  background-color: #fff; 
  color: #333; 
  line-height: 1.4; 
  text-align: left; 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.3s ease-out, padding 0.3s ease; 
}

.accordion-item[open] .accordion-header { 
  background-color: #b2ebf2; 
}

.accordion-header .icon { transition: transform 0.3s ease; }
.accordion-item[open] .accordion-header .icon { transform: rotate(45deg); }

.accordion-item[open] .accordion-content { 
  max-height: 500px; 
  padding: 15px 20px; 
}

/* Symmetrical Photos Grid Layout */
.gallery { 
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Clean 3-column layout on standard display wrappers */
  gap: 20px; 
  max-width: 1000px;
  margin: 0 auto;
}

.gallery img { 
  width: 100%; 
  height: auto; 
  aspect-ratio: 2 / 3; /* Locks items into uniform geometric ratios */
  object-fit: cover; 
  filter: grayscale(100%); 
  transition: 0.4s; 
  cursor: pointer; 
}

.gallery img:hover { 
  filter: grayscale(0%); 
  transform: scale(1.02); 
}

/* Contact Block Form */
.contact-wrapper { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 50px; 
  margin-top: 40px; 
  text-align: left; 
}

.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-info a { color: #aaa; border-bottom: 1px solid #aaa; }

.contact-form { 
  display: flex; 
  flex-direction: column; 
  gap: 15px; 
  width: 100%; 
  max-width: 450px; 
}

.contact-form input, .contact-form textarea { 
  padding: 15px; 
  border: none; 
  background: #333; 
  color: #fff; 
  width: 100%; 
}

.contact-form button { 
  padding: 15px; 
  background: #fff; 
  color: #222; 
  border: none; 
  font-weight: 700; 
  cursor: pointer; 
  text-transform: uppercase; 
}

.contact-form button:hover { background: #ccc; }

footer { 
  background: #111; 
  color: #666; 
  padding: 30px; 
  font-size: 0.8rem; 
}

.socials { margin-top: 10px; }
.socials a { margin: 0 10px; color: #888; }

/* Responsive Viewports Adaptation System */
@media (max-width: 768px) { 
  nav { 
    flex-direction: column; 
    gap: 12px; 
    padding: 12px 2%; 
    background-color: #ffffff; 
  } 
  .nav-links { 
    width: 100%; 
    padding: 0; 
  } 
  .nav-links a { 
    font-size: 0.85rem; 
    padding: 6px 10px; 
    display: inline-block; 
    color: #111; 
  } 

  .hero {
    height: 40vh; /* Restores cinematic presentation height rules exclusively for wide screens */
    background-size: contain; 
    background-position: center top;
    background-repeat: no-repeat;
    align-items: flex-end;
  }
  .hero-content {
    width: 100%;
    max-width: 780px;
    z-index: 5;
    padding 0 10px; 
    margin-bottom: 2vh;
    box-sizing: border-box;
  }

  .about-layout { 
    flex-direction: column-reverse; 
  } 
  
  .gallery {
    grid-template-columns: repeat(2, 1fr); 
    gap: 5px;
  }
  
  .section-container { 
    padding: 40px 5%; 
  } 
  
  .section-container h2 { 
    font-size: 2rem; 
    margin-bottom: 2rem; 
  } 
}
[joeswlby@premium357 public_html]$ cat style.css
@import url('https://googleapis.com');

/* General Reset & Styles */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

body { 
  width: 100%; 
  font-family: 'Roboto', sans-serif; 
  line-height: 1.6; 
  color: #333; 
  background-color: #999999; 
  text-align: center; 
  overflow-x: hidden; /* Safety anchor: Prevents erratic horizontal layout swaying on swipe */
}

a { 
  text-decoration: none; 
  color: inherit; 
  transition: 0.3s; 
}

h1, h2, h3 { 
  font-family: 'Oswald', sans-serif; 
  font-weight: 700; 
  margin-bottom: 1rem; 
}

/* Navigation System */
nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 10px 5%; 
  background-color: rgba(153, 153, 153, 0.95); 
  position: sticky; 
  top: 0; 
  z-index: 1000; 
  box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
}

.logo { 
  font-weight: 700; 
  letter-spacing: 2px; 
  font-size: 1.2rem; 
}

.logo a:hover { 
  border-bottom: 2px solid #0000FF; 
}

.nav-links { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  list-style: none; 
  gap: 15px; 
}

.nav-links a { 
  font-size: 0.9rem; 
  text-transform: uppercase; 
  letter-spacing: 1px; 
  color: #222; 
  font-weight: 500; 
}

.nav-links a:hover { 
  color: #000; 
  font-weight: 700; 
  border-bottom: 2px solid #0000FF; 
}

/* Hero Section & Background Alignment */
.hero { 
  display: flex; 
  height: 80vh; /* Scaled down for mobile viewports to keep JPN.jpg contained */
  width: 100%; 
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url("images/JPN.jpg"); 
  background-size: cover; 
  background-repeat: no-repeat; 
  background-position: center center; 
  background-attachment: scroll; /* Blocks standard scrolling jitter on iOS engines */
  justify-content: center; 
  align-items: flex-end; /* Aligns content toward bottom to place button in lower 1/3 */
  text-align: center; 
  color: white; 
  position: relative; 
  overflow: hidden; 
}

.hero-content { 
  width: 100%; 
/*  max-width: 780px;  */
  z-index: 5; 
  padding: 0 20px;
  margin-bottom: 1vh; /* Fluid lower-third alignment on narrow heights */
  box-sizing: border-box;
}

.hero-content h1 { 
  font-size: 2rem; 
  letter-spacing: 2px; 
  font-family: 'Oswald', sans-serif; 
}

.hero h2 { 
  font-size: 1.5rem; 
  letter-spacing: 3px; 
  margin-bottom: 0.5rem; 
}

/* Hidden absolute placement image layers breaking viewport bounding limits */
.hero .img1, .hero .img2 { 
  display: none; 
}

.cta-button { 
  display: inline-block; 
  padding: 12px 30px; 
  border: 2px solid #fff; 
  color: #fff; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
  font-size: 1.25rem; 
  font-weight: 400; 
}

.cta-button:hover { 
  background: #fff; 
  color: #000; 
}

/* Section Layout Blocks */
.section-container { 
  padding: 60px 10%; 
  text-align: center; 
  scroll-margin-top: 25px; 
}

.alt-bg { background-color: #CCCCCC; }
.dark-bg { background-color: #222; color: #fff; }

.section-container h2 { 
  font-size: 2.5rem; 
  margin-bottom: 3rem; 
  text-transform: uppercase; 
  letter-spacing: 2px; 
}

/* Video Section */
.video-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
  gap: 30px; 
}

.video-item { 
  background: #999; 
  padding: 30px; 
  border-radius: 4px; 
}

video { 
  max-width: 100%; 
  height: auto; 
  margin-bottom: 10px; 
}

/* About Layout Block */
.about-layout { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 20px; 
  max-width: 780px; 
  margin: 0 auto; 
}

.about-text { width: 100%; }
.about-text p { margin-bottom: 1.5rem; }
.about-image { flex: 1; min-width: 300px; }

.about-image img { 
  width: 100%; 
  height: auto; 
  border-radius: 4px; 
  box-shadow: 10px 10px 0px rgba(0,0,0,0.1); 
}

.faq li { 
  margin-bottom: 10px; 
  text-align: left; 
  font-size: 0.9rem; 
}

/* Details/Summary Accordion Component */
.accordion-container { 
  max-width: 100%; 
  margin: 20px auto; 
}

.accordion-item { margin-bottom: 10px; }

.accordion-header { 
  padding: 15px 20px; 
  font-weight: bold; 
  cursor: pointer; 
  background-color: #f9f9f9; 
  display: flex; 
  justify-content: space-between; 
  transition: 0.3s ease; 
}

.accordion-header:hover { background-color: #e0f7fa; }

.accordion-content { 
  padding: 0 20px; 
  background-color: #fff; 
  color: #333; 
  line-height: 1.4; 
  text-align: left; 
  max-height: 0; 
  overflow: hidden; 
  transition: max-height 0.3s ease-out, padding 0.3s ease; 
}

.accordion-item[open] .accordion-header { 
  background-color: #b2ebf2; 
}

.accordion-header .icon { transition: transform 0.3s ease; }
.accordion-item[open] .accordion-header .icon { transform: rotate(45deg); }

.accordion-item[open] .accordion-content { 
  max-height: 500px; 
  padding: 15px 20px; 
}

/* Symmetrical Photos Grid Layout */
.gallery { 
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Clean 3-column layout on standard display wrappers */
  gap: 20px; 
  max-width: 1000px;
  margin: 0 auto;
}

.gallery img { 
  width: 100%; 
  height: auto; 
  aspect-ratio: 2 / 3; /* Locks items into uniform geometric ratios */
  object-fit: cover; 
  filter: grayscale(100%); 
  transition: 0.4s; 
  cursor: pointer; 
}

.gallery img:hover { 
  filter: grayscale(0%); 
  transform: scale(1.02); 
}

/* Contact Block Form */
.contact-wrapper { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 50px; 
  margin-top: 40px; 
  text-align: left; 
}

.contact-info p { margin-bottom: 15px; font-size: 1.1rem; }
.contact-info a { color: #aaa; border-bottom: 1px solid #aaa; }

.contact-form { 
  display: flex; 
  flex-direction: column; 
  gap: 15px; 
  width: 100%; 
  max-width: 450px; 
}

.contact-form input, .contact-form textarea { 
  padding: 15px; 
  border: none; 
  background: #333; 
  color: #fff; 
  width: 100%; 
}

.contact-form button { 
  padding: 15px; 
  background: #fff; 
  color: #222; 
  border: none; 
  font-weight: 700; 
  cursor: pointer; 
  text-transform: uppercase; 
}

.contact-form button:hover { background: #ccc; }

footer { 
  background: #111; 
  color: #666; 
  padding: 30px; 
  font-size: 0.8rem; 
}

.socials { margin-top: 10px; }
.socials a { margin: 0 10px; color: #888; }

/* Responsive Viewports Adaptation System */
@media (max-width: 768px) { 
  nav { 
    flex-direction: column; 
    gap: 15px; 
    padding: 15px 2%; 
    background-color: #ffffff; 
  } 
  .nav-links { 
    width: 100%; 
    padding: 0; 
  } 
  .nav-links a { 
    font-size: 0.75rem; 
    padding: 6px 10px; 
    display: inline-block; 
    color: #111; 
  } 

  .hero {
    height: 45vh; /* Restores cinematic presentation height rules exclusively for wide screens */
    background-size: contain; 
    background-position: center top;
    background-repeat: no-repeat;
    align-items: flex-end;
  }
  .hero-content {
    width: 100%;
    max-width: 780px;
    z-index: 5;
    padding 0 20px; 
    margin-bottom: 2vh;
    box-sizing: border-box;
  }

  .about-layout { 
    flex-direction: column-reverse; 
  } 
  
  .gallery {
    grid-template-columns: repeat(2, 1fr); 
    gap: 15px;
  }
  
  .section-container { 
    padding: 40px 5%; 
  } 
  
  .section-container h2 { 
    font-size: 2rem; 
    margin-bottom: 2rem; 
  } 
}

