/*
Theme Name: Premium Club 4610 Theme
Theme URI: https://www.nagasaki-4610.com
Author: Antigravity
Author URI: 
Description: 長崎市のデリヘル「4610（よんろくいちぜろ）」の公式ホームページ用高級感のあるレスポンシブWordPressテーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, gold, premium, responsive-layout, custom-background
Text Domain: premium-club-4610
*/

:root {
  --color-bg-deep: #000000;
  --color-bg-card: rgba(15, 15, 15, 0.8);
  --color-text-main: #f0f0f0;
  --color-text-muted: #aaaaaa;
  --color-gold: #D4AF37;
  --color-gold-light: #F3E5AB;
  --color-gold-dark: #A67C00;
  --color-silver: #c0c0c0;
  --color-neon-blue: #00d2ff;
  
  --font-primary: 'Noto Serif JP', serif;
  --font-secondary: 'Noto Serif JP', serif;
  
  --transition-speed: 0.3s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-bg-deep);
  color: var(--color-text-main);
  font-family: var(--font-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: var(--color-gold-light);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

/* Layout */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

section {
  padding: 5rem 0;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

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

.site-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.main-navigation {
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 1.2rem;
  flex-wrap: nowrap;
}

.main-navigation a {
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  font-weight: bold;
  padding: 5px 0;
  text-decoration: none;
  white-space: nowrap;
}

.main-navigation a:hover {
  color: var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23c5a059" fill-opacity="0.1"/></svg>');
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-family: var(--font-secondary);
  letter-spacing: 5px;
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.btn:hover {
  background: rgba(0, 210, 255, 0.1);
  color: var(--color-neon-blue);
  border-color: var(--color-neon-blue);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #000;
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-neon-blue) 0%, #0077ff 100%);
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

/* Profiles Grid */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.profile-card {
  background: var(--color-bg-card);
  border: 1px solid rgba(197, 160, 89, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: transform var(--transition-speed) ease;
}

.profile-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197, 160, 89, 0.3);
}

.profile-image-wrapper {
  aspect-ratio: 3/4;
  background: #111;
  overflow: hidden;
  position: relative;
}

.profile-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.profile-card:hover .profile-image-wrapper img {
  transform: scale(1.05);
}

.profile-info {
  padding: 1.5rem;
}

/* Cast Status Badges */
.sc-profile-image-wrapper {
  position: relative; /* For absolute positioning of badges */
}

/* Mobile Click Optimization (min-height 48px) */
/* Desktop Hide Sticky Btn */
.mobile-sticky-btn { display: none; }

@media (max-width: 768px) {
  .btn, 
  .bottom-nav a, 
  .pc-nav-menu a, 
  .sc-profile-card a, 
  .diary-card a,
  input[type="submit"],
  button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Reset display for cards to keep their structure */
  .sc-profile-card a, .diary-card a {
    display: block; 
  }
  
  /* Mobile Sticky Btn Display */
  .mobile-sticky-btn {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 9999;
  }
  
  /* Add padding to body so content isn't hidden by sticky btn */
  body {
    padding-bottom: 60px;
  }
}

.sc-status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 10;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.badge-today {
  background: linear-gradient(135deg, #ff007f 0%, #ff4b2b 100%);
}

.badge-now {
  background: linear-gradient(135deg, var(--color-neon-blue) 0%, #0055ff 100%);
}

.badge-reserve {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #000;
}

.profile-name {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
}

.profile-class {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.2rem 0.8rem;
  border: 1px solid;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.class-premium { border-color: var(--color-gold); color: var(--color-gold); }
.class-standard { border-color: var(--color-silver); color: var(--color-silver); }

/* Single Profile */
.single-profile-header {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.profile-gallery img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.2);
}

.profile-details h1 {
  font-size: 2.5rem;
  color: var(--color-gold);
}

.profile-meta-list {
  list-style: none;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--color-gold);
}

.profile-meta-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 0.5rem;
}

/* Video Section */
.profile-video-section {
  margin-top: 3rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 4px;
}

.video-container iframe,
.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.site-footer {
  background: #050505;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
  text-align: center;
}

.footer-logo {
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-contact {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.footer-contact span {
  display: block;
  font-size: 2rem;
  color: var(--color-text-main);
  margin-top: 0.5rem;
}

/* Hamburger Menu (Mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001; /* Above navigation */
}

.menu-toggle .bar {
  width: 100%;
  height: 2px;
  background-color: var(--color-gold);
  transition: all var(--transition-speed) ease;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
  .single-profile-header {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.5rem;
  }
  
  /* Mobile Menu Styles */
  .menu-toggle {
    display: flex;
  }
  
  .main-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    border-left: 1px solid rgba(197, 160, 89, 0.2);
    transition: right var(--transition-speed) ease;
    display: flex;
    flex-direction: column;
    padding-top: 80px; /* Space for header */
  }
  
  .main-navigation.is-open {
    right: 0;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  
  .main-navigation a {
    display: block;
    padding: 1.5rem;
    font-size: 1.1rem;
  }

  /* Hamburger turning into X */
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(11.5px) rotate(45deg);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-11.5px) rotate(-45deg);
  }
  
  /* Mobile Hero Adjustments for Image Cropping */
  .hero {
    height: 70vh; /* Reduce height on mobile to prevent extreme side cropping */
    min-height: 400px;
  }
  .hero .swiper-slide > div {
    background-position: top center !important; /* Keep faces/upper body in view */
  }
}

/* ==========================================================================
   Advanced Navigation (CH Style)
   ========================================================================== */

/* Tab Navigation under header */
.tab-navigation {
    background: #000;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    position: sticky;
    top: 61px; /* Approximate header height to prevent overlap */
    margin-top: 61px; /* Push down below the fixed header */
    z-index: 90;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.tab-navigation::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

.tab-navigation {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.tab-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tab-menu li {
    flex: 0 0 auto;
}

.tab-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--color-silver);
    font-size: 0.9rem;
    font-weight: bold;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tab-menu li a:hover {
    color: var(--color-gold);
    background: rgba(255, 255, 255, 0.05);
}

/* Mobile Bottom Navigation */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(197, 160, 89, 0.3);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom); /* For iPhone notch */
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-silver);
    padding: 8px 0;
    font-size: 0.7rem;
    transition: color 0.3s ease;
}

