/* Custom styles for Alter Hair & Co */

:root {
    --primary-color: rgba(57,40,24,1); /* Rich hair brown */
    --secondary-color: #8B6F47; /* Lighter warm brown */
    --accent-color: #F5F1ED; /* Warm cream */
    --text-dark: #000000; /* Black accent */
    --text-light: #6C5B47; /* Muted brown */
    --gold-accent: #D4AF37; /* Elegant gold for highlights */
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    min-height: 60vh;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #4A3520; /* Darker brown on hover */
    border-color: #4A3520;
    transform: translateY(-2px);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Cards */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Portfolio Images */
.portfolio-image {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Forms */
.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 111, 71, 0.25);
}

/* Footer */
footer {
    background-color: var(--text-dark) !important;
}

.card-img-top:hover {
    cursor: pointer;
}

/* Gold accent elements */
.gold-accent {
    color: var(--gold-accent) !important;
}

.bg-gold {
    background-color: var(--gold-accent) !important;
}

/* Enhanced hover effects with gold */
.card:hover .card-title.animate {
    color: var(--gold-accent);
    transition: color 0.3s ease;
}



/* Navigation enhancements */
.navbar-nav .nav-link.active {
    color: var(--gold-accent) !important;
}

/* Hero section gradient with hair color tones */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), rgba(212, 175, 55, 0.1));
}

/* Rotating banner styles */
.rotating-banner {
    height: 400px;
    overflow: hidden;
    border-radius: 0.375rem;
}

.portfolio-slide {
    transition: opacity 1s ease-in-out;
}

.rotating-banner img {
    border-radius: 0.375rem;
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 3rem 0;
    }
    
    .hero-section .btn {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.card, .hero-section {
    animation: fadeInUp 0.6s ease-out;
}
/* About Page Styles */
.about-content {
    line-height: 1.7;
}

.about-photo-placeholder {
    border: 3px solid var(--accent-color);
    transition: all 0.3s ease;
}

.about-photo-placeholder:hover {
    border-color: var(--gold-accent);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.experience-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.experience-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-accent);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.experience-card h3 {
    font-weight: 700;
}

.philosophy-section {
    border-left: 4px solid var(--gold-accent);
}

.philosophy-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.philosophy-section .small {
    color: var(--text-light);
}

/* About page animations */
.about-content > div {
    animation: fadeInUp 0.8s ease-out;
}

.about-content > div:nth-child(2) {
    animation-delay: 0.2s;
}

.about-content > div:nth-child(3) {
    animation-delay: 0.4s;
}

.about-content > div:nth-child(4) {
    animation-delay: 0.6s;
}