/*
Theme Name: Arun Gyawali Theme
Description: Custom theme for Arun Gyawali
Version: 1.0
Author: Arun Gyawali
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-blue: #1e40af;
    --secondary-red: #dc2626;
    --pure-white: #ffffff;
    --light-blue: #dbeafe;
    --dark-blue: #1e3a8a;
    --gray-100: #f3f4f6;
    --gray-800: #1f2937;
}

body {
    background: var(--primary-blue);
    color: white;
    margin: 0;
    padding: 2rem;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--pure-white);
    padding: 4rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.header-text {
    flex: 1;
}

.header-text h1 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.1;
}

.header-text .subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.tagline {
    font-size: 1.4rem;
    font-style: italic;
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
}

.header-bio {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--secondary-red);
}

.photo-frame {
    flex: 0 0 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-container {
    width: 300px;
    height: 350px;
    background: var(--light-blue);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    border: 8px solid var(--pure-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.photo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    z-index: 1;
}

.photo-icon {
    font-size: 5rem;
    z-index: 2;
    position: relative;
    color: white;
    margin-bottom: 1rem;
}

.photo-text {
    z-index: 2;
    position: relative;
    text-align: center;
    color: white;
    font-weight: 600;
}

.photo-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Section Styles */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--secondary-red);
    display: inline-block;
}

/* Videos Section */
.videos-section {
    background-color: var(--gray-100);
}

.video-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.video-card {
    background: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-thumbnail {
    height: 180px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 4rem;
}

.video-content {
    padding: 1.5rem;
}

.video-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

/* Articles Section */
.articles-grid {
    display: grid;
    gap: 2rem;
}

.article-card {
    display: flex;
    background: var(--pure-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary-red);
}

.article-icon {
    width: 80px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 2rem;
}

.article-content {
    padding: 1.5rem;
    flex: 1;
}

.article-content h3 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Galaxy Section */
.galaxy-section {
    background-color: var(--gray-100);
}

.galaxy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.galaxy-card {
    background: var(--pure-white);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.galaxy-card:hover {
    transform: translateY(-5px);
}

.galaxy-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.galaxy-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-image {
    flex: 1;
    background: var(--light-blue);
    height: 300px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

/* Contact Form Section */
.contact-section {
    background-color: var(--gray-100);
}

.contact-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.contact-form {
    flex: 1;
    background: var(--pure-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(30, 64, 175, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-red);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
}

.submit-btn:hover {
    background: var(--dark-blue);
}

/* Footer */
footer {
    background: var(--dark-blue);
    color: var(--pure-white);
    padding: 3rem 0;
    text-align: center;
}

.footer-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.contact-email {
    color: var(--secondary-red);
    font-weight: bold;
    font-size: 1.2rem;
}

.copyright {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text h1 {
        font-size: 2.5rem;
    }
    
    .photo-frame {
        flex: 0 0 auto;
        order: -1;
    }
    
    .photo-container {
        width: 250px;
        height: 300px;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .article-card {
        flex-direction: column;
    }
    
    .article-icon {
        width: 100%;
        height: 60px;
    }
    
    .contact-container {
        flex-direction: column;
    }
}