/*
Theme Name: On The Couch with Ian and Terri
Theme URI: https://onthecouch.co.za
Author: Ian and Terri
Author URI: https://onthecouch.co.za
Description: A warm and welcoming theme for sharing holiday memories and experiences. Features photo galleries, visitor comments, and memory submissions.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onthecouch
Tags: photography, gallery, blog, warm, custom-colors, custom-menu, featured-images, theme-options
*/

/* ============================================
   CSS VARIABLES - Warm & Welcoming Palette
   ============================================ */
:root {
    /* Primary Warm Colors */
    --color-terracotta: #C67B5C;
    --color-burnt-sienna: #A0522D;
    --color-warm-sand: #D4A574;
    --color-golden-amber: #DAA520;
    --color-dusty-rose: #C9A9A6;
    --color-sage: #9CAF88;
    
    /* Background Colors */
    --color-cream: #FDF8F3;
    --color-warm-white: #FFFAF5;
    --color-soft-linen: #F5EBE0;
    --color-pale-blush: #FAF0E6;
    --color-light-sand: #F5E6D3;
    
    /* Text Colors */
    --color-dark: #3D3229;
    --color-warm-brown: #5D4E3A;
    --color-medium: #7A6B5A;
    --color-light: #A99E8D;
    
    /* Gradients */
    --gradient-warm: linear-gradient(135deg, #C67B5C 0%, #D4A574 50%, #DAA520 100%);
    --gradient-sunset: linear-gradient(135deg, #C67B5C 0%, #DAA520 100%);
    --gradient-cozy: linear-gradient(135deg, #D4A574 0%, #C9A9A6 100%);
    --gradient-earth: linear-gradient(135deg, #9CAF88 0%, #D4A574 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(61, 50, 41, 0.08);
    --shadow-medium: 0 8px 30px rgba(61, 50, 41, 0.12);
    --shadow-warm: 0 8px 30px rgba(198, 123, 92, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 50%;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lora', 'Georgia', serif;
    background-color: var(--color-cream);
    color: var(--color-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

/* Warm decorative background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(198, 123, 92, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(212, 165, 116, 0.06) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(156, 175, 136, 0.04) 0%, transparent 35%);
    pointer-events: none;
    z-index: -1;
}

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

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

a:hover {
    color: var(--color-burnt-sienna);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
}

p {
    margin-bottom: var(--spacing-sm);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.site-header {
    background: var(--color-warm-white);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(198, 123, 92, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    max-width: 1400px;
    margin: 0 auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
}

.site-title a {
    color: var(--color-dark);
    transition: color 0.3s ease;
}

.site-title a:hover {
    color: var(--color-terracotta);
}

.site-tagline {
    font-family: 'Lora', 'Georgia', serif;
    font-size: 0.9rem;
    color: var(--color-medium);
    font-style: italic;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.main-navigation a {
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 500;
    color: var(--color-warm-brown);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.main-navigation a:hover {
    color: var(--color-terracotta);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--gradient-warm);
    border: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    color: white;
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 500;
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-warm-white);
        padding: var(--spacing-md);
        box-shadow: var(--shadow-medium);
        border-top: 1px solid rgba(198, 123, 92, 0.1);
    }
    
    .main-navigation.toggled {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: var(--gradient-warm);
    padding: var(--spacing-xl) 0;
    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,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.hero h1 {
    color: white;
    margin-bottom: var(--spacing-sm);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.hero p {
    color: rgba(255,255,255,0.95);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto var(--spacing-md);
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-lg);
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: var(--color-warm-white);
    color: var(--color-terracotta);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--color-terracotta);
    background: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-warm {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-warm);
}

.btn-warm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(198, 123, 92, 0.3);
}

/* Alias for backward compatibility */
.btn-colorful {
    background: var(--gradient-warm);
    color: white;
    box-shadow: var(--shadow-warm);
}

.btn-colorful:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(198, 123, 92, 0.3);
}

/* ============================================
   TRIP CARDS GRID
   ============================================ */
.trips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-md);
    padding: var(--spacing-md) 0;
}

.trip-card {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 1px solid rgba(198, 123, 92, 0.08);
}

.trip-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.trip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.trip-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.trip-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trip-card:hover .trip-card-image img {
    transform: scale(1.08);
}

.trip-card-date {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--color-warm-white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 500;
    font-size: 0.85rem;
    color: var(--color-terracotta);
    box-shadow: var(--shadow-soft);
}

.trip-card-content {
    padding: var(--spacing-md);
}

.trip-card-title {
    font-size: 1.4rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.trip-card-title a {
    color: inherit;
}

.trip-card-title a:hover {
    color: var(--color-terracotta);
}

.trip-card-excerpt {
    color: var(--color-medium);
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.trip-card-meta {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-light);
}

.trip-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   SINGLE TRIP PAGE
   ============================================ */
.trip-header {
    background: var(--gradient-sunset);
    padding: var(--spacing-xl) 0;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.trip-header h1 {
    color: white;
    margin-bottom: var(--spacing-xs);
}

.trip-meta {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    font-style: italic;
}

.trip-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.trip-description {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: var(--spacing-lg);
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.photo-gallery {
    margin: var(--spacing-lg) 0;
}

.gallery-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.gallery-title::after {
    content: '📸';
    display: block;
    font-size: 2rem;
    margin-top: var(--spacing-xs);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

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

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

.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(61, 50, 41, 0.8));
    padding: var(--spacing-md);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    transform: translateY(0);
}

/* Masonry-style varied sizes */
.gallery-item:nth-child(4n+1) {
    grid-row: span 2;
}

.gallery-item:nth-child(6n+1) {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .gallery-item:nth-child(4n+1),
    .gallery-item:nth-child(6n+1) {
        grid-row: span 1;
        grid-column: span 1;
    }
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(61, 50, 41, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-md);
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: var(--spacing-sm);
    font-size: 1.1rem;
    font-style: italic;
}

.lightbox-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--color-warm-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.lightbox-close:hover {
    background: var(--color-terracotta);
    color: white;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-warm-white);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-dark);
}

.lightbox-nav:hover {
    background: var(--color-terracotta);
    color: white;
}

.lightbox-prev {
    left: var(--spacing-md);
}

.lightbox-next {
    right: var(--spacing-md);
}

/* ============================================
   COMMENTS SECTION
   ============================================ */
.comments-section {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-xl);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(198, 123, 92, 0.08);
}

.comments-title {
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
}

.comments-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gradient-warm);
    margin: var(--spacing-sm) auto 0;
    border-radius: 2px;
}

.comment-list {
    list-style: none;
}

.comment {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: var(--color-cream);
    margin-bottom: var(--spacing-md);
    position: relative;
    border-left: 4px solid var(--color-terracotta);
}

.comment:nth-child(odd) {
    background: var(--color-soft-linen);
}

.comment:nth-child(even) {
    background: var(--color-light-sand);
}

.comment-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.comment-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    border: 3px solid white;
    box-shadow: var(--shadow-soft);
}

