/* Photography Workshop Template - Main CSS */

/* Color Variables */
:root {
    --primary-color: #3b6599;
    --secondary-color: #feae61;
    --accent-color: #db5a4d;
    --neutral-color: #21465b;
    --light-color: #F1F8FF;
    
    /* Light and Dark Shades */
    --primary-light: #5989b6;
    --primary-dark: #27506b;
    --secondary-light: #f2a874;
    --secondary-dark: #fdb046;
    --accent-light: #f79f84;
    --accent-dark: #c36237;
    --neutral-light: #4a7e88;
    --neutral-dark: #182a2f;
    --light-dark: #dceaf8;
}

/* 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.61rem; font-weight: 700; margin-bottom: 1rem; }
h2 { font-size: 2rem; font-weight: 600; margin-bottom: 0.89rem; }
h3 { font-size: 1.58rem; font-weight: 500; margin-bottom: 0.71rem; }
h4 { font-size: 1.39rem; font-weight: 500; margin-bottom: 0.57rem; }
h5 { font-size: 1.13rem; font-weight: 500; margin-bottom: 0.56rem; }
h6 { font-size: 1rem; font-weight: 500; margin-bottom: 0.53rem; }

p { font-size: 1rem; margin-bottom: 1rem; }

/* Header Navigation */
.navbar {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 3px 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;
}

.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('../XET_images/hero-photography.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.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.87rem;
    margin-bottom: 1.72rem;
}

.hero-content p {
    color: var(--neutral-color);
    font-size: 1.23rem;
    max-width: 500px;
}

.hero-image {
    position: relative;
    z-index: 2;
}

.hero-image img {
    border-radius: 110px;
    box-shadow: 0 23px 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 16px 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(-14px);
    box-shadow: 0 210px 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: 110px;
    box-shadow: 0 14px 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(-13px);
    box-shadow: 0 24px 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 11px 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 15px 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(-12px);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-11px);
}

.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 11px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.team-member:hover {
    transform: translateY(-13px);
}

.team-member img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-member h5 {
    color: var(--primary-color);
    margin-bottom: 0.64rem;
}

.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.15rem;
}

.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.57rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.process-step h5 {
    color: var(--primary-color);
    margin-bottom: 0.64rem;
}

/* 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.68rem;
}

/* 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 #c1cfd7;
    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(35, 67, 106, 0.25);
}

.contact-info {
    padding: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.21rem;
}

.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.57rem;
}

/* 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: #b8a8a9;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: var(--secondary-color);
}

.footer p {
    color: #b5a8a9;
    margin-bottom: 0.66rem;
}

/* 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.73rem;
}

/* 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 */
#bfabcck-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);
}

#b19ecdk-to-top.show {
    opacity: 1;
    visibility: visible;
}

#c1adcfk-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 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.35rem;
}

/* Success alert improvements */
.alert-success {
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #cddbcf, #c7dacc);
    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 - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
