/* Photography Workshop Template - Main CSS */

/* Color Variables */
:root {
    --primary-color: #286990;
    --secondary-color: #ffa469;
    --accent-color: #d1574a;
    --neutral-color: #344b5e;
    --light-color: #F1F8FF;

    /* Light and Dark Shades */
    --primary-light: #457caf;
    --primary-dark: #27516f;
    --secondary-light: #ffc584;
    --secondary-dark: #e8ac61;
    --accent-light: #e9977b;
    --accent-dark: #bf5842;
    --neutral-light: #4e727f;
    --neutral-dark: #152b30;
    --light-dark: #ffffff;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--neutral-color);
    background-color: #fff;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Typography */
h1 {
    font-size: 2.54rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.00rem;
}

h3 {
    font-size: 1.59rem;
    font-weight: 500;
    margin-bottom: 0.78rem;
}

h4 {
    font-size: 1.31rem;
    font-weight: 500;
    margin-bottom: 0.59rem;
}

h5 {
    font-size: 1.14rem;
    font-weight: 500;
    margin-bottom: 0.54rem;
}

h6 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.42rem;
}

p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

/* Header Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.54rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Hero Section */
.hero-section h1 {
    padding-top: 150px !important;
}

.hero-section {
    background: linear-gradient(135deg, var(--light-color), var(--light-dark));
    min-height: 100vh;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../BUP_images/hero-photography.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content h1 {
    padding-top: 100px !important;
}

.hero-content {
    padding-top: 50px !important;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
    padding-top: 50px !important;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content h2 {
    color: var(--secondary-color);
    font-size: 1.83rem;
    margin-bottom: 1.74rem;
}

.hero-content p {
    color: var(--neutral-color);
    font-size: 1.12rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 17px;
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.15);
    width: 100%;
    height: auto;
    max-width: 600px;
    max-height: 400px;
    object-fit: cover;
}

/* Section Styling */
.py-5 {
    padding: 4rem 0;
}

section {
    position: relative;
}

.bg-light {
    background: linear-gradient(135deg, var(--light-color), #ffffff) !important;
}

/* About Section */
.about-section .feature-card {
    text-align: center;
    padding: 2rem;
    border-radius: 110px;
    background: white;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.about-section .feature-card:hover {
    transform: translateY(-13px);
    box-shadow: 0 29px 40px rgba(0, 0, 0, 0.15);
}

.about-section .feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-section .feature-card h4 {
    color: var(--neutral-color);
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, var(--light-color), white);
}

.service-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 21px 40px rgba(0, 0, 0, 0.15);
}

.service-card .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-card ul li {
    padding: 0.3rem 0;
    color: var(--neutral-color);
}

.service-card ul li::before {
    content: 'âœ“';
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-card .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-top: 1rem;
}

/* Features Section */
.features-section .feature-item {
    text-align: center;
    padding: 2rem;
    border-radius: 15px;
    background: white;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.features-section .feature-item:hover {
    transform: translateY(-5px);
}

.features-section .feature-item i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
    background: linear-gradient(135deg, var(--neutral-color), var(--neutral-light));
    color: white;
}

.price-card {
    background: white;
    color: var(--neutral-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.price-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    transform: scale(1.05);
}

.price-card:hover {
    transform: translateY(-11px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.price-card ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-card ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 1rem;
}

.price-card.featured .price {
    color: var(--secondary-color);
}

/* Team Section */
.team-section {
    background: linear-gradient(135deg, var(--light-color), white);
}

.team-member {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-11px);
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h5 {
    color: var(--primary-color);
    margin-bottom: 0.59rem;
}

.team-member p {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Reviews Section */
.reviews-section {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
    color: white;
}

.review-card {
    background: white;
    color: var(--neutral-color);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-10px);
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.13rem;
}

.review-card h6 {
    color: var(--primary-color);
    font-weight: 600;
    text-align: right;
}

/* Case Study Section */
.case-card,
.career-card,
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.case-card:hover,
.career-card:hover,
.info-card:hover {
    transform: translateY(-5px);
}

.case-card h4,
.career-card h4,
.info-card h5 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Process Section */
.process-step {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.process-step:hover {
    transform: translateY(-5px);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.62rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    color: var(--primary-color);
    margin-bottom: 0.68rem;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
    position: relative;
    width: 45%;
}

.timeline-item:nth-child(odd) {
    margin-left: 0;
}

.timeline-item:nth-child(even) {
    margin-left: 55%;
}

.timeline-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
    right: -35px;
}

.timeline-item:nth-child(even)::before {
    left: -35px;
}

.timeline-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.66rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--light-color), white);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    border: 2px solid #ddddde;
    border-radius: 10px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(47, 112, 151, 0.25);
}

.contact-info {
    padding: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.16rem;
}

.contact-info i {
    color: var(--accent-color);
    margin-right: 1rem;
    width: 20px;
}

/* Blog Section */
.blog-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.faq-card:hover {
    transform: translateY(-3px);
}

.faq-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.66rem;
}

/* Gallery Section */
.gallery-section {
    background: var(--neutral-color);
    padding: 4rem 0;
}

.gallery-section img {
    border-radius: 10px;
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-section img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--neutral-color), var(--neutral-dark));
    color: white;
}

.footer h5,
.footer h6 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer ul li a {
    color: #c8c5c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.footer p {
    color: #b3a8a9;
    margin-bottom: 0.68rem;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Breadcrumb */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--light-color), white);
    padding: 2rem 0;
    margin-top: 80px;
}

.breadcrumb-img {
    height: 40px;
    width: auto;
}

/* Space Container */
.space-container {
    min-height: 70vh;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, var(--light-color), white);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Additional Page Sections */
.page-section {
    padding: 4rem 0;
}

.element-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.element-card:hover {
    transform: translateY(-5px);
}

.element-card h5 {
    color: var(--primary-color);
    margin-bottom: 0.62rem;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.57rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

/* Image Specifications */
img {
    max-width: 100%;
    height: auto;
}

/* Ensure proper image sizing in CSS */
.hero-image img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
}

.service-card img,
.gallery-section img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
}

/* Back to Top Button */
#a58eb6k-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

#a38cbek-to-top.show {
    opacity: 1;
    visibility: visible;
}

#9d8bb3k-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 13px 25px rgba(0, 0, 0, 0.3);
}

/* Additional Improvements */
.navbar.scrolled {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Error message styling */
.error-message {
    font-size: 0.98rem;
    margin-top: 0.45rem;
}

/* Success alert improvements */
.alert-success {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #c1d8c6, #b8eac8);
    color: var(--neutral-color);
}

/* Color Classes */
h1,
h2 {
    color: var(--primary-color);
}

h4,
h5 {
    color: var(--primary-color);
}

.feature-card i {
    color: var(--primary-color);
}

.features-section .feature-item i {
    color: var(--secondary-color);
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }

    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}