/* ABOUTME: Main stylesheet for Maddie's portfolio website */
/* ABOUTME: Responsive design with pastel pink theme and modern aesthetics */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette */
    --primary-pink: #FFB6C1;
    --secondary-pink: #FFC0CB;
    --accent-pink: #FF91A4;
    --light-pink: #FFF0F5;
    --dark-text: #333333;
    --medium-text: #666666;
    --light-text: #999999;
    --white: #FFFFFF;
    --sage-green: #9CAF88;
    --cream: #F5F5DC;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --grid-gap: 30px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.nav-brand h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-pink);
    font-weight: 700;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-pink);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--light-pink) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23FFB6C1" opacity="0.1"/></svg>');
    background-size: 100px 100px;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.tagline {
    font-size: 1.5rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-cta {
    margin-top: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--primary-pink);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--accent-pink);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 193, 0.6);
}

/* Section Titles */
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-text);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-pink);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image {
    text-align: center;
}

.about-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.about-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Galleries Section */
.galleries {
    padding: var(--section-padding);
    background: var(--light-pink);
}

.gallery-section {
    margin-bottom: 4rem;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--grid-gap);
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 182, 193, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

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

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
    text-align: center;
}

/* Monthly Favorites Section */
.monthly-favorites {
    padding: var(--section-padding);
    background: var(--white);
}

.monthly-grid {
    display: grid;
    gap: 3rem;
}

.monthly-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--light-pink);
    border-radius: 20px;
}

.monthly-item:nth-child(even) {
    background: var(--cream);
}

.monthly-item:nth-child(even) .monthly-video {
    order: -1;
}

.monthly-video {
    border-radius: 15px;
    overflow: hidden;
}

.monthly-video iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.monthly-content h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.monthly-content h4 {
    font-size: 1.2rem;
    margin: 1.5rem 0 0.5rem 0;
    color: var(--dark-text);
}

.monthly-content ul {
    list-style: none;
}

.monthly-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.monthly-content li::before {
    content: '✨';
    position: absolute;
    left: 0;
    top: 0;
}

/* Mood Boards Section */
.mood-boards {
    padding: var(--section-padding);
    background: var(--white);
}

.mood-board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mood-board-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.mood-board-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.mood-board-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.mood-board-content {
    padding: 1.5rem;
}