.bottom-nav-item .dashicons {
    font-size: 1.4rem;
    width: 1.4rem;
    height: 1.4rem;
    margin-bottom: 4px;
}

.bottom-nav-item:hover {
    color: var(--color-gold);
}

.bottom-nav-item.call-action {
    background: linear-gradient(135deg, var(--color-gold) 0%, #a67c00 100%);
    color: #000;
    font-weight: bold;
    border-radius: 4px;
    margin: 4px;
}

.bottom-nav-item.call-action:hover {
    filter: brightness(1.1);
}

/* Specific Media Queries for Navigation Features */
@media screen and (max-width: 768px) {
    .bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
    
    /* Adjust body padding to avoid content hiding behind bottom nav */
    #page {
        padding-bottom: 70px;
    }
}

/* ==========================================================================
   CityHeaven Style Profile Page Additions
   ========================================================================== */

/* Hero Section */
.ch-profile-hero {
    text-align: center;
    margin-bottom: 20px;
}
.ch-profile-title {
    font-size: 1.8rem;
    color: var(--color-silver);
    margin-bottom: 10px;
    font-family: var(--font-heading);
}
.ch-profile-age {
    font-size: 1.2rem;
    color: var(--color-gold);
}
.ch-single-image {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid rgba(197, 160, 89, 0.2);
}
.ch-no-image {
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #222;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    color: #666;
}

