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

:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-secondary: #f9fafb;
    --border: #e5e7eb;
    --shadow: rgba(0, 0, 0, 0.1);
    --accent: #f59e0b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #ffffff;
    color: var(--text);
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.content {
    padding: 40px 20px;
    text-align: center;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.links {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.link-button {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.4);
    border: 2px solid transparent;
    letter-spacing: 0.3px;
}

.link-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.5);
    border-color: var(--primary-light);
}

/* Wedding Page Styles */
.wedding-content {
    text-align: center;
    padding: 40px 20px;
}

.back-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
}

.back-link:hover {
    color: var(--primary-dark);
    background: var(--bg-secondary);
    transform: translateX(-4px);
}

.wedding-content h1 {
    text-align: center;
    margin-bottom: 12px;
}

.wedding-content .subtitle {
    text-align: center;
    margin-bottom: 50px;
}

.featured-galleries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.featured-item {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.thumbnail-link {
    display: block;
    text-decoration: none;
    color: var(--text);
    transition: transform 0.3s ease;
}

.thumbnail-link:hover {
    transform: translateY(-4px);
}

.gallery-thumbnail {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: 2px solid var(--border);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.gallery-image {
    object-fit: cover;
    object-position: center;
}

.thumbnail-link:hover .gallery-thumbnail {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(8, 145, 178, 0.3);
}

.placeholder-thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    cursor: pointer;
}

.placeholder-content {
    text-align: center;
    color: var(--primary);
}

.placeholder-content svg {
    margin: 0 auto 16px;
    opacity: 0.7;
}

.placeholder-content p {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.view-gallery-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.thumbnail-link:hover .placeholder-thumbnail {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.thumbnail-link:hover .placeholder-content svg {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.backyard-placeholder {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.thumbnail-link:hover .backyard-placeholder {
    background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%);
}

.featured-item h2 {
    font-size: 1.5rem;
    margin: 12px 0 0 0;
    color: var(--text);
    font-weight: 600;
}

.alternative-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
}

.alternative-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    border: 2px solid transparent;
    font-weight: 500;
}

.alternative-links a:hover {
    color: var(--primary);
    background: white;
    border-color: var(--primary);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.2);
}

.gallery-link {
    display: inline-block;
    padding: 10px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gallery-link:hover {
    background: var(--primary-dark);
}

.gallery-link.primary {
    margin-bottom: 12px;
    font-size: 1.05rem;
}

.gallery-links-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.gallery-links-group .gallery-link {
    font-size: 0.9rem;
    padding: 8px 16px;
    background: var(--bg);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.gallery-links-group .gallery-link:hover {
    background: var(--primary);
    color: white;
}

.note {
    text-align: center;
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .content {
        padding: 30px 16px;
    }
    
    .wedding-content {
        padding: 30px 16px;
    }
    
    .featured-galleries {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .gallery-thumbnail {
        height: 300px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
}
