/* =====================================================
   CC Escort Theme v3 - Compact single-viewport layout
   ===================================================== */

:root {
    --champagne: #F3E6C9;
    --champagne-deep: #F3E6C9;
    --purple: #490573;
    --purple-dark: #3A0460;
    --champagne-light: #F3E6C9;
    --champagne-pale: #F3E6C9;
    --champagne-ghost: #F3E6C9;
    --gold: #DAA520;
    --gold-light: #FFD700;
    --gold-dark: #B8860B;
    --black: #1A1A1A;
    --text: #333333;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --white: #F3E6C9;
    --shadow: rgba(73, 5, 115, 0.08);
    --shadow-strong: rgba(73, 5, 115, 0.15);
}

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

body {
    font-family: Tahoma, Helvetica, 'Microsoft Yahei', sans-serif;
    color: var(--text);
    background: var(--champagne-pale);
    background-image: url('/wp-content/uploads/2026/10/background.jpg');
    background-size: cover;
    background-position: center top;
    background-attachment: fixed;
    line-height: 1.5;
    min-height: 100vh;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--purple-dark); }
img { max-width: 100%; height: auto; }

/* --- Header: Logo centered → Title centered → Nav --- */
.header-logo-row {
    background: linear-gradient(180deg, rgba(243,230,201,0.95) 0%, rgba(243,230,201,0.95) 100%);
    padding: 8px 20px 0;
    text-align: center;
}
.site-logo { display: inline-block; }
.logo-img { width: 340px; height: 110px; }

.header-title-row {
    background: linear-gradient(180deg, rgba(243,230,201,0.95) 0%, rgba(243,230,201,0.95) 100%);
    padding: 2px 20px 6px;
    text-align: center;
}
.site-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    white-space: nowrap;
}
.site-title a { color: inherit; }

.header-login {
    display: inline-block;
    font-size: 12px;
    color: var(--champagne);
    margin-left: 16px;
    vertical-align: middle;
}
.header-login a { color: var(--purple); padding: 0 4px; }
.header-login a:hover { color: var(--purple-dark); }
.header-login .sep { opacity: 0.4; margin: 0 1px; }

/* --- Navigation --- */
.header-nav-row {
    background: var(--champagne);
    padding: 0;
}
#site-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.nav-menu {
    list-style: none;
    display: flex;
}
.nav-menu li { margin: 0; }
.nav-menu a {
    display: block;
    padding: 0 20px;
    line-height: 38px;
    color: #490573;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s;
}
.nav-menu a:hover, .nav-menu .current-menu-item a {
    background: var(--champagne-deep);
    color: #3A0460;
}

/* --- Main Content --- */
#site-content { padding: 16px 0; }
.content-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- Home Hero - Compact --- */
.home-hero {
    background: linear-gradient(135deg, rgba(243,230,201,0.90) 0%, rgba(243,230,201,0.90) 50%, rgba(243,230,201,0.90) 100%);
    border: 1px solid var(--champagne-light);
    border-radius: 14px;
    padding: 20px 30px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.hero-text {
    text-align: center;
    margin-bottom: 12px;
}
.hero-text h2 {
    font-size: 36px;
    color: var(--purple);
    margin-bottom: 6px;
    font-weight: 700;
}
.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    line-height: 1.3;
}

/* --- Carousel - Compact --- */
.carousel-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(243,230,201,0.85);
    min-height: 520px;
}

.carousel-slides { position: relative; }

.carousel-slide {
    display: none;
    padding: 20px 30px;
    animation: fadeIn 0.5s ease;
}
.carousel-slide.active { display: block; }

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

.slide-inner { max-width: 900px; margin: 0 auto; text-align: center; }

.slide-title {
    font-size: 28px;
    color: var(--purple);
    margin-bottom: 10px;
    font-weight: 700;
}
.slide-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 0;
}
.slide-desc {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 8px;
    text-align: left;
}
.slide-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    margin-top: 10px;
    text-align: left;
}

/* Slide 1 hours */
.slide-hours {
    margin-top: 14px;
    text-align: center;
}
.slide-hours p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
}
.slide-hours-note {
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Slide with photo layout */
.slide-with-photo {
    display: flex;
    align-items: center;
    gap: 20px;
    text-align: left;
}
.slide-text-col { flex: 1; }
.slide-photo-col { flex: 0 0 auto; }
.slide-photo {
    max-height: 480px;
    width: auto;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 6px 15px var(--shadow-strong);
}

/* Values grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
}
.value-card {
    background: rgba(243,230,201,0.7);
    border: 1px solid var(--champagne-light);
    border-radius: 10px;
    padding: 16px 14px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-strong);
}
.value-icon { font-size: 28px; margin-bottom: 8px; }
.value-card h3 { font-size: 17px; color: var(--purple); margin-bottom: 6px; }
.value-card p { font-size: 13px; color: var(--text-light); line-height: 1.5; }

/* Carousel controls */
.carousel-dots {
    text-align: center;
    padding: 10px 0;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--champagne-light);
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.2s;
}
.dot.active, .dot:hover { background: var(--purple); }

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(243,230,201,0.8);
    border: 1px solid var(--champagne-light);
    color: var(--purple);
    font-size: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }
.carousel-prev:hover, .carousel-next:hover { background: var(--white); }

