/*
Theme Name: Premier Business Pro
Description: Professional business theme based on Premier Partners design - Modern, corporate WordPress theme
Version: 2.0
Author: Seeknet
*/

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

:root {
  /* Color Palette - Updated for new design */
  --primary-blue: #1a237e;
  --dark-blue: #2c3e73;
  --gradient-start: #64b5f6;
  --gradient-end: #1a237e;
  --accent-red: #dc143c;
  --text-primary: #2c2c2c;
  --text-secondary: #666666;
  --text-light: #999999;
  --background: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #3c4454;
  --border-color: #e0e0e0;
  --shadow: 0 4px 20px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
  
  /* Typography */
  --font-primary: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  --font-english: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
  /* Layout */
  --container-max-width: 90vw;
  --section-padding: 5rem 0;
  
  /* Border Radius */
  --radius: 8px;
  --radius-lg: 16px;
}

/* Typography */
body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.english-text {
  font-family: var(--font-english);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-english);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

h1 { font-size: 3.5rem; font-weight: 400; }
h2 { font-size: 2.5rem; font-weight: 400; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* Container & Layout */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header - Transparent by default, white on scroll */
.site-header {
  background: transparent !important;
  backdrop-filter: none !important;
  padding: 20px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header:not(.scrolled) {
  background: transparent !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
}

.site-header:not(.scrolled) .logo-text {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}

.site-header:not(.scrolled) .main-navigation a {
  color: white !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}

.site-header:not(.scrolled) .logo-subtext {
  color: rgba(255,255,255,0.8) !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}


/* Only apply background when scrolled */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1) !important;
}

.site-header.scrolled .logo-text,
.site-header.scrolled .main-navigation a,
.site-header.scrolled .logo-subtext {
  color: var(--text-primary) !important;
  text-shadow: none !important;
}


.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(45deg, var(--accent-red), #ff6b6b);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
}

/* Logo and navigation - white by default, dark when scrolled */
.site-header .logo-text {
  font-family: var(--font-english);
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.site-header.scrolled .logo-text {
  color: var(--text-primary);
  text-shadow: none;
}

.logo-subtext {
  font-size: 10px;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.site-header.scrolled .logo-subtext {
  color: var(--text-secondary);
}

.main-navigation {
  display: flex;
  gap: 30px;
  align-items: center;
}

.main-navigation a {
  font-family: var(--font-english);
  font-size: 13px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.main-navigation a:hover {
  color: rgba(255,255,255,0.8);
}

.site-header.scrolled .main-navigation a {
  color: var(--text-primary);
  text-shadow: none;
}

.site-header.scrolled .main-navigation a:hover {
  color: var(--primary-blue);
}


/* Hero Section - New Design */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), 
              url('https://images.unsplash.com/39/lIZrwvbeRuuzqOoWJUEn_Photoaday_CSD%20%281%20of%201%29-5.jpg?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D') center/cover;
  min-height: calc(100vh + 100px); /* Add header height to total height */
  margin-top: -100px; /* Move up by header height */
  padding: 200px 0 80px; /* Extra top padding to push content down */
  position: relative;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.hero-category {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: var(--font-english);
}

.hero-text h1 {
  font-size: 4rem;
  font-weight: 300;
  color: white;
  margin-bottom: 40px;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-buttons .btn {
  font-size: 12px;
  padding: 15px 30px;
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-buttons .btn-primary {
  background: rgba(255,255,255,0.9);
  color: var(--text-primary);
  border: 2px solid transparent;
}

.hero-buttons .btn-primary:hover {
  background: transparent;
  color: white;
  border: 2px solid white;
  transform: translateY(-2px);
}

/* Remove separate hero image */
.hero-image {
  display: none;
}

/* Services Intro - Clean layout without cards */
.services-intro {
  padding: 80px 0;
  background: var(--background);
}

.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6rem;
  max-width: 95%;
  margin: 0 auto;
}


.service-card:hover {
  transform: none; /* Remove hover transform */
  box-shadow: none; /* Remove hover shadow */
}

.service-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: left;
  display: flex; /* Use flexbox for side-by-side layout */
  align-items: flex-start; /* Align items to top */
  gap: 2rem; /* Space between icon and content */
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 0; /* Remove bottom margin since using flex */
  opacity: 1;
  flex-shrink: 0; /* Prevent icon from shrinking */
  margin-top: 0.5rem; /* Small top margin to align with title */
}

.service-content {
  flex: 1; /* Take remaining space */
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 0; /* Remove top margin */
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.service-link {
  color: var(--primary-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}


.service-link:hover {
  color: var(--accent-red);
}

.service-link::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-link:hover::after {
  transform: translateX(4px);
}

/* About Section - Complex grid layout */
/* About Section - Text row above, complex grid below */
.about-section {
  padding: 100px 0;
  background: var(--background-light);
}

.about-content {
  display: flex;
  flex-direction: column;
}

/* Top row - text and button side by side */
.about-text {
  display: flex;
  margin: auto;
  justify-content: center;
  align-items: flex-end;
  gap: 40px;
  width:100%;
  max-width: 1480px;
  padding: 20px 0 20px 0;

}

.about-text-content {
  flex: 1;
}

.about-text h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0;
  color: var(--text-primary);
}

.about-button {
  flex-shrink: 0;
}

/* Bottom - complex image grid */
.about-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  height: 600px;
  position: relative;
}

.about-image.main {
  position: relative;
  width: 700px;
  height: 700px;
  margin:0 auto;
  margin-right: 5px;
}

.about-image.main img {
  position: absolute;
  width: 700px;
  height: 700px;
  object-fit: cover;
  right:0;
  object-position:center;
  border-radius: var(--radius-lg);
}

/* Right side features with absolute positioning */


.about-features {
  position: relative;
  height: 700px;
  background: 
    url('./assets/increase-sales.png') center top no-repeat;
  background-size: 450px 450px, cover;
  border-radius: var(--radius-lg);
}




.feature-item {
  background:var(--background-light);;
  padding: 20px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  position: absolute;
  width: 100%;
  max-width: 300px;
}

/* Market Research - positioned at top */
.feature-item:nth-child(1) {
  top: 120px;
  left:0;
}

/* Sales Increase - positioned lower */
.feature-item:nth-child(2) {
  top: 420px;
  left: 260px;
}

.knowledge-badge {
  position: absolute;
  bottom: 60px;
  right: -200px;
  background: var(--background-dark);
  color: white;
  padding: 25px;
  border-radius: var(--radius-lg);
  text-align: center;
  min-width: 250px;
  height: 220px;
  z-index: 10;
}


/* Tablet and below - stack vertically */
@media (max-width: 1024px) {
  .about-images {
    grid-template-columns: 1fr; /* Single column */
    height: auto; /* Let height adjust to content */
    gap: 40px;
  }

  .about-image.main {
    width: 100%;
    max-width: 500px;
    height: 400px;
    margin: 0 auto;
  }

  .about-image.main img {
    width: 100%;
    height: 400px;
    position: relative; /* Remove absolute positioning */
    right: auto;
  }

  .about-features {
    height: auto;
    min-height: 400px;
    background-position: center; /* Center background on mobile */
  }

  /* Adjust feature item positions for mobile */
  .feature-item:nth-child(1) {
    top: 40px;
    left: 20px;
  }

  .feature-item:nth-child(2) {
    top: 200px;
    left: 60px;
  }

  .knowledge-badge {
    position: absolute;
    bottom: 20px;
    right: 20px; /* Adjust for mobile */
    min-width: 200px;
  }
}

/* Mobile - further adjustments */
@media (max-width: 768px) {
  .about-images {
    gap: 30px;
  }

  .about-image.main {
    height: 300px;
  }

  .about-image.main img {
    height: 300px;
  }

  .about-features {
    min-height: 300px;
    background-size: 200px 200px, cover; /* Smaller background on mobile */
  }

  .feature-item {
    max-width: 250px;
    position: relative; /* Change to relative positioning on mobile */
    top: auto;
    left: auto;
    margin-bottom: 20px;
  }

  .feature-item:nth-child(2) {
    margin-left: 30px; /* Small offset for visual interest */
  }

  .knowledge-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px auto 0;
    display: block;
  }
}

/* Stats Section */

.stats-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4)), 
              url('https://images.unsplash.com/photo-1449824913935-59a10b8d2000?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') center/cover;
  color: white;
  padding: 100px 0;
  position: relative;
  text-align: center;
}

