/* Claire Imbrogno - Professional Makeup Artist Website */

:root {
    --primary-color: #212529;
    --secondary-color: #6c757d;
    --accent-color: #f8f9fa;
    --text-dark: #333;
    --text-light: #666;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tenor Sans', Georgia, serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    line-height: 1.2;
}

.display-1 {
    font-weight: 600;
    letter-spacing: 3px;
    font-size: 4rem;
}

.display-4 {
    font-weight: 500;
    letter-spacing: 1px;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-color) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    padding-top: 120px;
    padding-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.social-links-hero a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-links-hero a:hover {
    color: var(--primary-color);
}

/* Hero Carousel */
.hero-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 700px !important;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.02);
}

/* Carousel Navigation Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.dot:hover {
    background-color: var(--secondary-color);
}

.hero-buttons .btn {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

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

.btn-dark:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* About Section */
#about {
    background-color: #ffffff;
    padding: 100px 0;
}

#about img {
    max-height: 600px;
    object-fit: cover;
}

/* Portfolio Section */
#portfolio {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.filter-btn {
    border-radius: 25px;
    padding: 10px 25px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

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

.portfolio-item {
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.portfolio-item.hide {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

/* Portfolio Card Styling */
.portfolio-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 600px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.portfolio-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

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

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-overlay p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    line-height: 1.4;
}

/* Legacy card styles for backwards compatibility */
.card {
    overflow: hidden;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2) !important;
}

.card-img-top {
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card-body {
    position: relative;
    z-index: 2;
    background: white;
}

.card:hover .card-body {
    background: rgba(255,255,255,0.95);
}

.card:hover .card-title {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Testimonials Section */
#testimonials {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Journal Section */
#journal {
    background-color: #f8f9fa;
    padding: 100px 0;
}

.badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
}

/* Contact Section */
#contact {
    background-color: #ffffff;
    padding: 100px 0;
}

/* Contact Section New Layout */
.contact-info-section {
    padding-right: 2rem;
}

.contact-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #6c757d;
    margin-bottom: 3rem;
}

.contact-details {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.1rem;
    color: #495057;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1rem;
    color: #6c757d;
    display: block;
}

.connect-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: #212529;
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #495057;
    color: white;
    transform: translateY(-2px);
}

.social-icon i {
    font-size: 1.1rem;
}

/* Contact Form Section */
.contact-form-section {
    background-color: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 1.5rem;
}

.contact-form .form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
}

.contact-form .form-control {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #212529;
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.1);
}

.contact-form .form-control::placeholder {
    color: #adb5bd;
    font-style: italic;
}

.send-btn {
    background-color: #212529;
    border-color: #212529;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.send-btn:hover {
    background-color: #000;
    border-color: #000;
}

.form-note {
    font-size: 0.875rem;
    color: #6c757d;
    margin-top: 1rem;
}

.contact-info h5 {
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-info h5:first-child {
    margin-top: 0;
}

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

.contact-info a {
    color: var(--text-dark);
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(33, 37, 41, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Social Links */
.social-links .btn {
    margin: 0.25rem;
    border-width: 2px;
    border-radius: 25px;
}

.social-links .btn:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer-dark {
    background-color: #000000;
    color: white;
    padding: 2rem 0;
}

.footer-brand {
    text-align: left;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
    font-family: 'Tenor Sans', 'Times New Roman', serif;
}

.footer-subtitle {
    font-size: 0.875rem;
    color: #adb5bd;
    margin-bottom: 1rem;
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    background-color: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-social-icon:hover {
    color: #adb5bd;
    transform: translateY(-2px);
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.footer-nav-link {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav-link:hover {
    color: #adb5bd;
}

.footer-copyright {
    text-align: right;
}

.footer-copyright p {
    font-size: 0.875rem;
    color: #adb5bd;
    margin: 0;
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-nav {
        justify-content: flex-start;
        gap: 1rem;
    }

    .footer-copyright {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .footer-nav {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .footer-copyright {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .display-1 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

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

    .carousel-container {
        height: 600px;
    }

    .carousel-slide img {
        height: 600px !important;
    }

    .btn-lg {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .card-img-top {
        height: 250px;
    }

    .portfolio-card {
        height: 600px;
    }

    .portfolio-card img {
        height: 500px !important;
    }

    .client-img {
        height: 250px;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .contact-info {
        margin-bottom: 2rem;
    }

    .social-links .btn {
        display: block;
        margin: 0.5rem auto;
        max-width: 200px;
    }

    #about, #portfolio, #testimonials, #journal, #contact {
        padding: 60px 0;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 16px;
    }

    /* Contact Section Mobile */
    .contact-info-section {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .contact-main-title {
        font-size: 2rem;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

@media (max-width: 576px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .display-1 {
        font-size: 2rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .filter-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
        margin: 0.1rem;
    }

    .card-img-top {
        height: 200px;
    }

    .hero-section {
        padding-top: 80px;
    }

    .carousel-container {
        height: 450px;
    }

    .carousel-slide img {
        height: 450px !important;
    }

    .portfolio-card {
        height: 400px !important;
    }
}

/* Smooth scrolling offset for fixed navbar */
section {
    scroll-margin-top: 100px;
}

/* Loading animation */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Hover effects */
.img-fluid:hover {
    transition: transform 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #000;
}

/* Additional styles for better UX */
.card-body {
    padding: 1.5rem;
}

.lead {
    font-size: 1.1rem;
    font-weight: 400;
}

.text-muted {
    color: var(--text-light) !important;
}

/* Enhanced button styles */
.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Form enhancements */
.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(33, 37, 41, 0.1);
}

/* Badge styles */
.badge {
    border-radius: 20px;
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
}

.client-img-wrapper {
    height: 100%;
}

.card .row.g-0 {
    min-height: 320px;
}
