/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    padding: 40px 20px;
    overflow-x: hidden;
    position: relative;
    color: #f5f5f5;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(220, 38, 38, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   BENTO ITEMS
   ======================================== */
.bento-item {
    background: #1a1a1a;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.2),
                0 0 0 1px rgba(220, 38, 38, 0.3);
}

/* ========================================
   GRID LAYOUT ASSIGNMENTS
   ======================================== */
.profile-card {
    grid-column: span 12;
    text-align: center;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
}

.about-card {
    grid-column: span 8;
}

.coffee-card {
    grid-column: span 4;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
    cursor: pointer;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.links-card {
    grid-column: span 6;
}

.social-card {
    grid-column: span 6;
}

.contact-card {
    grid-column: span 12;
}

/* ========================================
   PROFILE SECTION
   ======================================== */
.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.profile-img:hover {
    transform: scale(1.05) rotate(5deg);
}

h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
}

/* ========================================
   CARD TITLES
   ======================================== */
.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #f5f5f5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coffee-card .card-title {
    font-size: 24px;
    color: white;
    margin-bottom: 10px;
    justify-content: center;
}

.card-title svg {
    width: 24px;
    height: 24px;
    color: #dc2626;
    flex-shrink: 0;
}

.coffee-card .card-title svg {
    color: white;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.bio {
    color: #d4d4d4;
    line-height: 1.6;
    font-size: 15px;
}

/* ========================================
   COFFEE CARD
   ======================================== */
.coffee-text {
    font-size: 16px;
    opacity: 0.95;
}

/* ========================================
   LINKS SECTION
   ======================================== */
.links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #262626;
    border: 2px solid #404040;
    border-radius: 12px;
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.link-item:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateX(5px);
}

.link-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ========================================
   SOCIAL SECTION
   ======================================== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    background: #262626;
    border: 2px solid #404040;
    border-radius: 16px;
    text-decoration: none;
    color: #f5f5f5;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    gap: 8px;
}

.social-btn:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: scale(1.05);
}

.social-btn svg {
    width: 32px;
    height: 32px;
}

/* ========================================
   CONTACT FORM
   ======================================== */
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    color: #a3a3a3;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input,
textarea {
    background: #262626;
    border: 2px solid #404040;
    border-radius: 12px;
    padding: 14px 16px;
    color: #f5f5f5;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: #737373;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    grid-column: span 2;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    text-align: center;
    margin-top: 40px;
    color: #737373;
    font-size: 13px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
    body {
        padding: 20px 15px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .profile-card,
    .about-card,
    .coffee-card,
    .links-card,
    .social-card,
    .contact-card {
        grid-column: span 1;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group,
    .form-group.full-width {
        grid-column: span 1;
    }

    .submit-btn {
        grid-column: span 1;
    }

    h1 {
        font-size: 28px;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bento-item {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    .card-title {
        font-size: 18px;
    }

    .profile-img {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }
}