/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #374151;
    background: linear-gradient(135deg, #faf5ff 0%, #fef7f7 50%, #eff6ff 100%);
    min-height: 100vh;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.space-x-2 > * + * {
    margin-left: 0.5rem;
}

.space-x-3 > * + * {
    margin-left: 0.75rem;
}

.space-x-4 > * + * {
    margin-left: 1rem;
}

.space-x-6 > * + * {
    margin-left: 1.5rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-12 {
    gap: 3rem;
}

.grid {
    display: grid;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

/* Responsive Grid */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .md\:flex {
        display: flex;
    }
    
    .md\:hidden {
        display: none;
    }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 640px) {
    .sm\:flex-row {
        flex-direction: row;
    }
}

.flex-col {
    flex-direction: column;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
    z-index: 50;
}

.nav-link {
    color: #6b7280;
    font-weight: 500;
    transition: color 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover {
    color: #9333ea;
}

/* Logo */
.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.bg-gradient-purple-pink {
    background: linear-gradient(135deg, #9333ea, #ec4899);
}

.rounded-full {
    border-radius: 9999px;
}

.text-white {
    color: white;
}

.font-bold {
    font-weight: 700;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-gray-800 {
    color: #1f2937;
}

/* Hero Section */
.hero-section {
    padding-top: 6rem;
    padding-bottom: 4rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.w-48 {
    width: 12rem;
}

.h-48 {
    height: 12rem;
}

.border-4 {
    border-width: 4px;
}

.border-white {
    border-color: white;
}

.shadow-2xl {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.overflow-hidden {
    overflow: hidden;
}

.object-cover {
    object-fit: cover;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.-top-4 {
    top: -1rem;
}

.-right-4 {
    right: -1rem;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.w-12 {
    width: 3rem;
}

.h-12 {
    height: 3rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.hero-title {
    font-size: 3.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.625;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #9333ea, #ec4899);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7c3aed, #db2777);
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: scale(1);
}

.btn-secondary {
    border: 2px solid rgba(147, 51, 234, 0.3);
    color: #9333ea;
    background: transparent;
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 500;
    transition: all 0.3s ease;
    transform: scale(1);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    background: rgba(147, 51, 234, 0.05);
    transform: scale(1.05);
}

/* Sections */
.section-padding {
    padding: 4rem 1rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1f2937;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
}

.card-content {
    padding: 2rem;
}

/* About Section - Facts */
.fact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    group: true;
}

.fact-item:hover .fact-text {
    color: #9333ea;
}

.fact-item:hover .fact-icon {
    transform: scale(1.1);
}

.fact-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.fact-text {
    color: #374151;
    font-weight: 500;
    flex: 1;
    transition: color 0.3s ease;
}

/* Floating Decorations */
.floating-decoration {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 2s infinite;
}

.decoration-1 {
    bottom: -1.5rem;
    left: -1.5rem;
    width: 6rem;
    height: 6rem;
    background: linear-gradient(135deg, #10b981, #3b82f6);
}

.decoration-2 {
    top: -1.5rem;
    right: -1.5rem;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #ec4899, #9333ea);
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.rounded-3xl {
    border-radius: 1.5rem;
}

.h-96 {
    height: 24rem;
}

/* Hobbies Section */
.hobby-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.hobby-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.hobby-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.1);
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

.bg-gradient-green {
    background: linear-gradient(135deg, #10b981, #14b8a6);
}

.bg-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #9333ea);
}

.hobby-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.hobby-card:hover .hobby-title {
    color: #9333ea;
}

.hobby-description {
    color: #6b7280;
    transition: color 0.3s ease;
}

.hobby-card:hover .hobby-description {
    color: #374151;
}

/* Friends Section */
.bg-gradient-to-b {
    background: linear-gradient(to bottom, transparent, rgba(147, 51, 234, 0.05));
}

.friend-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.friend-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.friend-avatar-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.w-24 {
    width: 6rem;
}

.h-24 {
    height: 6rem;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.friend-badge {
    position: absolute;
    bottom: -0.5rem;
    right: -0.5rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 2px solid white;
}

.bg-gradient-pink {
    background: linear-gradient(135deg, #ec4899, #9333ea);
}

.bg-gradient-yellow {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.friend-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.friend-card:hover .friend-name {
    color: #9333ea;
}

.friend-age {
    display: inline-block;
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.friend-description {
    color: #6b7280;
    transition: color 0.3s ease;
}

.friend-card:hover .friend-description {
    color: #374151;
}

/* Gallery Section */
.gallery-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    transform: translateY(0);
}

.gallery-item:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(-0.5rem);
}

.gallery-image {
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-image img {
    transition: transform 0.3s ease;
}

.gallery-content {
    padding: 1.5rem;
}

.gallery-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.gallery-item:hover .gallery-title {
    color: #9333ea;
}

/* Guestbook Section */
.bg-gradient-to-b.from-purple-50.to-pink-50 {
    background: linear-gradient(to bottom, rgba(147, 51, 234, 0.05), rgba(236, 72, 153, 0.05));
}

.text-2xl {
    font-size: 1.5rem;
}

.text-purple-600 {
    color: #9333ea;
}

/* Form Styles */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(147, 51, 234, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(147, 51, 234, 0.3);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid rgba(147, 51, 234, 0.1);
    border-radius: 0.75rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: rgba(147, 51, 234, 0.3);
}

/* Guestbook Entry */
.guestbook-entry {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.guestbook-entry:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.entry-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.entry-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #9333ea, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.entry-info {
    margin-left: 0.75rem;
}

.entry-name {
    font-weight: 700;
    color: #1f2937;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.entry-age {
    font-size: 0.75rem;
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
}

.entry-time {
    font-size: 0.875rem;
    color: #6b7280;
    display: flex;
    align-items: center;
}

.w-3 {
    width: 0.75rem;
}

.h-3 {
    height: 0.75rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.entry-message {
    color: #374151;
    line-height: 1.625;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
    color: white;
    padding: 2rem 1rem;
}

.text-pink-200 {
    color: #fbcfe8;
}

.text-purple-100 {
    color: #e9d5ff;
}

.text-sm {
    font-size: 0.875rem;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast-content {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.text-green-500 {
    color: #10b981;
}

/* Loading Animation */
.animate-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .section-padding {
        padding: 2rem 0.75rem;
    }
    
    .hero-section {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
    
    .w-48 {
        width: 8rem;
    }
    
    .h-48 {
        height: 8rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 0.625rem 1.5rem;
        font-size: 1rem;
    }
    
    .flex-col {
        flex-direction: column;
    }
    
    .gap-4 {
        gap: 0.75rem;
    }
    
    .section-title {
        font-size: 1.875rem;
        margin-bottom: 2rem;
    }
    
    .card-content {
        padding: 1.5rem;
    }
    
    .hobby-card {
        padding: 1.5rem;
    }
    
    .friend-card {
        padding: 1.5rem;
    }
    
    .toast {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        width: auto;
    }
}