/* Portfolio Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    display: flex;
    min-height: 100vh;
}

.left-column {
    top: 0;
    left: 0;
    width: 30%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.left-column img {
    position: fixed;
    top: 25%;
}

/* Responsive positioning for profile image */
@media (max-width: 768px) {
    .left-column img {
        position: relative;
        top: auto;
    }
}

.right-column {
    width: 70%;
    background-color: #ffffff;
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: -2px 0 20px rgba(0,0,0,0.1);
    z-index: 10;
}

.profile-image {
    width: 400px;
    height: 500px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 500px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    margin-bottom: 60px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.skills-list {
    list-style: none;
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #5a6c7d;
}

.skill-icon {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin-right: 15px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.work-item {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.work-item:hover {
    transform: translateY(-5px);
}

.work-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.work-description {
    padding: 15px 20px;
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
}

.contact-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #5a6c7d;
}

.contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 15px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .left-column {
        width: 100%;
        height: 60vh;
    }
    
    .right-column {
        position: relative;
        right: auto;
        width: 100%;
        height: auto;
        padding: 40px 30px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .profile-image {
        width: 300px;
        height: 400px;
    }
    
    .work-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-muted {
    color: #7f8c8d;
    margin-bottom: 25px;
    line-height: 1.7;
}

.text-muted-small {
    color: #7f8c8d;
    line-height: 1.7;
}

/* Cookie Banner Styles - Less Intrusive */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 20px;
    display: none;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-content {
    color: #333;
}

.cookie-content h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-content p {
    margin: 0 0 15px 0;
    line-height: 1.5;
    color: #5a6c7d;
    font-size: 14px;
}

.cookie-options {
    margin: 15px 0;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.cookie-option input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 2px;
    transform: scale(1.1);
}

.cookie-option label {
    flex: 1;
    cursor: pointer;
    line-height: 1.4;
}

.cookie-option label strong {
    display: block;
    margin-bottom: 3px;
    color: #2c3e50;
    font-size: 13px;
}

.cookie-description {
    display: block;
    font-size: 12px;
    color: #7f8c8d;
    font-weight: normal;
}

.cookie-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.cookie-buttons button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
    flex: 1;
    min-width: 0;
}

.btn-accept {
    background: #667eea;
    color: white;
}

.btn-accept:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.btn-accept-all {
    background: #27ae60;
    color: white;
}

.btn-accept-all:hover {
    background: #229954;
    transform: translateY(-1px);
}

.btn-reject {
    background: #ecf0f1;
    color: #5a6c7d;
    border: 1px solid #bdc3c7;
}

.btn-reject:hover {
    background: #d5dbdb;
    transform: translateY(-1px);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        padding: 15px;
    }
    
    .cookie-content h3 {
        font-size: 15px;
    }
    
    .cookie-content p {
        font-size: 13px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 6px;
    }
    
    .cookie-buttons button {
        width: 100%;
        padding: 10px;
        font-size: 13px;
    }
    
    .cookie-option {
        padding: 8px;
    }
}

/* Blockquote Styles */
blockquote {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #667eea;
    margin: 20px 0;
    padding: 20px 25px;
    border-radius: 8px;
    font-style: italic;
    font-size: 1.1rem;
    color: #495057;
    line-height: 1.6;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

blockquote:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* Responsive Blockquote */
@media (max-width: 768px) {
    blockquote {
        margin: 15px 0;
        padding: 15px 20px;
        font-size: 1rem;
    }
    
    blockquote::before,
    blockquote::after {
        font-size: 2rem;
    }
    
    blockquote::before {
        top: -2px;
        left: 10px;
    }
    
    blockquote::after {
        bottom: -18px;
        right: 10px;
    }
}

/* Acknowledgments Section Styles */
.acknowledgments {
    margin-top: 20px;
}

.acknowledgment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.acknowledgment-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #667eea;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.acknowledgment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.acknowledgment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.acknowledgment-item:hover::before {
    transform: scaleX(1);
}

.acknowledgment-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.acknowledgment-item p {
    font-size: 0.95rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Acknowledgments */
@media (max-width: 768px) {
    .acknowledgment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 20px 0;
    }
    
    .acknowledgment-item {
        padding: 20px;
    }
    
    .acknowledgment-item h4 {
        font-size: 1rem;
    }
    
    .acknowledgment-item p {
        font-size: 0.9rem;
    }
}

/* Cat player responsive positioning */
.cat-player {
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Desktop: Fixed positioning */
@media (min-width: 769px) {
    .cat-player {
        position: fixed;
        left: 0;
        top: 5px;
        z-index: 30;
        width: clamp(200px, 25vw, 300px);
        height: clamp(200px, 25vw, 300px);
    }
}

/* Mobile: Content positioning */
@media (max-width: 768px) {
    .cat-player {
        position: relative;
        display: block;
        margin: 20px auto;
        width: clamp(150px, 40vw, 250px);
        height: clamp(150px, 40vw, 250px);
        max-width: 250px;
        max-height: 250px;
    }
}

@media (max-width: 480px) {
    .cat-player {
        width: clamp(120px, 50vw, 200px);
        height: clamp(120px, 50vw, 200px);
        margin: 15px auto;
    }
}

/* Copyright Footer Styles */
.copyright-footer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-align: center;
    padding: 30px 20px;
    border-top: 3px solid rgba(255, 255, 255, 0.3);
}

.footer-content p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
}

.footer-subtitle {
    margin-top: 8px !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 400 !important;
}

/* Fullscreen animation */
@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@media (max-width: 768px) {
    .copyright-footer {
        padding: 20px 15px;
        margin-top: 30px;
    }
    
    .footer-content p {
        font-size: 0.9rem;
    }
    
    .footer-subtitle {
        font-size: 0.8rem !important;
    }
}

/* Fullscreen container responsive styles */
@media (max-width: 768px) {
    #catFullscreenContainer {
        padding: 10px;
    }
    
    #catPlayerFullscreen {
        width: 95vmin !important;
        height: 95vmin !important;
        max-width: 95vw !important;
        max-height: 95vh !important;
    }
}

@media (max-width: 480px) {
    #catFullscreenContainer {
        padding: 5px;
    }
    
    #catPlayerFullscreen {
        width: 98vmin !important;
        height: 98vmin !important;
        max-width: 98vw !important;
        max-height: 98vh !important;
    }
}

/* Touch-friendly interactions */
@media (hover: none) and (pointer: coarse) {
    #catPlayer:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    .cookie-banner .btn-accept:active,
    .cookie-banner .btn-reject:active {
        transform: scale(0.95);
    }
}

/* Prevent text selection on touch devices */
@media (max-width: 768px) {
    #catPlayer,
    #catFullscreenContainer {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }
}