/**
 * Lake Texoma Guide Directory - Main Styles
 */

/* =============================================
   VARIABLES
============================================= */
:root {
    --ltgd-primary: #2271b1;
    --ltgd-primary-dark: #135e96;
    --ltgd-success: #00a32a;
    --ltgd-warning: #dba617;
    --ltgd-danger: #dc3232;
    --ltgd-text: #1f2937;
    --ltgd-headings: #111827;
    --ltgd-bg: #ffffff;
    --ltgd-bg-light: #f0f6fc;
    --ltgd-border: #d0d7de;
    --ltgd-star-color: #fbbf24;
    --ltgd-shadow: 0 2px 8px rgba(0,0,0,0.1);
    --ltgd-shadow-hover: 0 4px 16px rgba(0,0,0,0.15);
}

/* =============================================
   TYPOGRAPHY
============================================= */
.ltgd-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--ltgd-headings);
    margin-bottom: 20px;
}

/* =============================================
   DIRECTORY STATS
============================================= */
.ltgd-directory-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    padding: 40px 20px;
    background: var(--ltgd-bg-light);
    border-radius: 8px;
}

.ltgd-stat {
    text-align: center;
    padding: 20px;
}

.ltgd-stat-number {
    font-size: 48px;
    font-weight: 600;
    color: var(--ltgd-primary);
    margin-bottom: 10px;
    font-family: 'Poppins', sans-serif;
}

.ltgd-stat-label {
    font-size: 16px;
    color: var(--ltgd-text);
    font-weight: 400;
}

@media (max-width: 768px) {
    .ltgd-directory-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .ltgd-stat-number {
        font-size: 36px;
    }
}

/* =============================================
   GUIDES GRID
============================================= */
.ltgd-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

@media (max-width: 1024px) {
    .ltgd-guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ltgd-guides-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   GUIDE CARD
============================================= */
.ltgd-guide-card {
    background: var(--ltgd-bg);
    border: 1px solid var(--ltgd-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ltgd-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.ltgd-guide-card:hover {
    box-shadow: var(--ltgd-shadow-hover);
    transform: translateY(-2px);
}

.ltgd-guide-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.ltgd-guide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.ltgd-guide-card:hover .ltgd-guide-image img {
    transform: scale(1.05);
}

.ltgd-guide-content {
    padding: 20px;
}

.ltgd-guide-title {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: var(--ltgd-headings);
}

.ltgd-guide-title a {
    color: var(--ltgd-headings);
    text-decoration: none;
    transition: color 0.2s;
}

.ltgd-guide-title a:hover {
    color: var(--ltgd-primary);
}

.ltgd-guide-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.ltgd-rating-number {
    font-weight: 600;
    color: var(--ltgd-text);
}

.ltgd-review-count {
    color: #6b7280;
    font-size: 14px;
}

.ltgd-guide-excerpt {
    color: var(--ltgd-text);
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 14px;
}

.ltgd-guide-phone {
    color: var(--ltgd-text);
    margin-bottom: 15px;
    font-size: 14px;
}

/* =============================================
   RANK BADGES
============================================= */
.ltgd-rank-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    color: white;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.ltgd-rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.ltgd-rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    color: #333;
}

.ltgd-rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #f4a460 100%);
    color: white;
}

.ltgd-rank-badge:not(.ltgd-rank-1):not(.ltgd-rank-2):not(.ltgd-rank-3) {
    background: var(--ltgd-primary);
}

/* =============================================
   STAR RATING
============================================= */
.ltgd-stars {
    display: inline-flex;
    gap: 2px;
}

.ltgd-star {
    color: var(--ltgd-star-color);
    font-size: 18px;
}

.ltgd-star-empty {
    opacity: 0.3;
}

/* =============================================
   BUTTONS
============================================= */
.ltgd-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

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

.ltgd-btn-primary:hover {
    background: var(--ltgd-primary-dark);
    color: white;
}

.ltgd-btn-secondary {
    background: transparent;
    color: var(--ltgd-text);
    border: 2px solid var(--ltgd-border);
}

.ltgd-btn-secondary:hover {
    background: var(--ltgd-bg-light);
    border-color: var(--ltgd-primary);
}

/* =============================================
   SEARCH & FILTER
============================================= */
.ltgd-search-filter {
    margin: 40px 0;
}

.ltgd-filter-form {
    background: var(--ltgd-bg);
    border: 1px solid var(--ltgd-border);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--ltgd-shadow);
}

.ltgd-filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 15px;
    align-items: end;
}

@media (max-width: 1024px) {
    .ltgd-filter-row {
        grid-template-columns: 1fr 1fr;
    }
    
    .ltgd-filter-actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .ltgd-filter-row {
        grid-template-columns: 1fr;
    }
}

.ltgd-filter-field {
    display: flex;
    flex-direction: column;
}

.ltgd-filter-field label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ltgd-text);
    font-size: 14px;
}

.ltgd-search-input,
.ltgd-select {
    padding: 12px;
    border: 1px solid var(--ltgd-border);
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
}

.ltgd-search-input:focus,
.ltgd-select:focus {
    outline: none;
    border-color: var(--ltgd-primary);
}

.ltgd-filter-actions {
    display: flex;
    gap: 10px;
}

/* =============================================
   ACTIVE FILTERS
============================================= */
.ltgd-active-filters {
    margin: 20px 0;
    padding: 15px;
    background: var(--ltgd-bg-light);
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ltgd-filter-tag {
    display: inline-block;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--ltgd-border);
    border-radius: 4px;
    font-size: 14px;
    color: var(--ltgd-text);
}

