@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap');

/* Accessibility - Skip to main content link */
.skip-to-main {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background-color: #4a9eff;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.skip-to-main:focus {
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
}

/* General Styles */
body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #e0e0e0;
}

h1, h2, h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700; /* Use a bolder weight for headings */
}

h1 {
    color: #ffaa00; /* Gold color for main page titles */
}

h2 {
    color: #4a9eff; /* Blue color for section headings */
}

a {
    color: #4a9eff;
    text-decoration: none;
}

a:hover {
    color: #66b3ff;
    text-decoration: underline;
}

/* Header */
header {
    background: #2a2a2a;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    padding: 0.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e0e0e0;
    display: block;
    line-height: 0;
}

.logo img {
    height: 90px;
    width: auto;
    display: block;
    margin: 0;
    padding: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    font-size: 1.1rem;
    font-weight: 500;
}

.nav-image-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.nav-image-stack {
    position: relative;
    display: inline-block;
    width: 96px;
    height: 32px;
    overflow: visible;
}

.nav-image-base,
.nav-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav-image-overlay {
    z-index: 1;
    transform: translate(-7px, -2px) scale(0.82);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-image-base {
    z-index: 0;
    transform: translate(-7px, 16%) scale(1.8);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-image-link:hover .nav-image-base {
    transform: translate(-11px, 20%) scale(1.88) rotate(-3deg);
}

.nav-image-link:hover .nav-image-overlay {
    transform: translate(-3px, -8px) scale(0.86) rotate(3deg);
}

.nav-image-link:active .nav-image-base {
    transform: translate(-5px, 26%) scale(1.72) rotate(2deg);
}

.nav-image-link:active .nav-image-overlay {
    transform: translate(-9px, 0) scale(0.78) rotate(-2deg);
}

/* Main Content */
main {
    width: 90%;
    max-width: 1100px;
    margin: 2rem auto;
}

section {
    padding: 3rem 0;
    border-bottom: 1px solid #444;
}

section:last-of-type {
    border-bottom: none;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

/* Hero Section */
#hero {
    text-align: center;
    padding: 4rem 1rem;
    background: linear-gradient(to right, rgba(74, 26, 92, 0.85), rgba(26, 74, 124, 0.85)), url('images/IMG_4684.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: 8px;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: white;
    /* text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, -2px 0 0 #000, 2px 0 0 #000, 0 -2px 0 #000, 0 2px 0 #000; */
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0 auto;
    /* text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, -1px 0 0 #000, 1px 0 0 #000, 0 -1px 0 #000, 0 1px 0 #000; */
}

.cta-button {
    background: #4a9eff;
    color: #000000;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    display: inline-block;
    margin-top: 1rem;
    border: 2px solid transparent;
    text-align: center;
}

.cta-button:hover {
    background: #66b3ff;
    color: #000000;
}

/* Services Section */
.service-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}

.card h3,
.card p {
    position: relative;
    z-index: 2;
}

.card h3 {
    margin-top: 0;
    color: #ffaa00;
    font-size: 1.5rem;
}

.card-uncover {
    background-image: url('images/card-uncover-bg.JPG');
}

.card-truth {
    background-image: url('images/card-truth-bg.JPG');
}

.card-art {
    background-image: url('images/card-art-bg.JPG');
}

/* Testimonials Section */
.testimonial-container {
    position: relative;
    min-height: 150px; /* Adjust height to fit the tallest quote */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.testimonial-card {
    background: #2a2a2a;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: absolute;
    width: 80%;
    max-width: 700px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.5s ease-in-out, visibility 1.5s;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
}

.testimonial-card p {
    font-style: italic;
    margin: 0;
    font-size: 1.2rem;
}

/* About Section */
#about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
}

/* About Section with Image */
.about-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.about-image {
    flex: 0 0 auto;
    width: 180px; /* Reduced from 220px to 180px */
}

.profile-photo {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    object-fit: cover;
    aspect-ratio: auto;
}

/* Make it responsive for mobile - this section can stay as is 
   since we're already using a column layout for all screen sizes */
@media (max-width: 768px) {
    .about-image {
        max-width: 160px; /* Also reduced from 200px to 160px */
    }
}

/* Contact Section */
#contact {
    text-align: center;
}

#contact p {
    margin-bottom: 2rem;
}

#contact .cta-button {
    background: #4a9eff;
    color: #1a1a1a;
}

#contact .cta-button:hover {
    background: #66b3ff;
}


/* Footer */
footer {
    text-align: center;
    padding: 2rem 0;
    background: #0f0f0f;
    color: #b0b0b0;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        justify-content: center;
    }

    nav ul li a {
        font-size: 1rem;
    }

    .nav-image-stack {
        width: 86px;
        height: 28px;
    }

    #hero h1 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1200px) {
    nav ul li a {
        font-size: 1.2rem;
    }
}

/* services.html - Package Cards */
.package-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.package-card {
    background: #333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.package-card h3 {
    margin-top: 0;
    color: #4a9eff;
    font-size: 1.5rem;
}

.package-card .price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffaa00;
    margin-bottom: 1.5rem;
}

.package-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
}

.package-card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.package-card ul li::before {
    content: '✔';
    color: #4a9eff;
    position: absolute;
    left: 0;
}

.package-card .cta-button {
    margin-top: auto;
}

/* blog.html */
.blog-post {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #444;
}

.blog-post h3 {
    margin-top: 0;
    color: #4a9eff;
}

.post-meta {
    font-style: italic;
    color: #888;
    margin-bottom: 1rem;
}

.read-more {
    font-weight: bold;
}

