/* =====================================================
   Finnabair-Anu - Russell Terrier Breeder Website
   Color Theme: Inspired by Russell Terrier colors
   - Primary: Warm Tan/Brown (#8B4513, #A0522D)
   - Secondary: Creamy White (#FFF8DC, #FFFAF0)
   - Accent: Rich Chocolate (#5D3A1A)
   - Neutral: Warm Gray (#6B5B4F)
===================================================== */

:root {
    --primary-tan: #A0522D;
    --primary-brown: #8B4513;
    --dark-chocolate: #5D3A1A;
    --cream-white: #FFF8DC;
    --floral-white: #FFFAF0;
    --warm-gray: #6B5B4F;
    --light-tan: #D2B48C;
    --soft-brown: #DEB887;
    --white: #FFFFFF;
    --off-white: #FAF9F6;
}

/* General Styles */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark-chocolate);
    background-color: var(--off-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-chocolate);
}

a {
    color: var(--primary-tan);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-brown);
}

/* Custom Button Styles */
.btn-primary-custom {
    background-color: var(--primary-tan);
    border-color: var(--primary-tan);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    background-color: var(--primary-brown);
    border-color: var(--primary-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
}

.btn-outline-custom {
    border: 2px solid var(--primary-tan);
    color: var(--primary-tan);
    padding: 10px 28px;
    font-weight: 500;
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease;
}

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

/* Navbar Styles */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand .brand-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--dark-chocolate);
}

.navbar-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 40px;
}

.nav-link {
    color: var(--warm-gray) !important;
    font-weight: 500;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-tan) !important;
    background-color: var(--cream-white);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px;
}

.dropdown-item {
    border-radius: 5px;
    padding: 10px 15px;
    color: var(--warm-gray);
}

.dropdown-item:hover {
    background-color: var(--cream-white);
    color: var(--primary-tan);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--floral-white) 0%, var(--cream-white) 100%);
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

/* Hero Logo Watermark */
.hero-logo-watermark {
    position: absolute;
    right: calc(-5% + 120px);
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    max-width: 700px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.hero-logo-watermark img {
    width: 100%;
    height: auto;
    filter: sepia(20%) saturate(80%);
}

.text-primary-custom {
    color: var(--primary-tan);
}

.hero-image-placeholder,
.about-image-placeholder,
.dog-image-placeholder {
    background: linear-gradient(135deg, var(--light-tan) 0%, var(--soft-brown) 100%);
    border-radius: 20px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.hero-image-placeholder i,
.about-image-placeholder i,
.dog-image-placeholder i {
    font-size: 4rem;
    margin-bottom: 15px;
}

.dog-image-placeholder {
    height: 250px;
    border-radius: 0;
}

/* Background Colors */
.bg-light-custom {
    background-color: var(--cream-white);
}

/* Feature Cards */
.feature-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-tan) 0%, var(--primary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--white);
}

/* Dog Cards */
.dog-card {
    border-radius: 15px;
    transition: all 0.3s ease;
}

.dog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-tan) 0%, var(--dark-chocolate) 100%);
}

/* Footer */
.footer {
    background-color: var(--dark-chocolate);
    color: var(--cream-white);
}

.footer h5,
.footer h6 {
    color: var(--cream-white);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--light-tan);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.social-links a {
    color: var(--light-tan);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

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

/* Page Headers */
.page-header {
    background: linear-gradient(135deg, var(--floral-white) 0%, var(--cream-white) 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    justify-content: center;
    background: transparent;
    margin-bottom: 0;
}

.page-header .breadcrumb-item a {
    color: var(--primary-tan);
}

.page-header .breadcrumb-item.active {
    color: var(--warm-gray);
}

/* Dog Profile Cards */
.dog-profile-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dog-profile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.dog-profile-image {
    height: 300px;
    background: linear-gradient(135deg, var(--light-tan) 0%, var(--soft-brown) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 4rem;
}

.dog-info {
    padding: 25px;
}

.dog-info h4 {
    color: var(--dark-chocolate);
    margin-bottom: 10px;
}

.dog-info .badge {
    background-color: var(--primary-tan);
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 280px;
    background: linear-gradient(135deg, var(--light-tan) 0%, var(--soft-brown) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item i {
    font-size: 3rem;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-control,
.form-select {
    border: 2px solid #e0d5c9;
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-tan);
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--dark-chocolate);
    margin-bottom: 8px;
}

/* Puppy Cards */
.puppy-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.puppy-image {
    height: 250px;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--light-tan) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-tan);
    font-size: 4rem;
}

.puppy-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-available {
    background-color: #28a745;
    color: white;
}

.status-reserved {
    background-color: var(--primary-tan);
    color: white;
}

.status-sold {
    background-color: var(--warm-gray);
    color: white;
}

/* Resource Cards */
.resource-card {
    border-radius: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.resource-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-tan) 0%, var(--primary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

/* Accordion Styles */
.accordion-button {
    color: var(--dark-chocolate);
    font-weight: 600;
    background-color: var(--floral-white);
}

.accordion-button:not(.collapsed) {
    background-color: var(--cream-white);
    color: var(--primary-tan);
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(160, 82, 45, 0.1);
    border-color: var(--primary-tan);
}

/* Contact Info Cards */
.contact-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-tan) 0%, var(--primary-brown) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 120px;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-logo-watermark {
        right: -15%;
        width: 80%;
        opacity: 0.05;
    }

    .hero-image-placeholder,
    .about-image-placeholder {
        height: 300px;
        margin-top: 40px;
    }

    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        border-radius: 15px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 12px 16px !important;
    }
}

@media (max-width: 767.98px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .hero-logo-watermark {
        right: -30%;
        width: 100%;
        top: 60%;
        opacity: 0.04;
    }

    .contact-form {
        padding: 25px;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }

    .gallery-item {
        height: 200px;
    }
}

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

.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

.text-brown {
    color: var(--primary-brown) !important;
}

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

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

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-tan);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.scroll-to-top:hover {
    background: var(--primary-brown);
    transform: translateY(-3px);
}