/* =============================================
   SEARCH RESULTS
============================================= */
.ltgd-search-results {
    margin-top: 30px;
}

.ltgd-results-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--ltgd-border);
}

.ltgd-results-header h3 {
    margin: 0;
    font-size: 24px;
    color: var(--ltgd-headings);
}

.ltgd-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--ltgd-text);
    font-size: 18px;
}

/* =============================================
   PAGINATION
============================================= */
.ltgd-pagination {
    margin: 40px 0;
    text-align: center;
}

.ltgd-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    border: 1px solid var(--ltgd-border);
    border-radius: 4px;
    color: var(--ltgd-text);
    text-decoration: none;
    transition: all 0.3s;
}

.ltgd-pagination .page-numbers:hover {
    background: var(--ltgd-primary);
    color: white;
    border-color: var(--ltgd-primary);
}

.ltgd-pagination .page-numbers.current {
    background: var(--ltgd-primary);
    color: white;
    border-color: var(--ltgd-primary);
}

/* =============================================
   CONTACT INFO
============================================= */
.ltgd-contact-info {
    background: var(--ltgd-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ltgd-contact-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.ltgd-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--ltgd-text);
}

.ltgd-contact-item a {
    color: var(--ltgd-primary);
    text-decoration: none;
}

.ltgd-contact-item a:hover {
    text-decoration: underline;
}

.ltgd-contact-icon {
    font-size: 20px;
}

/* =============================================
   BUSINESS HOURS
============================================= */
.ltgd-business-hours {
    background: var(--ltgd-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ltgd-business-hours h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.ltgd-hours-table {
    width: 100%;
}

.ltgd-hours-table tr {
    border-bottom: 1px solid var(--ltgd-border);
}

.ltgd-hours-table tr:last-child {
    border-bottom: none;
}

.ltgd-hours-table td {
    padding: 10px 0;
}

.ltgd-day {
    font-weight: 600;
    color: var(--ltgd-headings);
}

.ltgd-time {
    color: var(--ltgd-text);
    text-align: right;
}

/* =============================================
   MAP EMBED
============================================= */
.ltgd-map-embed {
    margin: 30px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--ltgd-shadow);
}

.ltgd-map-embed iframe {
    display: block;
}

/* =============================================
   SINGLE GUIDE PAGE
============================================= */
.ltgd-guide-hero {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-bottom: 40px;
}

.ltgd-guide-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ltgd-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .ltgd-single-container {
        grid-template-columns: 1fr;
    }
}

.ltgd-guide-header {
    margin-bottom: 30px;
}

.ltgd-guide-name {
    font-size: 36px;
    font-weight: 600;
    color: var(--ltgd-headings);
    margin-bottom: 15px;
}

.ltgd-guide-description {
    color: var(--ltgd-text);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.ltgd-rating-summary {
    background: var(--ltgd-bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

.ltgd-rating-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.ltgd-rating-big {
    font-size: 48px;
    font-weight: 600;
    color: var(--ltgd-primary);
    margin-bottom: 10px;
}

.ltgd-rating-stars {
    margin-bottom: 10px;
}

.ltgd-rating-count {
    color: var(--ltgd-text);
    font-size: 14px;
}

.ltgd-cta-box {
    background: var(--ltgd-bg-light);
    padding: 20px;
    border-radius: 8px;
}

.ltgd-cta-box h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
}

.ltgd-cta-box p {
    margin-bottom: 20px;
    color: var(--ltgd-text);
}

.ltgd-btn-block {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.ltgd-archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.ltgd-archive-header {
    text-align: center;
    margin-bottom: 40px;
}

.ltgd-archive-header h1 {
    font-size: 36px;
    font-weight: 600;
    color: var(--ltgd-headings);
    margin-bottom: 15px;
}

.ltgd-archive-header p {
    font-size: 18px;
    color: var(--ltgd-text);
    max-width: 800px;
    margin: 0 auto;
}

/* =============================================
   REVIEWS SECTION
============================================= */
.ltgd-reviews-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--ltgd-bg);
    border: 1px solid var(--ltgd-border);
    border-radius: 8px;
}

.ltgd-reviews-section h3 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--ltgd-headings);
}

.ltgd-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ltgd-review-item {
    padding: 20px;
    background: var(--ltgd-bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--ltgd-primary);
}

.ltgd-review-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.ltgd-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.ltgd-review-meta {
    flex: 1;
}

.ltgd-review-author {
    font-weight: 600;
    color: var(--ltgd-headings);
    font-size: 16px;
    margin-bottom: 5px;
}

.ltgd-review-rating {
    margin-bottom: 5px;
}

.ltgd-review-date {
    font-size: 14px;
    color: #6b7280;
}

.ltgd-review-text {
    color: var(--ltgd-text);
    line-height: 1.6;
    font-size: 15px;
}

/* =============================================
   SIDEBAR WIDGETS (AdSense, etc)
============================================= */
.ltgd-sidebar-widgets {
    margin: 30px 0;
}

.ltgd-widget {
    margin-bottom: 30px;
    padding: 20px;
    background: var(--ltgd-bg);
    border: 1px solid var(--ltgd-border);
    border-radius: 8px;
}

.ltgd-widget:last-child {
    margin-bottom: 0;
}

.ltgd-widget-title {
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ltgd-headings);
}

/* AdSense specific styling */
.ltgd-widget ins {
    display: block;
    margin: 0 auto;
}

.ltgd-widget .adsbygoogle {
    display: block;
    margin: 0 auto;
}

/* Ensure ads are centered and responsive */
.ltgd-widget iframe {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}
