/* Home Page Specific Styles */

.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    min-height: calc(100vh - 200px);
    margin-bottom: 2rem;
}

.text-content {
    padding: 0;
    margin: 0;
}

.photo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.creative-heading {
    margin-bottom: 2rem;
}

.gradient-text {
    text-align: left;
}

.greeting-text {
    display: block;
    font-size: 1.2rem;
    color: #1a6b7a;
    margin-bottom: 1rem;
    text-align: left;
}

.subtitle {
    font-size: 1.5rem;
    color: #666;
    margin: 0;
    font-weight: 500;
    text-align: left;
}

.dark-theme .subtitle {
    color: #a0a0a0;
}

.tagline {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 2rem;
    color: #555;
}

.tagline p {
    text-align: left;
    margin: 0;
}

.dark-theme .tagline {
    color: #b0b0b0;
}

/* Social Links - Fixed Size */
.quick-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Photo Frame */
.photo-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    max-width: 400px;
}

.photo-frame:hover {
    transform: translateY(-10px);
}

.profile-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    filter: grayscale(100%);
    transition: filter 1.5s ease-in-out;
}

.profile-image.reveal {
    filter: grayscale(0%);
}

/* Education Highlight Section */
.education-highlight {
    margin: 2rem 0;
    padding: 2rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.dark-theme .section-title {
    color: #e2e2e2;
}

.degree-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.degree-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.degree-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(33, 147, 176, 0.3);
}

.degree-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.dark-theme .degree-card h3 {
    color: #e2e2e2;
}

.degree-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

.dark-theme .degree-card p {
    color: #b0b0b0;
}

.degree-focus {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Highlights Section */
.highlights-section {
    margin: 2rem 0;
    padding: 2rem 0;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.highlight-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1.5px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(33, 147, 176, 0.3);
}

.highlight-number {
    font-size: 3rem;
    font-weight: bold;
    color: #2193b0;
    display: block;
    margin-bottom: 0.5rem;
}

.dark-theme .highlight-number {
    color: #6dd5ed;
}

.highlight-card p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

.dark-theme .highlight-card p {
    color: #b0b0b0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    margin: 4rem 0;
    padding: 3rem 0;
}

.cta-section p {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: #2c3e50;
}

.dark-theme .cta-section p {
    color: #e2e2e2;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button:first-child {
    background: linear-gradient(45deg, #2193b0, #6dd5ed);
    color: white;
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid #2193b0;
    color: #2193b0;
}

.dark-theme .cta-button.secondary {
    border-color: #6dd5ed;
    color: #6dd5ed;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-decoration: none;
}

/* Dark theme for cards */
.dark-theme .degree-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(116, 185, 255, 0.1);
}

.dark-theme .highlight-card {
    background: rgba(26, 26, 46, 0.8);
    backdrop-filter: blur(10px);
    border-color: rgba(116, 185, 255, 0.1);
}

/* Mobile Styles - Text First, Photo Second */
@media (max-width: 768px) {
    .home-container {
        padding: 1rem;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        min-height: auto;
        margin-bottom: 1.5rem;
    }
    
    /* Text content comes first on mobile */
    .text-content {
        order: 1;
    }
    
    /* Photo comes second on mobile */
    .photo-container {
        order: 2;
        margin-bottom: 1rem;
    }
    
    .gradient-text {
        font-size: 2.5rem;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
        text-align: left;
        margin-bottom: 1rem;
    }
    
    .greeting-text {
        font-size: 1rem;
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .tagline p {
        text-align: left;
        font-size: 1rem;
        margin: 0.5rem 0;
    }
    
    /* Social icons smaller on mobile */
    .quick-links {
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
    }
    
    /* Photo frame mobile */
    .photo-frame {
        max-width: 280px;
        margin: 0 auto;
    }
    
    /* Section adjustments */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .degree-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .degree-card {
        padding: 1.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1.5rem;
    }
    
    .highlight-number {
        font-size: 2.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .cta-button {
        width: 80%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .gradient-text {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .greeting-text {
        font-size: 0.9rem;
    }
    
    .tagline p {
        font-size: 0.95rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .photo-frame {
        max-width: 240px;
    }
    
    .section-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .degree-card {
        padding: 1.2rem;
    }
    
    .degree-card h3 {
        font-size: 1.3rem;
    }
    
    .degree-card p {
        font-size: 1rem;
    }
    
    .degree-focus {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .highlight-card {
        padding: 1rem;
    }
    
    .highlight-number {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        width: 90%;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        min-height: auto;
    }
    
    .text-content {
        order: 1;
    }
    
    .photo-container {
        order: 2;
    }
    
    .gradient-text {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
}
