/* home.css */
/* Background gradient */
body {
    background: linear-gradient(135deg, #0a1a33 0%, #1a3a63 100%);
}

body[data-theme="light"] {
    background: #ffffff;
    color: #000000;
}

body[data-theme="dark"] {
    background: #000000;
    color: #ffffff;
}

body[data-theme="dark"] .main-title,
body[data-theme="dark"] .cta-button,
body[data-theme="dark"] .social-icon,
body[data-theme="dark"] .hero-section h2 {
    color: #ffffff;
}

body[data-theme="dark"] .main-title {
    color: #ffffff;
}

body[data-theme="dark"] .cursor {
    background-color: #ffffff;
}

body[data-theme="dark"] .cta-button:first-child {
    background-color: #ffffff;
    color: #000000;
}

body[data-theme="dark"] .cta-button.secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

body[data-theme="dark"] .cta-button:first-child:hover {
    background-color: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

body[data-theme="dark"] .cta-button.secondary:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

body[data-theme="dark"] .social-icon {
    color: #ffffff;
}

body[data-theme="dark"] .social-icon:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

body[data-theme="light"] .main-title,
body[data-theme="light"] .cta-button,
body[data-theme="light"] .social-icon,
body[data-theme="light"] .hero-section h2 {
    color: #000000;
}

body[data-theme="light"] .cursor {
    background-color: #000000;
}

body[data-theme="light"] .cta-button:first-child {
    background-color: #000000;
    color: #ffffff;
}

body[data-theme="light"] .cta-button.secondary {
    background-color: transparent;
    border: 2px solid #000000;
    color: #000000;
}

body[data-theme="light"] .cta-button:first-child:hover {
    background-color: transparent;
    color: #000000;
    border-color: #000000;
}

body[data-theme="light"] .cta-button.secondary:hover {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
}

body[data-theme="light"] .social-icon {
    color: #000000;
}

body[data-theme="light"] .social-icon:hover {
    color: #000000;
    background: rgba(0, 0, 0, 0.2);
}

/* Hero Section Layout */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px;
}

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

.hero-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.hero-text {
    text-align: left;
    padding-right: 40px;
}

.hero-image {
    width: 300px;
    margin-left: auto;
    margin-right: 40px;
}

/* Main Title and Cursor */
.cursor-container {
    position: relative;
    display: inline-block;
}

.main-title {
    font-size: 3.5rem;
    color: #ffdd57;
    margin-bottom: 2rem;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
}

body[data-theme="light"] .main-title {
    color: #000000;
}

body[data-theme="dark"] .main-title {
    color: #ffffff;
}

.cursor {
    position: absolute;
    right: -4px;
    top: 0;
    height: 100%;
    width: 4px;
    background-color: #ffdd57;
    animation: blink 0.8s infinite;
}

body[data-theme="light"] .cursor {
    background-color: #000000;
}

body[data-theme="dark"] .cursor {
    background-color: #ffffff;
}

/* CTA Buttons Animation */
.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 2rem;
}

.cta-button {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:first-child {
    background-color: #ffdd57;
    color: #0a1a33;
    animation: slideInFromLeft 1s ease-out forwards;
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #ffdd57;
    color: #ffdd57;
    animation: slideInFromRight 1s ease-out forwards;
}

/* Enhanced hover effects for CTA buttons */
.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 221, 87, 0.3);
}

.cta-button:first-child:hover {
    background-color: transparent;
    color: #ffdd57;
    border-color: #ffdd57;
}

.cta-button.secondary:hover {
    background-color: #ffdd57;
    color: #0a1a33;
    border-color: #ffdd57;
}

/* Animations */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Profile Card */
.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: auto;
    transition: transform 0.3s ease;
}

.profile-card img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Social overlay styles */
.social-overlay {
    position: static;
    background: none;
    opacity: 1;
    margin-top: 10px;
}

.social-links {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 10px;
    list-style: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-links a {
    text-decoration: none;
}

.profile-card:hover .social-links {
    opacity: 1;
    transform: translateY(0);
}

.social-icon {
    width: 40px;
    height: 40px;
    font-size: 24px;
    color: #ffdd57;
    transition: all 0.3s ease;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #ffdd57;
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.2);
}

/* Fade-in animation */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        text-align: center;
        order: 2;
        padding-right: 0;
    }

    .hero-image {
        order: 1;
        margin: 0 auto;
        width: 250px;
    }

    .profile-card {
        width: 250px;
        height: 250px;
    }

    .profile-card img {
        width: 250px;
        height: 250px;
    }

    .main-title {
        font-size: 2.8rem;
        text-align: center;
    }

    .cta-buttons {
        justify-content: center;
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero-image {
        width: 200px;
    }

    .profile-card {
        width: 200px;
        height: 200px;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .profile-card img {
        width: 200px;
        height: 200px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    @keyframes slideInFromLeft {
        0% {
            transform: translateX(-100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideInFromRight {
        0% {
            transform: translateX(100%);
            opacity: 0;
        }
        100% {
            transform: translateX(0);
            opacity: 1;
        }
    }
}

/* Remove the name "Tehj Patel" */
.navbar {
    /* ...existing code... */
    content: "Tehj Patel"; /* Re-add the name "Tehj Patel" */
}

/* Hide the h1 heading "Tehj Patel" */
.navbar h1 {
    display: block; /* Show the h1 heading "Tehj Patel" */
}