/*
Theme Name: Made for Outside
Theme URI: https://madeforoutside.nl
Author: Fedosja van der Lee
Author URI: https://instagram.com/madeforoutside
Description: Custom WordPress theme voor Made for Outside - Eerlijke outdoor outfit reviews
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: madeforoutside
*/

:root {
    --beige: #d8cfc4;
    --green: #2f4f3e;
    --brown: #5a4636;
    --white: #fafaf8;
    --dark: #1a1a1a;
    --light-beige: #e8e3dc;
}

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

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

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

a {
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.8;
}

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

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

.site-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--green);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--green);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Menu */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    max-width: 85%;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
    padding: 6rem 2rem 2rem;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav li {
    border-bottom: 1px solid var(--light-beige);
}

.mobile-nav a {
    display: block;
    padding: 1rem 0;
    color: var(--dark);
    font-size: 1.1rem;
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--green);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

.menu-overlay.active {
    display: block;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 50vh;
    min-height: 350px;
    max-height: 500px;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 2rem;
}

.hero-quote {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--white);
    line-height: 1.2;
    font-weight: 400;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* Section Base Styles */
.content-section {
    padding: 5rem 2rem;
}

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

.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green);
    margin-bottom: 2rem;
    font-weight: 600;
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--green);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Carousel Section */
.carousel-section {
    background: var(--light-beige);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.carousel-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: calc(33.333% - 1.5rem);
    background: var(--white);
    overflow: hidden;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.carousel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-content {
    padding: 2rem;
}

.carousel-content h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    color: var(--green);
    margin-bottom: 1rem;
}

.carousel-content p {
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.carousel-btn {
    display: inline-block;
    background: var(--green);
    color: var(--white);
    padding: 0.8rem 2rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: var(--brown);
    opacity: 1;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--beige);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-dot.active {
    background: var(--green);
}

/* Three Blocks Section */
.three-blocks-section {
    background: var(--white);
}

.three-blocks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.block-item {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    display: block;
}

.block-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

a.block-item:hover img {
    transform: scale(1.05);
}

div.block-item {
    cursor: default;
}

.block-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem 1.5rem;
}

.block-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    margin: 0;
}

/* Quote Over Image Section */
.quote-image-section {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.quote-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 79, 62, 0.6);
}

.quote-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 3rem 2rem;
}

.quote-text {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 4vw, 3rem);
    color: var(--white);
    line-height: 1.3;
    font-weight: 400;
}

/* Brands Section */
.brands-section {
    background: var(--light-beige);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.brand-item {
    background: var(--white);
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

a.brand-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

div.brand-item {
    cursor: default;
}

.brand-logo {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.brand-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    color: var(--dark);
    margin: 0;
}

.brands-footer-text {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.05rem;
    color: var(--dark);
}

.brands-footer-text a {
    color: var(--green);
    font-weight: 600;
    text-decoration: underline;
}

.brands-footer-text a:hover {
    color: var(--brown);
}

/* Footer */
.site-footer {
    background: var(--brown);
    color: var(--white);
    padding: 4rem 2rem 2rem;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.3rem;
    color: var(--beige);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
}

.footer-links a:hover {
    color: var(--beige);
    opacity: 1;
}

.footer-text p {
    color: var(--white);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.social-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.social-instagram svg {
    width: 24px;
    height: 24px;
}

.newsletter-form {
    margin-top: 1.5rem;
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    border: none;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.newsletter-form button {
    width: 100%;
    padding: 0.8rem;
    background: var(--green);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--beige);
    color: var(--dark);
}

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

/* Responsive */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .carousel-item {
        min-width: calc(50% - 1rem);
    }

    .three-blocks-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 1rem;
    }

    .content-section {
        padding: 3rem 1rem;
    }

    .carousel-item {
        min-width: 100%;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-image {
        max-width: 100%;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero-section {
        min-height: 400px;
        height: 60vh;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-quote {
        font-size: 1.8rem;
    }
    
    .carousel-content {
        padding: 1.5rem;
    }
    
    .carousel-content h3 {
        font-size: 1.3rem;
    }
    
    .quote-text {
        font-size: 1.5rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .site-header {
        padding: 0.8rem;
    }
    
    .content-section {
        padding: 2.5rem 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-section {
        min-height: 350px;
        height: 50vh;
    }
    
    .hero-quote {
        font-size: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .block-title {
        font-size: 1.5rem;
    }
    
    .brand-item {
        padding: 1.5rem 1rem 1rem;
    }
    
    .brand-logo {
        height: 100px;
    }
    
    .brand-title {
        font-size: 1rem;
    }
}

/* WordPress Specific */
.wp-block-image img {
    max-width: 100%;
    height: auto;
}

.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}