/* --- Contact Page --- */
.contact-page { max-width: 800px; margin: 0 auto; }
.contact-hero {
    display: flex; flex-direction: column; align-items: center; gap: 12px;
    background: rgba(243,230,201,0.85); border-radius: 14px;
    padding: 24px; margin-bottom: 24px;
    border: 1px solid var(--champagne-light);
    text-align: center;
}
.contact-logo-img { width: 100%; max-width: 500px; height: auto; border-radius: 10px; flex-shrink: 0; }
.contact-hero-text { flex: 1; }
.contact-hero-text h2 { font-size: 28px; color: var(--purple); margin-bottom: 8px; }
.contact-hero-text p { font-size: 16px; color: var(--text-light); }
.contact-cta { font-size: 18px !important; color: var(--gold) !important; font-weight: 700; margin-top: 8px !important; }
.contact-section {
    background: rgba(243,230,201,0.85); border-radius: 12px;
    padding: 20px; margin-bottom: 16px;
    border: 1px solid var(--champagne-light);
}
.contact-section h3 { font-size: 18px; color: var(--purple); margin-bottom: 12px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-btn {
    display: inline-block; padding: 10px 20px;
    border-radius: 8px; font-size: 14px; font-weight: 600;
    text-decoration: none; transition: transform 0.15s, box-shadow 0.15s;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px var(--shadow-strong); }
.contact-tg { background: #0088cc; color: #fff; }
.contact-tg:hover { background: #006fa3; color: #fff; }
.contact-line { background: #06C755; color: #fff; }
.contact-line:hover { background: #05a847; color: #fff; }
.contact-gleezy { background: var(--gold-dark); color: #fff; }

@media (max-width: 768px) {
    .contact-hero { flex-direction: column; }
    .contact-logo-img { max-width: 100%; }
    .contact-links { flex-direction: column; }
}

/* --- Category Sections --- */
.home-sections { margin-bottom: 30px; }
.home-category { margin-bottom: 25px; }
.category-title { text-align: center; font-size: 20px; color: var(--purple); margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--champagne-light); }
.title-deco { color: var(--champagne); margin: 0 6px; font-size: 14px; }

/* --- Profile Cards --- */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.profile-card { background: var(--white); border: 1px solid var(--champagne-light); border-radius: 10px; padding: 16px; transition: box-shadow 0.2s, transform 0.2s; }
.profile-card:hover { box-shadow: 0 8px 25px var(--shadow-strong); transform: translateY(-2px); }
.profile-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.profile-title a { color: var(--text); }
.profile-title a:hover { color: var(--purple); }
.profile-excerpt { font-size: 13px; color: var(--text-light); margin-bottom: 8px; line-height: 1.4; }
.profile-link { font-size: 13px; color: var(--purple); font-weight: 600; }

/* --- Single Post --- */
.single-post { background: var(--white); border: 1px solid var(--champagne-light); border-radius: 12px; padding: 24px; }
.single-post h1 { font-size: 22px; color: var(--text); margin-bottom: 12px; }
.single-post .entry-content { font-size: 15px; line-height: 1.7; color: var(--text); }

/* --- Footer --- */
#site-footer { background: linear-gradient(180deg, rgba(243,230,201,0.9) 0%, rgba(243,230,201,0.9) 100%); border-top: 1px solid var(--champagne-light); padding: 20px 0; text-align: center; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.footer-brand { margin-bottom: 6px; }
.footer-logo { font-family: Georgia, serif; font-size: 24px; font-weight: bold; color: var(--gold); letter-spacing: 4px; }
.footer-tagline { display: block; font-size: 12px; color: var(--text-light); margin-top: 3px; }
.footer-copy { font-size: 11px; color: var(--text-muted); }

/* --- Photo Card Grid --- */
.archive-header {
    text-align: center;
    padding: 24px 0 16px;
}
.archive-title {
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 600;
}
.archive-title .title-deco {
    color: #DAA520;
    margin: 0 8px;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}
.photo-card {
    background: #F3E6C9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.photo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.photo-link {
    display: block;
    overflow: hidden;
}
.photo-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.photo-card:hover .photo-thumb {
    transform: scale(1.05);
}
.photo-card .profile-title {
    padding: 8px 6px 2px;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
}
.photo-card .profile-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #1a1a1a;
    text-decoration: none;
}
.photo-card .profile-title a:hover {
    color: #490573;
}
.photo-body {
    padding: 0 6px 8px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Text Row List --- */
.text-row-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #F3E6C9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.text-row-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #F3E6C9;
    transition: background 0.15s;
}
.text-row-item:last-child {
    border-bottom: none;
}
.text-row-item:hover {
    background: #F3E6C9;
}
.text-row-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
    min-width: 40px;
}
.text-row-link {
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    line-height: 1.4;
}
.text-row-link:hover {
    color: #490573;
}

/* --- Presentation Slide Images --- */
.slide-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    max-height: 480px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 4px 15px var(--shadow-strong);
}
.slide3-layout {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}
.slide3-layout .slide-image {
    flex: 1 1 60%;
    max-width: 600px;
}
.slide-slight {
    flex: 0 0 auto;
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow-strong);
}
@media (max-width: 768px) {
    .slide3-layout {
        flex-direction: column;
        align-items: center;
    }
    .slide3-layout .slide-image {
        max-width: 100%;
    }
    .slide-slight {
        width: 140px;
    }
    .slide-image {
        max-height: 320px;
    }
}

/* --- WordPress Alignments --- */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin-right: 15px; }
.alignright { float: right; margin-left: 15px; }

/* --- Responsive --- */
@media (max-width: 768px) {
    .logo-img { width: 240px; height: 78px; }
    .site-title { font-size: 16px; white-space: normal; }
    .nav-menu { flex-wrap: wrap; justify-content: center; }
    .home-hero { padding: 16px 16px; }
    .hero-text h2 { font-size: 24px; }
    .hero-text p { font-size: 16px; }
    .slide-title { font-size: 22px; }
    .slide-with-photo { flex-direction: column; }
    .slide-photo-col { flex: 0 0 auto; }
    .values-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .photo-thumb { height: 180px; }
}
