/* ================================================
   Custom Styles for Barber Shop Application
   ================================================ */

/* Homepage - Thumb Content (Make Appointment Button) */
.thumb-content-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.thumb-content-box:hover .thumb-content {
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.thumb-content {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Guest Booking Section */
.appointment-info-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.info-item i {
    font-size: 24px;
    color: #d4a373;
    margin-right: 20px;
    min-width: 30px;
}

.info-item p {
    margin: 0;
    font-size: 16px;
}

.guest-booking-placeholder {
    background: #fff;
    padding: 60px 40px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

.placeholder-content i {
    color: #d4a373;
}

/* Pricing Area - Equal Height Cards */
.pricing-area .row {
    display: flex;
    flex-wrap: wrap;
}

.pricing-area .row:not(.justify-content-center) > [class*="col-"] {
    display: flex;
}

.pricing-area .properties {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.pricing-area .properties-caption {
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: center;
}

.pricing-area .properties-caption h3 {
    text-align: left;
    margin-left: 20px;
}

.pricing-area .price {
    text-align: left;
    margin-left: 20px;
}

.pricing-area .pricing-features {
    flex: 1;
    text-align: left;
}

.pricing-area .border-btn {
    display: inline-block;
    width: auto;
    max-width: 200px;
    margin: 20px auto 0;
    text-align: center;
    padding: 15px 30px;
}

/* Pricing Features */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:before {
    content: " ";
    color: #d4a373;
    font-weight: bold;
    margin-right: 10px;
}

/* User Info in Header */
.user-info {
    color: #fff;
    font-size: 14px;
}

/* Mobile responsive */
@media (max-width: 991px) {
    .user-info {
        display: none; /* Hide on mobile to save space */
    }
}

/* ================================================
   Add more custom styles below
   ================================================ */

/* Login Page - Remember Me Checkbox */
.form-check-label {
    margin-left: 8px;
    cursor: pointer;
}

.madji-img-footer {
    height: 30px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.2s;
}

.madji-img-footer:hover {
    opacity: 0.8;
}

/* Header Logo - Explicit sizing for Safari */
.logo img {
    width: auto !important;
    height: 50px !important;
    max-width: 200px !important;
    max-height: 50px !important;
    object-fit: contain;
}

/* Footer - Center alignment for logo and social icons */
.footer-logo {
    text-align: center;
    display: inline-block;
    background-color: #1a1a1a;
    padding: 15px 60px;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
}

.footer-logo img {
    width: auto !important;
    height: 60px !important;
    max-width: 300px !important;
    max-height: 80px !important;
    object-fit: contain;
}

/* Responsive footer logo */
@media (max-width: 768px) {
    .footer-logo {
        padding: 20px 40px;
    }

    .footer-logo img {
        height: 60px !important;
        max-width: 200px !important;
        max-height: 60px !important;
    }
}

/* Homepage - Service icons */
.service-icon {
    margin-bottom: 25px;
}

.service-icon img {
    width: 70px !important;
    height: 70px !important;
    max-width: 70px !important;
    max-height: 70px !important;
    object-fit: contain;
}

/* Icon Attribution */
.icon-attribution {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0;
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 6px;
}

.icon-attribution a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.icon-attribution a:hover {
    color: #d4a024;
}

/* Homepage - Small text */
.text-small {
    font-size: 12px;
}

/* Testimonials Carousel */
.testimonial-area {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial-active {
    position: relative;
    padding: 20px 60px;
}

.testimonial-active .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: transparent;
    border: none;
    font-size: 30px;
    color: #d4a024;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-active .slick-arrow:hover {
    color: #b8892a;
}

.testimonial-active .slick-prev {
    left: 0;
}

.testimonial-active .slick-next {
    right: 0;
}

.testimonial-active .slick-dots {
    display: flex !important;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.testimonial-active .slick-dots li {
    margin: 0 5px;
}

.testimonial-active .slick-dots li button {
    border: none;
    background: #ccc;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    padding: 0;
    font-size: 0;
    cursor: pointer;
    transition: all 0.3s;
}

.testimonial-active .slick-dots li.slick-active button {
    background: #d4a024;
    width: 14px;
    height: 14px;
}

.single-testimonial {
    padding: 40px 20px;
}

.testimonial-top-cap p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
    font-style: italic;
}

.founder-text span {
    display: block;
    font-size: 20px;
    font-weight: 600;
    color: #d4a024;
    margin-bottom: 5px;
}

.founder-text p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Responsive testimonials */
@media (max-width: 768px) {
    .testimonial-active {
        padding: 20px 10px;
    }

    .testimonial-top-cap p {
        font-size: 16px;
    }

    .founder-text span {
        font-size: 18px;
    }
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-map iframe {
    border: 0 !important;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    display: block;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.map-placeholder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.map-placeholder-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 20px;
}

.map-placeholder-content i {
    font-size: 80px;
    color: #d4a024;
    margin-bottom: 20px;
    display: block;
}

.map-placeholder-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.map-placeholder-content p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #d4a024;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
}

.contact-text h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.contact-text p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-text a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text a:hover {
    color: #d4a024;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    color: #666;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-social a:hover {
    background-color: #d4a024;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive contact section */
@media (max-width: 991px) {
    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .contact-text h4 {
        font-size: 16px;
    }

    .contact-text p {
        font-size: 14px;
    }
}

/* Team Section */
.team-area {
    background-color: #f8f9fa;
}

.team-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-caption {
    padding: 30px 20px;
    text-align: center;
}

.team-caption h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.team-caption span {
    font-size: 16px;
    color: #d4a574;
    font-weight: 500;
}

/* Responsive for team section */
@media (max-width: 768px) {
    .team-img {
        height: 300px;
    }

    .team-caption h3 {
        font-size: 20px;
    }

    .team-caption span {
        font-size: 14px;
    }
}

/* ================================================
   Legal Pages Overrides
   ================================================ */

/* Legal page container */
.legal-page-container {
    padding: 80px 0 20px;
}

/* Legal page back button */
.legal-back-btn {
    background-color: #d4a024;
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    transition: background-color 0.3s;
    margin-bottom: 20px;
    margin-top: 30px;
}

.legal-back-btn:hover {
    background-color: #b8892a;
    color: white;
    text-decoration: none;
}

/* Override footer padding on legal pages - much less space */
body.legal-page .footer-area .footer-padding {
    padding-top: 30px !important;
}

.footer-top {
    padding-top: 30px;
}


/* Footer Bottom - Three Column Layout */
.footer-bottom {
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-bottom .row {
    display: flex;
    justify-content: space-between;
    /*align-items: center;*/
    flex-wrap: wrap;
}

/* Developer credit - Left side */
.footer-developer {
    text-align: center;
    font-size: 13px;
    color: #999;
}

/* Copyright - Right side */
.footer-copy-right {
    /*text-align: right;*/
}

.footer-copy-right p {
    margin: 0;
    font-size: 13px;
    color: #999;
}

/* Legal links - Center */
.footer-legal {
    text-align: center;
    margin-top: 15px;
    width: 100%;
}

.footer-legal a {
    color: #999;
    font-size: 13px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: #d4a024;
}

.footer-legal span {
    color: #666;
}

/* Desktop layout - 3 columns */
@media (min-width: 992px) {
    .footer-bottom .row {
        flex-wrap: nowrap;
    }

    .footer-developer {
        flex: 0 0 33.333%;
    }

    .footer-copy-right {
        flex: 0 0 33.333%;
    }

    .footer-legal {
        /*flex: 0 0 33.333%;*/
        margin-top: 0;
        text-align: center;
    }
}

/* Mobile - stack vertically */
@media (max-width: 991px) {
    .footer-developer,
    .footer-copy-right {
        flex: 0 0 50%;
        text-align: center !important;
        margin-bottom: 15px;
    }

    .footer-legal {
        flex: 0 0 100%;
        text-align: center;
        margin-top: 10px;
    }
}

.section-padding30 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
}

/* ================================================
   Legal Pages Styling
   ================================================ */

/* Legal page header - dark background */
body.legal-page .header-area {
    background-color: #0d0d0d;
}

/* Legal page title */
.legal-page-title {
    color: #d4a024;
    margin-bottom: 1.5rem;
}

/* Legal page last updated */
.legal-last-updated {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

/* Legal content wrapper */
.legal-content {
    line-height: 1.8;
    color: #333;
}

/* Legal section titles */
.legal-section-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 20px;
}
