/* Global Styles for John Ryles Portfolio */

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

body.page-template-homepage-template,
body.page-template-privacy-template,
body.page-template-support-template {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Hero Section */
.jr-hero {
    background: #2c3e50;
    color: white;
    padding: 100px 20px;
    text-align: center;
}

.jr-hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: 700;
}

.jr-hero .tagline {
    font-size: 1.5em;
    margin-bottom: 10px;
    font-weight: 300;
    opacity: 0.95;
}

.jr-hero .subtitle {
    font-size: 1.1em;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}

.jr-profile-image {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 30px auto 40px;
    border: 5px solid rgba(255,255,255,0.2);
    object-fit: cover;
}

/* Container */
.jr-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Styling */
.jr-section {
    padding: 80px 20px;
}

.jr-section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
    position: relative;
    padding-bottom: 15px;
}

.jr-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #2c3e50;
    border-radius: 2px;
}

/* About Section */
.jr-about {
    background: #f8f9fa;
}

.jr-about-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1em;
    line-height: 1.8;
}

.jr-about-content p {
    margin-bottom: 20px;
    color: #555;
}

.jr-about-content strong {
    color: #2c3e50;
    font-weight: 600;
}

/* Apps Section */
.jr-apps {
    background: #ffffff;
}

.jr-app-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    transition: box-shadow 0.3s ease;
}

.jr-app-card:hover {
    box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.jr-app-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.jr-app-icon {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    margin-right: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.jr-app-title-section h3 {
    font-size: 2em;
    color: #2c3e50;
    margin-bottom: 5px;
}

.jr-app-subtitle {
    color: #7f8c8d;
    font-size: 1.1em;
}

.jr-app-description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.jr-app-features {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.jr-app-features h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.jr-app-features ul {
    list-style: none;
    padding: 0;
}

.jr-app-features li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 25px;
}

.jr-app-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c3e50;
    font-weight: bold;
}

.jr-app-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 25px;
    align-items: center;
}

.jr-app-store-badge {
    height: 50px;
    transition: opacity 0.3s ease;
}

.jr-app-store-badge:hover {
    opacity: 0.8;
}

.jr-btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1em;
}

.jr-btn-primary {
    background: #2c3e50;
    color: white;
}

.jr-btn-primary:hover {
    background: #34495e;
    transform: translateY(-2px);
}

.jr-btn-secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

.jr-btn-secondary:hover {
    background: #2c3e50;
    color: white;
}

/* Contact Section */
.jr-contact {
    background: #2c3e50;
    color: white;
    text-align: center;
}

.jr-contact h2 {
    color: white;
}

.jr-contact h2:after {
    background: white;
}

.jr-contact-methods {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.jr-contact-item {
    text-align: center;
}

.jr-contact-item a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: opacity 0.3s ease;
    display: block;
}

.jr-contact-item a:hover {
    opacity: 0.7;
}

.jr-contact-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

/* Privacy/Support Page Styles */
.jr-header {
    background: #2c3e50;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.jr-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.jr-header .meta {
    font-size: 1em;
    opacity: 0.9;
}

.jr-content-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    padding: 60px 40px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.jr-summary-box {
    background: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 25px;
    margin: 40px 0;
    border-radius: 4px;
}

.jr-summary-box h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.3em;
}

.jr-summary-box p {
    font-size: 1.1em;
    color: #555;
    margin: 0;
}

.jr-content-container h2 {
    color: #2c3e50;
    margin: 50px 0 25px 0;
    font-size: 2em;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.jr-content-container h3 {
    color: #34495e;
    margin: 30px 0 15px 0;
    font-size: 1.5em;
}

.jr-content-container p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1.05em;
}

.jr-content-container ul,
.jr-content-container ol {
    margin: 20px 0 20px 30px;
}

.jr-content-container li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
}

.jr-content-container strong {
    color: #2c3e50;
    font-weight: 600;
}

.jr-content-container a {
    color: #2c3e50;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.jr-content-container a:hover {
    border-bottom: 1px solid #2c3e50;
}

.jr-no-collect {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.jr-no-collect ul {
    margin: 10px 0 0 20px;
}

.jr-no-collect li {
    color: #856404;
    font-weight: 500;
}

.jr-back-link {
    display: inline-block;
    margin-top: 40px;
    padding: 12px 30px;
    background: #2c3e50;
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jr-back-link:hover {
    background: #34495e;
    transform: translateY(-2px);
    border-bottom: none;
}

.jr-content-container .jr-btn {
    margin-bottom: 40px;
    display: inline-block;
}

.jr-contact-box {
    background: #2c3e50;
    color: white;
    border-radius: 8px;
    padding: 40px;
    margin: 50px 0;
    text-align: left;
}

.jr-contact-box h3 {
    color: white;
    margin: 0 0 20px 0;
    text-align: center;
}

.jr-contact-box strong {
    color: white;
}

.jr-contact-box p {
    color: white;
    opacity: 0.95;
    margin-bottom: 10px;
}

.jr-contact-box a {
    color: white;
    font-weight: 600;
    border-bottom: 2px solid rgba(255,255,255,0.3);
}

.jr-contact-box a:hover {
    border-bottom: 2px solid white;
}

.jr-note-box {
    background: #fff9e6;
    border-left: 4px solid #ffc107;
    padding: 20px;
    margin: 25px 0;
    border-radius: 4px;
}

.jr-note-box strong {
    color: #856404;
}

/* Support Page Specific */
.jr-intro-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    text-align: center;
}

.jr-intro-box h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.jr-intro-box p {
    font-size: 1.1em;
    color: #555;
    margin: 0;
}

.jr-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.jr-feature-card {
    background: #f8f9fa;
    border-left: 4px solid #2c3e50;
    padding: 25px;
    border-radius: 4px;
}

.jr-feature-card h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.jr-feature-card ul {
    margin: 10px 0 0 20px;
}

.jr-feature-card li {
    font-size: 0.95em;
    margin-bottom: 8px;
}

.jr-faq-item {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.jr-faq-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.jr-faq-question {
    color: #2c3e50;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 12px;
}

.jr-faq-answer {
    color: #555;
    line-height: 1.7;
}

.jr-faq-answer ol,
.jr-faq-answer ul {
    margin: 15px 0 15px 25px;
}

.jr-faq-answer li {
    margin-bottom: 8px;
}

code {
    background: #f8f9fa;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

/* Responsive */
@media (max-width: 768px) {
    .jr-hero h1 {
        font-size: 2.5em;
    }
    
    .jr-hero .tagline {
        font-size: 1.2em;
    }
    
    .jr-section h2 {
        font-size: 2em;
    }
    
    .jr-app-header {
        flex-direction: column;
        text-align: center;
    }
    
    .jr-app-icon {
        margin: 0 auto 20px;
    }
    
    .jr-app-card {
        padding: 30px 20px;
    }
    
    .jr-contact-methods {
        gap: 40px;
    }
    
    .jr-header h1 {
        font-size: 2em;
    }
    
    .jr-content-container {
        padding: 40px 20px;
    }
    
    .jr-content-container h2 {
        font-size: 1.6em;
    }
    
    .jr-feature-grid {
        grid-template-columns: 1fr;
    }
}