* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #1d4ed8 100%);
    min-height: 100vh;
}

/* Main White Container */
.main-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 40px;
}

.content-container {
    background: white;
    padding: 4rem;
    border-radius: 30px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
    max-width: 1200px;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    color: #1e40af;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fbbf24;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fbbf24;
}

/* Page Sections */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* Home Section */
.home-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.home-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #4b5563;
}

/* Profile Section */
.profile-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.profile-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.profile-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4b5563;
}

.cta-button {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 64, 175, 0.4);
}

.profile-image-container {
    display: flex;
    justify-content: center;
}

.profile-img {
    width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 25px;
    border: 5px solid rgba(30, 64, 175, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    background: rgba(255,255,255,0.8);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #4b5563;
    font-weight: 500;
}

/* Diary Section */
.diary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.diary-entry {
    background: rgba(255,255,255,0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.diary-entry:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.entry-date {
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.diary-entry h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 1.5rem 1rem 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    background: rgba(255,255,255,0.9);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    backdrop-filter: blur(10px);
}

.contact-item h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-item p {
    color: #4b5563;
    font-size: 1.1rem;
}

/* Social links styling */
.social-links {
    margin-top: 1rem;
}

.social-links a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fbbf24;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-container {
        padding: 100px 15px 20px;
    }
    
    .content-container {
        padding: 2rem 1.5rem;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .profile-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .home-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .profile-img {
        width: 280px;
        height: 380px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 20px;
        height: auto;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .content-container {
        padding: 1.5rem 1rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-img {
        width: 250px;
        height: 340px;
    }
}
