/* Global Styles - Perry's Pets and Livestock */
:root {
    /* Background/Pastel Colors */
    --bg-sage: #AFCAC7;             /* Light sage - section backgrounds */
    --bg-peach: #F0AB8F;            /* Light peach - alternate sections */
    --bg-gold: #FCBD62;             /* Light gold - special highlights */
    --bg-light: #FAFAF8;            /* Off-white - main background */
    
    /* Action/Vibrant Colors */
    --primary-color: #5A8A7B;       /* Deep sage - primary buttons, headers */
    --secondary-color: #E67856;      /* Vibrant coral - secondary buttons */
    --accent-color: #F5A623;         /* Rich gold - CTAs, important elements */
    
    /* Text Colors */
    --text-dark: #2D3E3F;           /* Very dark sage - main text */
    --text-light: #6B7B7D;          /* Medium gray - secondary text */
    --text-white: #FFFFFF;          /* White text on dark backgrounds */
    
    /* UI Elements */
    --white: #FFFFFF;
    --background-light: var(--bg-light);
    --border-color: #D8E3DF;        /* Light sage border */
    --shadow: 0 2px 15px rgba(90, 138, 123, 0.15);
    --shadow-hover: 0 5px 25px rgba(90, 138, 123, 0.25);
}

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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.3rem;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 0.75rem;
}

.logo-text {
    color: var(--text-dark);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.cta-button {
    background: var(--accent-color);
    color: var(--text-dark) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.cta-button::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Footer Styles */
.main-footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

/* Wave pattern at top of footer - vertically flipped from hero */
.main-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    padding-top: 4rem; /* Extra top padding for wave */
}

.footer-column h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.footer-column p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}

.footer-links,
.contact-info {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.contact-info li {
    line-height: 2;
    color: rgba(255,255,255,0.8);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--text-white);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--text-white);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .cta-button {
        margin-top: 1rem;
    }
}