.comment-author-name {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    color: var(--color-dark);
}

.comment-date {
    font-size: 0.85rem;
    color: var(--color-medium);
    font-style: italic;
}

.comment-content {
    padding-left: calc(50px + var(--spacing-sm));
}

.comment-reply-link {
    display: inline-block;
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    color: var(--color-terracotta);
    font-weight: 500;
}

/* Comment Form */
.comment-form {
    background: var(--color-soft-linen);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--spacing-md);
}

.comment-form-title {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.comment-form label {
    display: block;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-dark);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid rgba(198, 123, 92, 0.2);
    border-radius: var(--radius-md);
    font-family: 'Lora', 'Georgia', serif;
    font-size: 1rem;
    background: var(--color-warm-white);
    margin-bottom: var(--spacing-md);
    transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 4px rgba(198, 123, 92, 0.15);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

.comment-form .submit {
    background: var(--gradient-warm);
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-family: 'Lora', 'Georgia', serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-warm);
}

/* ============================================
   MEMORY SUBMISSION FORM
   ============================================ */
.submit-memory-section {
    background: var(--color-warm-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    max-width: 800px;
    margin: var(--spacing-xl) auto;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(198, 123, 92, 0.08);
}

.submit-memory-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-xs);
}

.submit-memory-section .subtitle {
    text-align: center;
    color: var(--color-medium);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.memory-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-group label {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.form-group label .emoji {
    font-size: 1.2rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid rgba(198, 123, 92, 0.2);
    border-radius: var(--radius-md);
    font-family: 'Lora', 'Georgia', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--color-warm-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 4px rgba(198, 123, 92, 0.15);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* File Upload Styling */
.file-upload-wrapper {
    position: relative;
    border: 3px dashed var(--color-terracotta);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    text-align: center;
    background: var(--color-soft-linen);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-wrapper:hover {
    border-color: var(--color-burnt-sienna);
    background: var(--color-light-sand);
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    pointer-events: none;
}

.file-upload-text .icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.file-upload-text p {
    color: var(--color-medium);
    margin: 0;
}

.file-upload-text .formats {
    font-size: 0.85rem;
    color: var(--color-light);
    margin-top: var(--spacing-xs);
}

/* Success/Error Messages */
.form-message {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #A5D6A7;
}

.form-message.error {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-dark);
    color: var(--color-pale-blush);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-section h3 {
    color: var(--color-warm-white);
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--color-terracotta);
    border-radius: 2px;
}

.footer-section p {
    color: rgba(253, 248, 243, 0.7);
}

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

.footer-section ul li {
    margin-bottom: var(--spacing-xs);
}

.footer-section ul a {
    color: rgba(253, 248, 243, 0.7);
    transition: all 0.3s ease;
}

.footer-section ul a:hover {
    color: var(--color-warm-sand);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    margin-top: var(--spacing-lg);
    border-top: 1px solid rgba(253, 248, 243, 0.1);
    color: rgba(253, 248, 243, 0.5);
    font-size: 0.9rem;
}

.footer-bottom .hearts {
    color: var(--color-terracotta);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }

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

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

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* ============================================
   WORDPRESS CORE STYLES
   ============================================ */
.alignleft {
    float: left;
    margin-right: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.alignright {
    float: right;
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.aligncenter {
    display: block;
    margin: var(--spacing-md) auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.9rem;
    color: var(--color-medium);
    text-align: center;
    margin-top: var(--spacing-xs);
    font-style: italic;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-md) 0;
}

.gallery-item {
    margin: 0;
}

.gallery-icon img {
    border-radius: var(--radius-sm);
}

/* Screen Reader Text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-lg) 0;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 var(--spacing-sm);
    background: var(--color-warm-white);
    border-radius: var(--radius-sm);
    color: var(--color-dark);
    font-weight: 500;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--gradient-warm);
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: var(--gradient-warm);
    color: white;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 1024px) {
    .trips-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
    }
    
    .header-inner {
        flex-wrap: wrap;
    }
    
    .site-branding {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .trips-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