.mood-board-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.mood-board-content p {
    color: var(--medium-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.mood-board-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--light-pink);
    color: var(--dark-text);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Furniture Inspiration Section */
.furniture-inspiration {
    padding: var(--section-padding);
    background: var(--light-pink);
}

.furniture-categories {
    display: grid;
    gap: 3rem;
}

.furniture-category h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.furniture-category h3 i {
    color: var(--primary-pink);
    font-size: 1.5rem;
}

.furniture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.furniture-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.furniture-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.furniture-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.furniture-info {
    padding: 1.5rem;
}

.furniture-info h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.furniture-info p {
    color: var(--medium-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.furniture-tip {
    background: var(--sage-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Home Improvement Section */
.home-improvement {
    padding: var(--section-padding);
    background: var(--white);
}

.improvement-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.improvement-category {
    background: var(--light-pink);
    border-radius: 20px;
    padding: 2rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--primary-pink);
}

.category-header h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--dark-text);
}

.improvement-list {
    display: grid;
    gap: 1.5rem;
}

.improvement-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.improvement-item h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.improvement-item p {
    color: var(--medium-text);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.improvement-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.improvement-details span {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.cost {
    background: var(--sage-green);
    color: var(--white);
}

.time {
    background: var(--secondary-pink);
    color: var(--dark-text);
}

.impact {
    background: var(--accent-pink);
    color: var(--white);
}

/* Downloadable Prints Section */
.downloadable-prints {
    padding: var(--section-padding);
    background: var(--cream);
}

.prints-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.print-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.print-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.print-image {
    position: relative;
    overflow: hidden;
}

.print-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.print-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.print-item:hover .print-overlay {
    opacity: 1;
}

.print-item:hover .print-image img {
    transform: scale(1.05);
}

.download-btn {
    background: var(--primary-pink);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn:hover {
    background: var(--accent-pink);
    transform: scale(1.05);
}

.print-info {
    padding: 1.5rem;
}

.print-info h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.print-info p {
    color: var(--medium-text);
    margin-bottom: 1rem;
}

.print-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.format {
    color: var(--light-text);
    font-size: 0.9rem;
}

.price {
    background: var(--sage-green);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.prints-cta {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.prints-cta h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.prints-cta p {
    color: var(--medium-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Newsletter Section */
.newsletter {
    padding: var(--section-padding);
    background: var(--light-pink);
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

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

.newsletter p {
    color: var(--medium-text);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.newsletter-form input:focus {
    box-shadow: 0 5px 20px rgba(255, 182, 193, 0.3);
}

.newsletter-note {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* Color Collages Section (Legacy - keeping for compatibility) */
.color-collages {
    padding: var(--section-padding);
    background: var(--light-pink);
}

.color-themes {
    display: grid;
    gap: 3rem;
}

.color-theme h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-text);
    text-align: center;
}

.color-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.color-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.color-grid img:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Photography Section */
.photography {
    padding: var(--section-padding);
    background: var(--white);
}

.photography-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--grid-gap);
    margin-top: 3rem;
}

.photography-gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    aspect-ratio: 4/5;
}

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

.photography-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.photography-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.photography-gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.9) 0%, rgba(156, 175, 136, 0.9) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.photography-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.photography-gallery .gallery-overlay h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.photography-gallery .gallery-overlay p {
    color: var(--white);
    text-align: center;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .photography-gallery {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .photography-gallery .gallery-item img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .photography-gallery {
        grid-template-columns: 1fr;
    }
    
    .section-description {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* Portfolio Section */
.portfolio {
    padding: var(--section-padding);
    background: var(--cream);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--grid-gap);
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

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

.portfolio-info {
    padding: 2rem;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.portfolio-info p {
    color: var(--medium-text);
    line-height: 1.6;
}

.project-year {
    display: inline-block;
    background: var(--primary-pink);
    color: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 3rem 0 1rem;
}

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

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-pink);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--primary-pink);
    transform: translateY(-2px);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    /* Hero */
    .hero h1 {
        font-size: 3rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        order: -1;
    }

    /* Monthly Favorites */
    .monthly-item {
        grid-template-columns: 1fr;
    }

    .monthly-item:nth-child(even) .monthly-video {
        order: 0;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Grid adjustments */
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    /* New sections responsive */
    .mood-board-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .furniture-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .improvement-categories {
        grid-template-columns: 1fr;
    }

    .prints-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav {
        padding: 1rem 1rem;
    }

    .nav-brand h1 {
        font-size: 1.5rem;
    }

    .monthly-item {
        padding: 1.5rem;
    }

    .portfolio-info {
        padding: 1.5rem;
    }

    .furniture-category h3 {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .improvement-details {
        justify-content: center;
    }
}

/* Utility Classes */
html {
    scroll-behavior: smooth;
}

a:focus,
button:focus,
input:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
}

.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Active navigation state */
.nav-menu a.active {
    color: var(--primary-pink);
}

.nav-menu a.active::after {
    width: 100%;
}

/* Page Hero Styles */
.page-hero {
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(135deg, 
        var(--light-pink) 0%, 
        var(--secondary-pink) 50%, 
        var(--cream) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23FFB6C1" opacity="0.3"/><circle cx="80" cy="40" r="1.5" fill="%239CAF88" opacity="0.4"/><circle cx="40" cy="80" r="1" fill="%23FFC0CB" opacity="0.2"/></svg>');
    background-size: 150px 150px;
    animation: float 25s infinite linear;
}

.page-hero .hero-content {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.page-hero .tagline {
    font-size: 1.3rem;
    color: var(--medium-text);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Navigation brand link styles */
.nav-brand a {
    text-decoration: none;
    color: inherit;
}

.nav-brand a:hover {
    color: var(--accent-pink);
}

@media (max-width: 768px) {
    .page-hero {
        height: 50vh;
        min-height: 300px;
    }

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

    .page-hero .tagline {
        font-size: 1.1rem;
    }
}