/* 
 * A Pleasure To Walk - Dog Walking Business Website
 * Main Styles
 */

/* ===== Base Styles ===== */
:root {
    /* Color Variables */
    --primary-color: #4CAF50;
    --primary-dark: #388E3C;
    --primary-light: #A5D6A7;
    --secondary-color: #FFA000;
    --text-color: #333333;
    --text-light: #666666;
    --background-color: #FFFFFF;
    --background-alt: #F5F5F5;
    --border-color: #E0E0E0;
    --success-color: #4CAF50;
    --error-color: #F44336;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 15px;
}

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

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

.btn {
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.section {
    padding: var(--section-padding);
    position: relative;
}

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

/* ===== Navigation ===== */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 600;
    color: var(--text-color);
    margin: 0 10px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* ===== Home Section ===== */
#home {
    padding-top: 120px;
}

.hero-content {
    padding-right: 2rem;
}

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

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

/* Carousel Styling */
.carousel {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
}

.carousel-placeholder {
    height: 350px;
    background-color: var(--background-alt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    border-radius: 10px;
}

.carousel-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--background-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* ===== Services Section ===== */
#services {
    background-color: var(--background-alt);
}

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

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1rem 0;
}

/* Testimonials */
.testimonial-card {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.testimonial-content {
    font-style: italic;
    position: relative;
    padding: 0 1rem;
}

.testimonial-content:before,
.testimonial-content:after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-light);
    position: absolute;
}

.testimonial-content:before {
    top: -10px;
    left: -10px;
}

.testimonial-content:after {
    bottom: -30px;
    right: -10px;
}

.testimonial-author {
    margin-top: 1.5rem;
    text-align: right;
}

/* ===== Booking Section ===== */
.booking-note {
    color: var(--text-light);
    font-style: italic;
}

.calendar-container,
.booking-form-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.calendar-placeholder {
    height: 300px;
    background-color: var(--background-alt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    border-radius: 5px;
}

.calendar-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Calendar Legend Styles */
.calendar-legend {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding: 10px;
    background-color: var(--background-alt);
    border-radius: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 3px;
    margin-right: 5px;
}

.legend-available {
    background-color: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.legend-partial {
    background-color: rgba(255, 160, 0, 0.2);
    border: 1px solid rgba(255, 160, 0, 0.5);
}

.legend-booked {
    background-color: rgba(244, 67, 54, 0.2);
    border: 1px solid rgba(244, 67, 54, 0.5);
}

/* Payment Section */
.payment-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.booking-summary {
    background-color: var(--background-alt);
    border-radius: 5px;
    padding: 1.5rem;
}

.total-amount {
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.card-placeholder {
    height: 60px;
    background-color: var(--background-alt);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    border-radius: 5px;
}

.card-placeholder i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Confirmation Section */
.confirmation-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 3rem 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.confirmation-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.5rem;
}

/* ===== FAQ Section ===== */
#faq {
    background-color: var(--background-color);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
    font-family: var(--heading-font);
    font-weight: 600;
    padding: 1.25rem;
    background-color: var(--background-color);
    color: var(--text-color);
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: rgba(76, 175, 80, 0.05);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(76, 175, 80, 0.1);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234CAF50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}

.accordion-body {
    padding: 1.25rem;
    background-color: var(--background-color);
}

.accordion-body p {
    margin-bottom: 0;
    color: var(--text-light);
}

.accordion-body a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.accordion-body a:hover {
    text-decoration: underline;
}

/* ===== Social Media Section ===== */
#social {
    background-color: var(--background-alt);
}

.social-feed-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.social-feed {
    margin-bottom: 2rem;
}

.social-post {
    margin-bottom: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.social-post-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.social-post-content {
    padding: 1rem;
}

.social-post-image img {
    width: 100%;
    height: auto;
}

.social-icons-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 1rem;
}

.social-icon-large {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.25rem;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon-large:hover {
    transform: scale(1.1);
    background-color: var(--primary-dark);
    color: white;
}

.social-share-buttons {
    text-align: right;
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
}

.share-text {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.share-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ===== Contact Section ===== */
#contact {
    background-color: var(--background-alt);
}

.contact-info,
.contact-form-container {
    background-color: var(--background-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    min-width: 30px;
    text-align: center;
}

.contact-item h5 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-item p {
    margin-bottom: 0.25rem;
    color: var(--text-light);
}

/* ===== Footer ===== */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1.5rem;
}

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

.footer p {
    color: rgba(255, 255, 255, 0.8);
}

.footer i {
    margin-right: 10px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
}

.copyright {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}
