/* ========================================
   SHARECORP Website Styles
   ======================================== */

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

:root {
  /* Colors - Green Theme */
  --primary-green: #2D7A4F;
  --primary-dark: #1B4D32;
  --secondary-green: #52B788;
  --accent-green: #74C69D;
  --light-green: #95D5B2;
  --yellow-green: #B7E4C7;
  --accent-yellow: #FFD60A;
  --white: #FFFFFF;
  --light-gray: #F1F8F4;
  --dark-text: #1B4D32;
  
  /* Backward compatibility aliases */
  --navy: #1B4D32;
  --teal: #52B788;
  --lime: #74C69D;
  --yellow: #FFD60A;
  --orange: #52B788;
  
  /* Typography */
  --font-serif: 'Noto Serif JP', serif;
  --font-sans: 'Montserrat', sans-serif;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-sans);
  color: var(--dark-text);
  background-color: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
  width: 100%;
  max-width: 100vw;
}

html {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ========================================
   Header Styles
   ======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo svg {
  width: 60px;
  height: 30px;
}

.logo-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-green);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }
}

.nav-link {
  text-decoration: none;
  color: var(--dark-text);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-green);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
}

.menu-icon {
  font-size: 1.8rem;
  color: var(--primary-green);
  display: block;
  line-height: 1;
  transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon {
  transform: rotate(90deg);
}

/* Circular CTA Buttons */
.btn-contact,
.btn-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.btn-contact {
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
  color: var(--white);
}

.btn-contact:hover,
.btn-entry:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-arrow {
  position: absolute;
  right: 20px;
  font-size: 1rem;
}

/* ========================================
   Hero Section
   ======================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
}

.shapes-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50% 40% 60% 50%;
  opacity: 0.9;
  animation: float 20s ease-in-out infinite;
}

.shape-navy { background-color: var(--primary-dark); }
.shape-teal { background-color: var(--secondary-green); }
.shape-green { background-color: var(--accent-green); }
.shape-yellow { background-color: var(--light-green); }

.shape-1 {
  width: 200px;
  height: 250px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 180px;
  top: 20%;
  right: 8%;
  animation-delay: -2s;
}

.shape-3 {
  width: 180px;
  height: 200px;
  bottom: 15%;
  left: 10%;
  animation-delay: -4s;
}

.shape-4 {
  width: 220px;
  height: 200px;
  top: 50%;
  right: 5%;
  animation-delay: -6s;
}

.shape-5 {
  width: 100px;
  height: 120px;
  bottom: 25%;
  right: 15%;
  animation-delay: -8s;
}

.shape-6 {
  width: 130px;
  height: 150px;
  top: 35%;
  left: 15%;
  animation-delay: -3s;
}

.shape-7 {
  width: 160px;
  height: 190px;
  bottom: 10%;
  right: 25%;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-dark);
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.highlight-circle {
  position: relative;
  display: inline-block;
}

.highlight-circle::after {
  content: '';
  position: absolute;
  left: -10px;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  height: 80px;
  border: 3px solid var(--accent-yellow);
  border-radius: 50%;
  z-index: -1;
  animation: draw-circle 1s ease-out forwards;
}

@keyframes draw-circle {
  from {
    clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  }
  to {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--dark-text);
  line-height: 1.8;
  letter-spacing: 0.03em;
}

/* ========================================
   Brand Message Section
   ======================================== */

.brand-message-section {
  padding: 8rem 2rem;
  text-align: center;
  background-color: var(--white);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.brand-message-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-label {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--secondary-green);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.message-title {
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--primary-dark);
  letter-spacing: 0.02em;
}

.highlight-teal {
  color: var(--secondary-green);
  font-weight: 600;
}

/* ========================================
   People Section
   ======================================== */

.people-section {
  padding: 6rem 2rem 8rem;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.people-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.people-title {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--primary-dark);
  max-width: 800px;
  letter-spacing: 0.03em;
  text-align: center;
}

.highlight-circle-2 {
  position: relative;
  display: inline-block;
}

.highlight-circle-2::after {
  content: '';
  position: absolute;
  left: -8px;
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
  height: 65px;
  border: 3px solid var(--accent-yellow);
  border-radius: 50%;
  z-index: -1;
  animation: draw-circle 1s ease-out 0.5s forwards;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .message-title {
    font-size: 2.5rem;
  }
  
  .people-title {
    font-size: 2.5rem;
  }
  
  .btn-contact,
  .btn-entry {
    width: 80px;
    height: 80px;
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  
  * {
    max-width: 100%;
  }
  
  .site-header {
    padding: 0.75rem 1.5rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 6rem 2rem 2rem;
    gap: 0;
    transition: right 0.3s ease;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .nav-link {
    display: block;
    width: 100%;
    padding: 1rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(45, 122, 79, 0.1);
  }
  
  .btn-contact {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-top: 2rem;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  
  .btn-arrow {
    position: static !important;
    margin-left: 0.5rem;
    right: auto !important;
  }
  
  .hero-title {
    font-size: 2.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-subtitle {
    font-size: 0.85rem;
  }
  
  .message-title {
    font-size: 2rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .people-title {
    font-size: 2rem;
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .shape {
    width: 80px !important;
    height: 100px !important;
  }
  
  .hero-section,
  .brand-message-section,
  .people-section,
  .about-section,
  .services-section,
  .company-info-section,
  .contact-section {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
  }
}

@media (max-width: 480px) {
  body, html {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  
  .site-header {
    padding: 0.75rem 1rem;
  }
  
  .logo svg {
    width: 50px;
    height: 25px;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .main-nav {
    width: 100%;
    right: -100%;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .hero-title {
    font-size: 2rem;
    padding: 0 1rem;
  }
  
  .message-title {
    font-size: 1.75rem;
    padding: 0 1rem;
  }
  
  .people-title {
    font-size: 1.75rem;
    padding: 0 1rem;
  }
}

/* ========================================
   Company Information Section
   ======================================== */

.company-info-section {
  padding: 6rem 2rem;
  background-color: var(--light-gray);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.company-info-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.company-container {
  max-width: 1000px;
  margin: 0 auto;
}

.section-title {
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: var(--primary-green);
  margin-bottom: 3rem;
  letter-spacing: 0.05em;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.info-item {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-green);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.info-value {
  font-size: 1.125rem;
  color: var(--dark-text);
  line-height: 1.8;
}

.info-value a {
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-value a:hover {
  color: var(--secondary-green);
}

.info-note {
  display: block;
  font-size: 0.95rem;
  color: var(--secondary-green);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* ========================================
   Footer Styles
   ======================================== */

.site-footer {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 4rem 2rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--light-green);
  letter-spacing: 0.05em;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.contact-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--light-green);
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav-list li {
  margin-bottom: 0.75rem;
}

.footer-nav-link {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: var(--light-green);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
}

.copyright {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

/* ========================================
   About Section
   ======================================== */

.about-section {
  padding: 6rem 2rem;
  background-color: var(--white);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.about-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-description {
  text-align: center;
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 3rem;
  opacity: 0.8;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.about-text {
  line-height: 2;
}

.about-paragraph {
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  background-color: var(--light-gray);
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.value-description {
  font-size: 0.95rem;
  color: var(--dark-text);
  opacity: 0.8;
  line-height: 1.6;
}

/* ========================================
   Services Section
   ======================================== */

.services-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, var(--light-gray) 0%, var(--white) 100%);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.services-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background-color: var(--white);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}

.service-description {
  font-size: 1rem;
  color: var(--dark-text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.8;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--dark-text);
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-green);
  font-weight: bold;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-section {
  padding: 6rem 2rem;
  background-color: var(--white);
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.contact-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info-box,
.contact-form-box {
  background-color: var(--light-gray);
  padding: 2.5rem;
  border-radius: 16px;
}

.contact-info-title,
.contact-form-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 2rem;
  letter-spacing: 0.03em;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-info-details {
  flex: 1;
}

.contact-info-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary-green);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-info-value {
  font-size: 1.125rem;
  color: var(--dark-text);
  margin-bottom: 0.5rem;
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-value:hover {
  color: var(--secondary-green);
}

.contact-info-note {
  font-size: 0.875rem;
  color: var(--dark-text);
  opacity: 0.6;
}

/* Contact Form Styles */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-text);
  letter-spacing: 0.02em;
}

.required {
  color: #E74C3C;
  margin-left: 0.25rem;
}

.form-input,
.form-textarea {
  padding: 1rem;
  border: 2px solid rgba(45, 122, 79, 0.1);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--dark-text);
  background-color: var(--white);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--secondary-green);
  box-shadow: 0 0 0 3px rgba(82, 183, 136, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  padding: 1.25rem 2.5rem;
  background: linear-gradient(135deg, var(--secondary-green) 0%, var(--primary-green) 100%);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  align-self: flex-start;
}

.form-submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(82, 183, 136, 0.4);
}

.submit-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.form-submit-btn:hover .submit-arrow {
  transform: translateX(5px);
}

/* ========================================
   Responsive Design - New Sections
   ======================================== */

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    gap: 1.5rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .contact-info-box,
  .contact-form-box {
    padding: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-description {
    font-size: 1rem;
  }
}

/* ========================================
   Footer Responsive Design
   ======================================== */

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .company-grid {
    gap: 1.5rem;
  }
  
  .info-item {
    padding: 1.5rem;
  }
}
