/* ===== RESET ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== BODY ===== */
body {
    min-height: 100vh;
    min-height: 120vh;
    display: flex;
    flex-direction: column;
    background: #0f172a;
    color: white;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    text-align: center;
}

/* ===== SIDEBAR WRAPPER ===== */
.sidebar-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 10;
    transition: width 0.3s ease;
}

.sidebar-wrapper.open {
    width: 200px;
}

/* ===== SIDEBAR ===== */
.sidebar {
    height: 100%;
    width: 60px;
    padding: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);

    border-right: 1px solid rgba(255,255,255,0.1);
    transition: width 0.3s ease;
}

.sidebar-wrapper.open .sidebar {
    width: 200px;
    align-items: flex-start;
}

/* ===== DOT MODE ===== */
.dot-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 60px;
}

.dot-column span {
    width: 10px;
    height: 10px;
    background: #bfc1c7;
    border-radius: 50%;
    opacity: 0.6;
    display: block;
}

/* HIDE DOTS WHEN OPEN */
.sidebar-wrapper.open .sidebar .dot-column {
    display: none;
}

/* ===== MENU ===== */
.menu {
    display: none;
    width: 100%;
}

/* SHOW MENU ON OPEN */
.sidebar-wrapper.open .sidebar .menu {
    display: block;
}

/* ===== SIDEBAR BUTTONS ===== */
.sidebar .btn {
    display: block;
    width: 100%;
    padding: 8px;

    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;

    text-decoration: none;
    color: white;
    font-size: 14px;

    margin-bottom: 8px;
    transition: 0.2s;
}

.sidebar .btn:hover {
    background: rgba(255,255,255,0.1);
}

.btn.primary {
    background: rgba(255,255,255,0.2);
}

.btn.secondary {
    border-color: rgba(255,255,255,0.4);
}

/* ===== MAIN ===== */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-left: 60px;
    padding-top: 60px;
    padding-bottom: 60px;
    transition: padding-left 0.3s ease;
}

.sidebar-wrapper.open ~ .container {
    padding-left: 200px;
}

/* ===== CONTACT CARD ===== */
.contact-card {
    margin: 0 auto 20px auto;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    animation: slideIn 0.6s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(124,58,237,0.3);
    margin-top: 0;
}

.contact-email {
    text-align: center;
    font-size: 1.2rem;
    opacity: 1;
    margin-bottom: 40px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #a855f7;
    font-weight: bold;
}

/* ===== CONTACT FORM ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    animation: slideIn 0.6s ease-out 0.2s both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.05);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.2);
    background: rgba(255,255,255,0.08);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

/* ===== TEXTAREA WRAPPER ===== */
.textarea-wrapper {
    position: relative;
}

.char-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 0;
    font-family: Arial, sans-serif;
    margin-left: 60px;
    transition: margin-left 0.3s ease;
}

.sidebar-wrapper.open ~ .footer,
.sidebar-wrapper:hover ~ .footer {
    margin-left: 200px;
}

/* Footer horizontal layout */
.footer-top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(214,177,95,0.45);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #e3e5ff;
}

.newsletter-btn {
    background: #7c3aed;
    color: white;
    border: 1px solid rgba(255,255,255,0.35);
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    text-align: center;
}

.newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
    background: #6226d8;
}

.footer-bottom {
    padding: 12px 24px;
    text-align: center;
    font-size: 0.9rem;
    color: #f2d188;
}

@media (max-width: 700px) {
    .footer {
        margin-left: 0;
    }

    .footer-top {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-links {
        justify-content: center;
        gap: 14px;
        margin-bottom: 10px;
    }
    .newsletter-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem;
    }
    .contact-form {
        padding: 20px;
    }
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ===== LOGO ===== */
.logo-wrapper {
    position: relative;
    width: 360px;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px auto;
}

.ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.ring.white {
    background: radial-gradient(circle, transparent 60%, white 70%, transparent 80%);
}

.ring.purple {
    background: radial-gradient(circle, transparent 55%, rgba(140,0,255,0.8) 68%, transparent 85%);
    filter: blur(6px);
}

.logo {
    width: 220px;
}