/* In-Page Navigation */
.ch-page-nav {
    display: flex;
    justify-content: space-between;
    background: #222;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ch-page-nav ul {
    display: flex;
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ch-page-nav li {
    flex: 1;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.ch-page-nav li:last-child {
    border-right: none;
}
.ch-page-nav a {
    display: block;
    padding: 12px 5px;
    color: var(--color-silver);
    font-size: 0.85rem;
    font-weight: bold;
    text-decoration: none;
    transition: background 0.3s;
}
.ch-page-nav a:hover,
.ch-page-nav a:active {
    background: rgba(197, 160, 89, 0.2);
    color: var(--color-gold);
}

/* Sections General */
.ch-section {
    margin-bottom: 30px;
}
.ch-section-title {
    font-size: 1.3rem;
    color: var(--color-silver);
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: inline-block;
}

/* Data Table */
.ch-data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    font-size: 0.95rem;
}
.ch-data-table th, .ch-data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ch-data-table th {
    text-align: left;
    color: var(--color-gold);
    background: rgba(255, 255, 255, 0.02);
    width: 40%;
    font-weight: normal;
}

/* Tags (Sales Points) */
.ch-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}
.ch-tag {
    background: rgba(197, 160, 89, 0.15);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Schedule Grid */
.ch-schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}
.ch-schedule-item {
    background: #222;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
}
.ch-schedule-date {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    font-size: 0.85rem;
    color: var(--color-silver);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.ch-schedule-time {
    padding: 12px 5px;
    font-size: 1rem;
    font-weight: bold;
}

/* --------------------------------------------------------------------------
 * CityHeaven Style Overrides (Added in Phase 4)
 * -------------------------------------------------------------------------- */
.single-girl .site-main {
    padding-top: 100px; /* Offset for fixed header */
}

/* Breadcrumbs */
.ch-breadcrumbs a {
    color: #ff9800;
    text-decoration: none;
}
.ch-breadcrumbs a:hover {
    text-decoration: underline;
}

/* Photo Gallery & Thumbs */
.profile-main-display {
    width: 100%;
}
.thumb-item {
    transition: opacity 0.2s, border-color 0.2s;
}
.thumb-item:hover {
    opacity: 0.8;
    border-color: #ff9800 !important;
}

/* Horizontal Tabs */
.ch-navigation-tabs li a:hover {
    background: #fff8f0;
}
.ch-navigation-tabs li a .dashicons {
    transition: transform 0.2s;
}
.ch-navigation-tabs li a:hover .dashicons {
    transform: scale(1.1);
}

@media screen and (max-width: 600px) {
    .single-girl .site-main {
        padding-top: 80px;
    }
    .ch-profile-title {
        font-size: 1.6rem !important;
    }
    .ch-navigation-tabs li a {
        font-size: 0.75rem !important;
    }
    .profile-thumb-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 5px !important;
    }
}

/* Review Form Enhancements */
#review-form-container form input:focus,
#review-form-container form textarea:focus {
    border-color: #ff9800 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(255,152,0,0.3);
}
.btn-review-post:hover {
    opacity: 0.9;
    transform: translateY(2px);
    box-shadow: 0 2px 0 #e68a00 !important;
}
#review-form-container button[type="submit"]:hover {
    background: #1976D2 !important;
    opacity: 0.9;
}

@media screen and (max-width: 600px) {
    .single-girl .site-main {
        padding-top: 80px;
    }
    .ch-profile-title {
        font-size: 1.5rem !important;
    }
    .ch-profile-age {
        font-size: 1rem !important;
    }
    .ch-page-nav-tabs a {
        font-size: 0.75rem !important;
        padding: 10px 2px !important;
    }
    .ch-page-nav-tabs .dashicons {
        font-size: 18px !important;
        width: 18px !important;
        height: 18px !important;
    }
    .ch-style-table th {
        width: 40% !important;
        font-size: 0.9rem !important;
    }
    .ch-style-table td {
        font-size: 0.95rem !important;
    }
    .diary-grid {
        grid-template-columns: 1fr !important;
    }
}