/* Blog List on blog.html */
.blog-list .blog-entry {
    background: #2a2a2a;
    padding: 0;
    border-radius: 8px;
    margin-bottom: 2rem;
    border: 1px solid #444;
    display: flex;
    gap: 0;
    align-items: stretch;
    overflow: hidden;
}

.blog-list .blog-entry .blog-thumbnail {
    flex-shrink: 0;
    width: 250px;
    overflow: hidden;
    display: block;
    transition: opacity 0.3s ease;
}

.blog-list .blog-entry .blog-thumbnail:hover {
    opacity: 0.8;
}

.blog-list .blog-entry .blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-list .blog-entry .blog-content {
    flex: 1;
    padding: 2rem;
}

.blog-list .blog-entry h3 {
    margin-top: 0;
    color: #4a9eff;
}

.blog-list .blog-entry h3 a {
    color: #4a9eff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-list .blog-entry h3 a:hover {
    color: #66b3ff;
}

/* Responsive blog entries for mobile */
@media (max-width: 600px) {
    .blog-list .blog-entry {
        flex-direction: column;
    }
    
    .blog-list .blog-entry .blog-thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* Single Blog Post Page */
#blog-post-full .blog-post h1 {
    margin-top: 0;
    color: #4a9eff;
    font-size: 2.5rem;
}

#blog-post-full .blog-post p {
    line-height: 1.7;
    font-size: 1.1rem;
}

/* Style for images within a blog post */
.blog-post-image {
    max-width: 100%; /* Ensures the image is never wider than its container */
    height: auto; /* Maintains the image's aspect ratio */
    border-radius: 8px; /* Optional: gives the image rounded corners */
    margin: 2rem 0; /* Adds space above and below the image */
    display: block; /* Helps with centering if you add margin: auto */
    margin-left: auto;
    margin-right: auto;
}

/* Additional Info Section on Services Page */
#additionalinfo {
    text-align: center;
    color: #a7a7a7;
}

#additionalinfo .info-content {
    max-width: 800px;
    margin: 0 auto;
}

/* reviews.html */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.review-card {
    background: #333;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    text-align: center;
}

.review-card h3 {
    margin-top: 0;
    color: #4a9eff;
}

.review-card p {
    font-style: italic;
    margin: 0;
    font-size: 1.2rem;
}

/* faq.html */
.faq-item {
    background: #2a2a2a;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #444;
}

.faq-item h3 {
    margin-top: 0;
    color: #4a9eff;
}

/* Payment Buttons Styling */
.payment-buttons {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin: 2rem 0;
}

.payment-buttons h3 {
    margin-top: 0;
    color: #4a9eff;
}

.payment-buttons .cta-button {
    margin: 0.5rem 0.5rem;
    min-width: 250px;
    display: inline-block;
}

.paypal-button {
    background: #0070ba;
}

.paypal-button:hover {
    background: #005ea6;
}

.payment-note {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Thank You Page Styling - Updated for full centering */
#thank-you {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

#thank-you h1, 
#thank-you h2, 
#thank-you p {
    text-align: center;
}

#thank-you ol {
    text-align: center;
    margin: 2rem auto;
    max-width: 500px;
    list-style-position: inside; /* Keeps bullets/numbers inside the centered text */
}

#thank-you li {
    margin-bottom: 1rem;
    text-align: center;
}

/* Cookie Consent Popup */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-top: 3px solid #ffaa00;
    padding: 1.5rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.cookie-content h3 {
    color: #ffaa00;
    margin: 0;
    font-size: 1.4rem;
}

.cookie-content p {
    color: #ccc;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 700px;
}

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

.cookie-btn {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.accept-btn {
    background: #ffaa00;
    color: #1a1a1a;
}

.accept-btn:hover {
    background: #ffc240;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 170, 0, 0.3);
}

.decline-btn {
    background: transparent;
    color: #ccc;
    border: 2px solid #555;
}

.decline-btn:hover {
    background: #333;
    border-color: #777;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-consent {
        padding: 1rem;
    }
    
    .cookie-content h3 {
        font-size: 1.2rem;
    }
    
    .cookie-content p {
        font-size: 0.9rem;
    }
    
    .cookie-buttons {
        width: 100%;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
    }
}

/* Specific fix for iPhone SE and similar small screens (375x667) */
/* Smaller mobile screens - navigation and testimonial fixes */
@media (max-width: 480px) {
    /* Fix navigation overflow on small screens */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    nav ul li a {
        font-size: 0.9rem;
        padding: 0.4rem 0.7rem;
    }

    .nav-image-stack {
        width: 78px;
        height: 24px;
    }
    
    /* Add more spacing between hero and testimonials to prevent overlap */
    .testimonial-container {
        margin-top: 3rem;
        min-height: 250px; /* Increased height for longer testimonials */
    }
    
    /* Ensure testimonial cards don't overflow or overlap */
    .testimonial-card {
        width: 95%;
        padding: 1.5rem;
        font-size: 0.95rem;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .testimonial-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Adjust hero section padding for smaller screens */
    #hero {
        padding: 3rem 1rem;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero p {
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    /* Extra small screens - additional adjustments */
    nav ul {
        gap: 0.4rem;
        padding: 0.5rem 0.25rem;
    }
    
    nav ul li a {
        font-size: 0.85rem;
        padding: 0.3rem 0.5rem;
    }

    .nav-image-stack {
        width: 72px;
        height: 22px;
    }
    
    .testimonial-container {
        min-height: 280px; /* More height for very small screens */
        margin-top: 3.5rem;
    }
    
    .testimonial-card {
        width: 95%;
        padding: 1.2rem;
    }
    
    .testimonial-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    #hero h1 {
        font-size: 1.8rem;
    }
    
    #hero p {
        font-size: 0.9rem;
    }
}
