/*
Theme Name: Frøken DogNanny
Theme URI: https://doffy.ez-fix.no
Author: EZ-Fix
Description: Profesjonelt tema for Frøken DogNanny - Hundetrener
Version: 2.1
*/

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #4D4D4D;
    --color-secondary: #797979;
    --color-accent: #000000;
    --color-background: #ffffff;
    --color-light-gray: #f8f8f8;
    --color-border: #e0e0e0;
    --font-heading: "Poppins", sans-serif;
    --font-body: "Nunito", sans-serif;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-primary);
    background-color: var(--color-background);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* === HEADER === */
.site-header {
    background: var(--color-background);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo img {
    height: 180px;
    width: auto;
}

/* === NAVIGATION === */
.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-navigation a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--color-primary);
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* === HERO === */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url("/wp-content/themes/froken-dognanny/images/hero-dog.jpg") center/cover;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-accent);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-secondary);
    margin-bottom: 2rem;
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--color-accent);
}

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

.btn-primary:hover {
    background: transparent;
    color: var(--color-accent);
}

.btn-secondary {
    background: transparent;
    color: var(--color-accent);
    margin-left: 1rem;
}

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

/* === SECTIONS === */
.section {
    padding: 5rem 2rem;
}

.section-light {
    background: var(--color-light-gray);
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-accent);
}

/* === SERVICES GRID === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--color-background);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card .price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1rem 0;
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
}

/* === TESTIMONIALS === */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--color-background);
    padding: 2rem;
    border-left: 4px solid var(--color-accent);
}

.testimonial-card blockquote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--color-secondary);
}

.testimonial-card cite {
    font-weight: 600;
    color: var(--color-accent);
}

/* === PAGES === */
.page-header {
    background: var(--color-light-gray);
    padding: 4rem 2rem;
    text-align: center;
}

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

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-content p {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

/* === FOOTER === */
.site-footer {
    background: var(--color-accent);
    color: var(--color-background);
    padding: 4rem 2rem 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--color-background);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-logo {
    height: 80px;
    width: auto;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--color-background);
}

.footer-contact ul li {
    color: rgba(255,255,255,0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: var(--color-background);
    transition: all 0.3s ease;
}

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

.social-links svg {
    width: 20px;
    height: 20px;
}

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

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-logo img {
        height: 120px;
    }
    
    .main-navigation ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* === BENEFITS GRID === */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--color-secondary);
}

/* === 4-KOLONNE SERVICES GRID === */
.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* === SERVICE SINGLE PAGE === */
.service-single-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-featured-image {
    margin-bottom: 2rem;
}

.service-featured-image img {
    width: 100%;
}

.service-description {
    font-size: 1.1rem;
    line-height: 1.8;
}

.service-description p {
    margin-bottom: 1.5rem;
    color: var(--color-secondary);
}

.service-cta {
    background: var(--color-light-gray);
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.service-cta h3 {
    margin-bottom: 0.5rem;
}

.service-cta p {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
}

/* === SIDEBAR === */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--color-light-gray);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.sidebar-card h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-accent);
}

.service-details {
    list-style: none;
}

.service-details li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border);
}

.service-details li:last-child {
    border-bottom: none;
}

.other-services {
    list-style: none;
}

.other-services li {
    padding: 0.5rem 0;
}

.other-services a {
    color: var(--color-primary);
}

.other-services a:hover {
    color: var(--color-accent);
}

/* === PAGE HEADER PRICE === */
.service-price-header {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 0.5rem;
}

/* === RESPONSIVE UPDATES === */
@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-single-grid {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
}
