/* ===================================
   Caleb's Guide Service - Styles
   Matching original WordPress theme
   =================================== */

/* CSS Variables */
:root {
    --color-primary: #2c3e50;
    --color-primary-light: #34495e;
    --color-accent: #3498db;
    --color-accent-hover: #2980b9;
    --color-dark: #1a1a1a;
    --color-gray-700: #444444;
    --color-gray-500: #666666;
    --color-gray-300: #999999;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    
    --font-heading: 'Georgia', 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    
    --max-width: 1200px;
    --transition: 0.3s ease;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-gray-700);
    background-color: var(--color-white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.3;
    font-weight: normal;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

h2 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
    text-align: center;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

/* Header */
.header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    overflow: visible;
}

.logo:hover {
    color: var(--color-dark);
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.logo-text {
    font-weight: normal;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    color: var(--color-gray-700);
    font-size: 0.95rem;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--color-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('hero-image.jpg') center/cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: var(--space-2xl) 20px;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: bold;
}

.hero .btn {
    font-size: 1.1rem;
}

/* About / Photo Carousel Section */
.about-section {
    padding: var(--space-xl) 0;
    background: var(--color-white);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.photo-carousel-wrapper {
    position: relative;
    width: 100%;
}

.photo-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slide {
    display: none;
    width: 100%;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--color-dark);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.carousel-btn:hover {
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-gray-300);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    padding: 0;
}

.dot.active,
.dot:hover {
    background: var(--color-accent);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.text-link {
    color: var(--color-accent);
    font-weight: 500;
}

.text-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

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

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

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

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

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

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

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: var(--space-2xl) 0;
}

.section-label {
    display: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-header p {
    color: var(--color-gray-500);
    font-size: 1.1rem;
}

.section-header.light h2,
.section-header.light p {
    color: var(--color-white);
}

.about-image .image-frame {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.about-image .image-frame img {
    width: 100%;
    height: auto;
}

.about-content h2 {
    text-align: left;
}

.about-content p {
    margin-bottom: var(--space-sm);
}

/* Species Grid */
.species {
    background: var(--color-white);
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.species-card {
    background: var(--color-gray-100);
    padding: var(--space-lg);
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.species-card:hover {
    background: var(--color-white);
}

.species-card h3 {
    color: var(--color-dark);
    margin-bottom: 0;
    font-size: 1.1rem;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Features Section */
.features {
    background: var(--color-primary);
    color: var(--color-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.feature-card {
    background: rgba(255,255,255,0.1);
    padding: var(--space-lg);
    border-radius: 0;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}

.feature-card:hover {
    background: rgba(255,255,255,0.15);
}

.feature-card h3 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 0;
    font-family: var(--font-body);
    font-weight: 500;
}

/* Locations */
.locations {
    background: var(--color-white);
}

/* CTA Section */
.cta-section {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
}

.cta-section h2 {
    color: var(--color-white);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-overlay {
    display: none;
}

/* Contact Section */
.contact {
    background: var(--color-gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.contact-info h2 {
    text-align: left;
}

.contact-details {
    margin-top: var(--space-lg);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--color-gray-500);
}

.contact-item a {
    font-size: 1.1rem;
    color: var(--color-dark);
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-photo {
    margin-top: var(--space-lg);
}

.contact-photo img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--color-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

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

/* Footer */
.footer {
    background: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-image {
    text-align: center;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-image img {
    max-width: 100%;
    width: auto;
    height: auto;
    max-height: 400px;
    border-radius: 8px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo-img {
    height: 60px;
    margin-bottom: var(--space-sm);
}

.footer-brand .logo-text {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    font-family: var(--font-body);
    font-weight: 600;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-md);
    font-size: 0.85rem;
}

/* Page Header */
.page-header {
    background: var(--color-primary);
    padding: var(--space-xl) 0;
    text-align: center;
    margin-top: 0;
}

.page-header h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.page-header p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
}

/* Content Section */
.content-section {
    padding: var(--space-2xl) 0;
}

.content-section.alt {
    background: var(--color-gray-100);
}

/* Rates Table */
.rates-table-wrapper {
    width: 100%;
}

.rates-table {
    width: 100%;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-collapse: collapse;
}

.rates-table th,
.rates-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.rates-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 500;
}

.rates-table tr:last-child td {
    border-bottom: none;
}

.rates-table tr:hover td {
    background: var(--color-gray-100);
}

.rate-price {
    font-weight: 600;
    color: var(--color-accent);
    font-size: 1.2rem;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-white);
    border-radius: 8px;
    margin-bottom: var(--space-sm);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.faq-question {
    width: 100%;
    padding: var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    background: var(--color-gray-100);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 var(--space-md) var(--space-md);
    color: var(--color-gray-700);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.review-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.review-stars {
    color: #f1c40f;
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.review-text {
    font-style: italic;
    margin-bottom: var(--space-md);
    color: var(--color-gray-700);
    line-height: 1.7;
}

.review-author {
    font-weight: 600;
    color: var(--color-dark);
}

/* About Page */
.about-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.about-content-section.reverse {
    direction: rtl;
}

.about-content-section.reverse > * {
    direction: ltr;
}

.about-text h2 {
    text-align: left;
}

.about-text h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
}

.placeholder-image {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    aspect-ratio: 4/3;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image::before {
    content: '🎣';
    font-size: 4rem;
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 992px) {
    .about-layout,
    .contact-grid,
    .about-content-section {
        grid-template-columns: 1fr;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .carousel-prev {
        left: 5px;
    }
    
    .carousel-next {
        right: 5px;
    }
    
    .about-content-section.reverse {
        direction: ltr;
    }
    
    .species-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-md);
        gap: 0;
        border-bottom: 1px solid var(--color-border);
        display: none;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: var(--space-sm) 0;
        display: block;
        border-bottom: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .species-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-cta,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Make rates table scrollable on mobile */
    .rates-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -20px;
        padding: 0 20px;
    }
    
    .rates-table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .rates-table th,
    .rates-table td {
        padding: var(--space-sm) var(--space-xs);
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .page-header p {
        font-size: 1rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: var(--space-xl) 0;
    }
    
    .contact-photo img {
        max-width: 100%;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .rates-table {
        font-size: 0.85rem;
        min-width: 550px;
    }
    
    .rates-table th,
    .rates-table td {
        padding: 8px 6px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
}