/* Add the heading text */
.stats-header {
  margin-bottom: 60px;
}

.stats-category {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  font-family: var(--font-english);
}

.stats-title {
  font-size: 3rem;
  font-weight: 300;
  color: white;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  /*max-width: 1000px;*/
  margin: 0 auto;
}

/* Full width horizontal line */
.stats-grid::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  width: 100%;
  height: 2px;
  background: white;
  z-index: 1;
}

.stat-item {
  text-align: center;
  position: relative;
  padding: 0 20px;
}

/* Vertical lines - positioned at center of each column */
.stat-item::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: white;
  z-index: 2;
}

/* Alternative approach - use ::after for more control */
.stat-item::after {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 40px;
  background: white;
  z-index: 2;
}



.stat-number {
  font-size: 4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
  font-family: var(--font-english);
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: 13px;
  opacity: 0.95;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}









/* Main Services */
.main-services {
  padding: 100px 0;
  background: var(--background-light);
}

.services-content {
  width: 80%;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 80px;
  align-items: start;
}


.services-text h2 {
  display: flex;
  justify-content:center;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-item {
  padding: 30px;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.service-item:hover {
  border-left-color: var(--primary-blue);
  transform: translateX(5px);
}

.service-item h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.service-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-arrow {
  color: var(--primary-blue);
  font-size: 18px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-arrow:hover {
  color: var(--accent-red);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-family: var(--font-english);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-red);
  color: white;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: white;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow);
    gap: 20px;
    border-top: 1px solid var(--border-color);
  }
  
  .main-navigation.active {
    display: flex;
  }
  
  .hero-content,
  .about-content,
  .services-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-images {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 200px);
  }
  
  .about-image.main {
    grid-row: auto;
  }
  
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }


  .service-card {
    flex-direction: column; /* Stack vertically on mobile */
    text-align: center;
    gap: 1.5rem;
  }

  .service-icon {
    margin-top: 0;
    align-self: center;
  }

}

@media (max-width: 1024px) and (min-width: 769px) {
  .services-cards {
    gap: 60px;
  }
}


/* Utility Classes */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 2rem; }

/* Focus States for Accessibility */
a:focus,
button:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}
