@charset "utf-8";

/* Responsive Layouts */
@media screen and (max-width: 768px) {
    body {
        max-width: 100%;
    }

    .center, img {
        width: 95%;
    }

    p, h1 {
        padding-left: 20px;
        padding-right: 20px;
        text-indent: 0;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-text, .about-image {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .about-text {
        padding: 20px 0;
    }
}

@media screen and (max-width: 480px) {
    .center, img {
        width: 100%;
    }

    p, h1 {
        padding-left: 10px;
        padding-right: 10px;
    }

    h1 {
        font-size: 24px;
    }
}

/* Header */
.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
}

header img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* HTML & Body */
html {
    background-color: lightsteelblue;
}

body {
    max-width: 1200px;
    margin: auto;
    color: white;
    background-color: rgba(26, 26, 26, 255);
    font-family: 'Candara', 'Arial', sans-serif;
}

/* About Section */
.flex-container {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2px;
}

.about-section {
    background-color: #f9f9f9;
    color: #333;
    padding: 40px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1000px;
    margin: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.about-text {
    flex: 1 1 60%;
    min-width: 350px;
    padding: 30px 40px 30px 30px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-top: 20px;
    color: #666;
}

.about-image {
    flex: 1 1 35%;
    max-width: 400px;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.separating-line {
    height: 2px;
    background-color: #fff;
    width: 100%;
}

/* Photo Categories (Explore Sessions) */
.photo-categories {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
}

.category-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.category-card .card-body {
    background-color: transparent;
}

.category-card .card-title {
    font-size: 1.2rem;
    color: #007bff;
    margin-top: 10px;
}

.category-card img {
    border-radius: 10px;
    height: 220px;
    object-fit: cover;
}

/* Navigation */
nav.horizontalNavigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #333;
}

nav.horizontalNavigation li {
    float: left;
}

nav.horizontalNavigation a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

nav.horizontalNavigation a:hover {
    background-color: #111;
}

/* Left Column */
section#leftColumn {
    clear: left;
    float: left;
    padding: 1.5em;
    width: 33%;
}

/* Headings */
h1 {
    font-size: 30px;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
    padding-left: 50px;
    padding-right: 50px;
}

section#contact_info h1 {
    color: white;
    background-color: rgb(40, 59, 128);
}

/* Paragraphs */
p {
    text-indent: 0;
    padding-left: 50px;
    padding-right: 50px;
}

/* Images */
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 80%;
    height: auto;
}

/* Image Hover Effects */
.image-container {
    overflow: hidden;
    position: relative;
    z-index: 1;
    padding-bottom: 8px;
}

.image-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: bottom;
}

.image-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.senior-img {
    object-position: top;
  }

/* Testimonials */
.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card {
    margin-bottom: 20px;
    padding-top: 15px; /* Add this line */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); /* Optional: subtle shadow for style */
    border-radius: 6px; /* Optional: soft rounded corners */
  }
  

.card-body {
    background-color: transparent;
    color: #333;
    padding: 15px;
  }

.card-title {
    color: #007bff;
    margin-bottom: 0.75rem;
}

.card-text {
    margin-bottom: 0;
}

.card-body > img:first-child {
    margin-top: -20px;
}

/* Footer */
footer {
    background-color: rgb(40, 59, 128);
    color: rgba(255, 255, 255, 0.7);
    font: normal small-caps bold 0.9em/3em Quicksand, Verdana, Geneva, sans-serif;
    text-align: center;
}

/* Image Grid */
.image-grid-item:hover p {
    color: white;
}

.image-grid-item img {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.image-grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.7;
}

.contact-section {
    background-color: #f5f5f5;
    color: #333;
    padding: 40px 0 30px;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.6;
    border-top: 1px solid #ddd;
  }
  
  .contact-section h2 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
  }
  
  .contact-section p {
    margin: 10px 0;
  }
  
  .contact-section a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .contact-section a:hover {
    color: #0056b3;
    text-decoration: underline;
  }
  

  .horizontal-gallery {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 30px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #888 #f4f4f4;
}

.horizontal-gallery::-webkit-scrollbar {
    height: 10px;
}

.horizontal-gallery::-webkit-scrollbar-thumb {
    background-color: #aaa;
    border-radius: 5px;
}

.horizontal-gallery img {
    height: 300px;
    border-radius: 10px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.horizontal-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-slide img {
    max-width: none !important;
  }
  