/* Adventure LifeKey - CSS Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c5530;
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #555;
}

a {
    color: #4a7c59;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #2c5530;
}

/* Buttons */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: #4a7c59;
    color: white;
    border-color: #4a7c59;
}

.btn-primary:hover {
    background-color: #2c5530;
    border-color: #2c5530;
    color: white;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
    border-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
    color: white;
}

.btn-outline {
    background-color: transparent;
    color: #4a7c59;
    border-color: #4a7c59;
}

.btn-outline:hover {
    background-color: #4a7c59;
    color: white;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c5530;
}

.nav-brand a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: inherit;
}

.logo {
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #4a7c59;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #2c5530;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    color: white;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-visual {
    text-align: center;
}

.hero-visual svg {
    max-width: 100%;
    height: auto;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    background-color: white;
}

.services h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #2c5530;
}

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

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.5rem;
    color: #4a7c59;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #666;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #555;
}

.testimonial-author strong {
    color: #2c5530;
    display: block;
}

.testimonial-author span {
    color: #888;
    font-size: 0.9rem;
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    text-align: center;
}

.newsletter h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto 1rem;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
}

.newsletter-privacy {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.newsletter-privacy a {
    color: rgba(255,255,255,0.9);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    background-color: #f8f9fa;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    background: #4a7c59;
    color: white;
    padding: 15px;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #2c5530;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4a7c59;
}

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

/* Footer */
.footer {
    background-color: #2c5530;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand h3 {
    color: white;
    margin: 0;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255,255,255,0.8);
}

/* Cookie Management */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #2c5530;
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.cookie-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 5px;
}

.cookie-category label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-category p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.cookie-modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Blog Styles */
.blog-header {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.blog-header h1 {
    color: white;
    margin-bottom: 1rem;
}

.blog-header p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
}

.blog-articles {
    padding: 80px 0;
    background: white;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.article-card.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

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

.article-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #666;
}

.article-date {
    color: #4a7c59;
}

.article-category {
    background: #4a7c59;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.article-content h2,
.article-content h3 {
    margin-bottom: 0.5rem;
}

.article-content h2 a,
.article-content h3 a {
    color: #2c5530;
}

.article-content p {
    margin-bottom: 1rem;
    color: #666;
}

.read-more {
    color: #4a7c59;
    font-weight: 600;
    text-decoration: none;
}

.read-more:hover {
    color: #2c5530;
}

.blog-newsletter {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 4rem;
}

/* Article Single Page */
.article-single {
    padding: 2rem 0 4rem;
    background: white;
}

.article-header {
    max-width: 800px;
    margin: 0 auto 3rem;
    text-align: center;
}

.breadcrumb {
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #4a7c59;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.reading-time {
    color: #888;
}

.article-lead {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
    line-height: 1.6;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.article-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #2c5530;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #4a7c59;
}

.article-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

/* Special content boxes */
.highlight-box,
.stats-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    border-left: 4px solid;
}

.highlight-box {
    background: #f8f9fa;
    border-left-color: #4a7c59;
}

.stats-box {
    background: #e8f5e8;
    border-left-color: #4a7c59;
}

.warning-box {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.calculation-example {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #e9ecef;
}

.calculation-example h4 {
    color: #2c5530;
    margin-bottom: 1rem;
}

.timeline {
    margin: 2rem 0;
}

.timeline ul {
    list-style: none;
    padding-left: 0;
}

.timeline li {
    padding: 0.5rem 0;
    border-left: 3px solid #4a7c59;
    padding-left: 1rem;
    margin-left: 1rem;
}

.important-dates {
    background: #e8f5e8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.comparison-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background: #4a7c59;
    color: white;
    font-weight: 600;
}

.comparison-table tr:hover {
    background: #f8f9fa;
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cookie-table th,
.cookie-table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.cookie-table th {
    background: #2c5530;
    color: white;
    font-weight: 600;
}

.article-cta {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 3rem 0;
}

.article-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.article-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.article-footer {
    max-width: 800px;
    margin: 3rem auto 0;
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
}

.article-tags {
    margin-bottom: 2rem;
}

.article-tags span {
    font-weight: 600;
    margin-right: 1rem;
}

.article-tags a {
    display: inline-block;
    background: #f8f9fa;
    color: #4a7c59;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    margin: 0.25rem;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.article-tags a:hover {
    background: #4a7c59;
    color: white;
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-prev,
.nav-next {
    flex: 1;
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-prev:hover,
.nav-next:hover {
    border-color: #4a7c59;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-next {
    text-align: right;
}

.nav-prev span,
.nav-next span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.nav-prev strong,
.nav-next strong {
    color: #2c5530;
}

/* Related Articles */
.related-articles {
    background: #f8f9fa;
    padding: 60px 0;
}

.related-articles h2 {
    text-align: center;
    margin-bottom: 2rem;
}

/* Legal Content */
.legal-content {
    padding: 60px 0;
    background: white;
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h1 {
    margin-bottom: 1rem;
    color: #2c5530;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #2c5530;
    margin-bottom: 1rem;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 0.5rem;
}

.legal-section h3 {
    color: #4a7c59;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-section ul,
.legal-section ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

/* Thank You Section */
.thank-you-section {
    padding: 100px 0;
    text-align: center;
    background: white;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-icon {
    margin-bottom: 2rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 2rem;
}

.thank-you-details {
    text-align: left;
    margin: 2rem 0;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.thank-you-details h3 {
    margin-bottom: 1rem;
    color: #2c5530;
}

.thank-you-details ul {
    list-style-type: none;
    padding-left: 0;
}

.thank-you-details li {
    padding: 0.5rem 0;
    border-left: 3px solid #4a7c59;
    padding-left: 1rem;
    margin-left: 1rem;
    margin-bottom: 0.5rem;
}

.thank-you-actions {
    margin-top: 3rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: left 0.3s ease;
        padding-top: 2rem;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero Mobile */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* About Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        justify-content: space-around;
    }
    
    /* Contact Mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Newsletter Mobile */
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Cookie Mobile */
    .cookie-buttons {
        flex-direction: column;
    }
    
    /* Blog Mobile */
    .article-card.featured {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    /* Article Navigation Mobile */
    .article-navigation {
        flex-direction: column;
    }
    
    /* Action Buttons Mobile */
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Table Mobile */
    .comparison-table,
    .cookie-table {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .cookie-modal-content {
        padding: 1.5rem;
    }
    
    .cookie-modal-buttons {
        flex-direction: column;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-banner,
    .cookie-modal,
    .article-cta,
    .footer {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        background: none;
        color: black;
    }
    
    .article-single {
        padding: 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #4a7c59;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .testimonial-card,
    .article-card {
        border: 2px solid #000;
    }
}
