/* Global Styles */
:root {
    --primary-color: #E2FFAD;  /* Bright lime green as dominant color */
    --secondary-color: #B9FFAD; /* Yellow accent */
    --accent-color: #FFF3AD; /* Light green accent */
    --text-color: #000000;
    --light-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Georgia, serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Add header fonts */
h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Navigation */
.navbar {
    background-color: transparent !important;
    backdrop-filter: blur(5px);
    padding: 0.5rem 0;
    transition: transform 0.3s ease-in-out;
    min-height: 60px;
    transform: translateY(0);
}

.navbar.scrolled {
    background-color: transparent !important;
}

.navbar-brand {
    font-weight: 700;
    color: var(--light-color);
    display: flex; /* Added flex display */
    align-items: center; /* Center items vertically */
    gap: 10px; /* Space between logo and text */
}

/* Logo styling */
.navbar-brand img.popup-book {
    width: 40px; /* Reduced size */
    height: 40px; /* Reduced size */
    margin: 0; /* Remove margins */
    object-fit: contain; /* Ensure image fits */
}

.nav-link {
    color: var(--light-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--secondary-color);
}

/* Parallax Sections */
.parallax-section {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-color);
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    z-index: 1;
    padding: 100px 0; /* Add consistent padding */
}

.parallax-section::before { /* Add this entire block */
    content: '';
    position: absolute;
    top: -50px; /* Extra padding to prevent gaps */
    left: 0;
    right: 0;
    bottom: -50px; /* Extra padding to prevent gaps */
    background: inherit;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

#home {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
        url('jeshoots-com-pUAM5hPaCRI-unsplash.jpg');
}

#services {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
        url('florian-klauer-mk7D-4UCfmg-unsplash.jpg');
    min-height: 80vh;
}

/* Service Cards Container */
#services .container {
    padding: 60px 0;
}

#services .row {
    margin-top: 40px;
    margin-bottom: 40px;
}

#contact {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('karsten-wurth-7BjhtdogU3A-unsplash.jpg');
    min-height: 80vh;
}

/* Hero Content */
.hero-content {
    text-align: center;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

/* Service Cards */
.service-card {
    background-color: #000000;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card svg {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* Work Cards */
.work-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.work-card img {
    transition: transform 0.3s ease;
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: var(--light-color);
}

.work-card:hover img {
    transform: scale(1.1);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.contact-form h2 {
    color: var(--text-color);
}

.form-control {
    border: none;
    border-bottom: 2px solid #ffffff;
    border-radius: 0;
    padding: 0.75rem 0;
    background: transparent;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--secondary-color);
}

/* Stats */
.stat-item {
    text-align: center;
}

.stat-item svg {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 4rem 0 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    color: var(--text-color);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
}

/* Button Styles */
.btn-craft-story {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-color);
    font-size: 1.4rem;
    padding: 0.8rem 1.6rem;
    font-weight: bold;
    border-radius: 8px;
}

.btn-craft-story:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
}

/* Read More Button */
#readMoreBtn {
    display: inline;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
    padding: 0;
    border: none;
    background: none;
    margin: 0;
}

#readMoreBtn:hover {
    color: #0a58ca;
    text-decoration: underline;
}

/* Guide popup styling */
.guide-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1050;
}

.guide-popup-inner {
    background: #fff;
    padding: 16px;
    border-radius: 10px;
    max-width: 600px;
    display: flex;
    align-items: center;
    box-shadow: 0 6px 24px rgba(0,0,0,0.16);
    position: relative;
}

.popup-book {
    width: 72px;
    height: auto;
    margin-right: 16px;
    margin-top: 32px;
}

.btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}

/* Contact Section Enhancements */
#contact img {
    max-width: 100%;
    transition: transform 0.3s ease;
}

#contact img:hover {
    transform: scale(1.02);
}

#contact .benefits {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

#contact .bi-check-circle-fill {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 2rem;
    }
}
