:root {
    --primary-color-purple: #a855f7;
    --primary-color-black: #000;
    --primary-color-white: #fff;
    --primary-color-red: #dc2626;
    --secondary-color-purple: #c386ff;
    --secondary-color-white: #f3f3f3;
    --secondary-color-red: #b42318;
    --light-color-purple: #e9d5ff;
    --dark-color-purple: #9333ea;
    --background-color-grey: rgba(255, 255, 255, 0.08);
    --background-gradient-purple: linear-gradient(135deg, #791d95, #b13aed);
    --box-shadow-purple: rgba(147,51,234,0.4);
    --box-shadow-black: rgba(0, 0, 0, 0.4);
    --border-color-grey: rgba(255, 255, 255, 0.12);
}

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

html, body {
    height: 100%;
    max-width: 100%;
    /* overflow-x: hidden; */
}

body {
    display: flex;
    flex-direction: column;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

main {
    flex: 1;
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1rem;
}

/* Logo */
.logo {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -1px;
    background: linear-gradient(90deg, #c084fc, #f472b6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(168,85,247,0.4);
}

.logo a {
    text-decoration: none;
}
  
.logo span {
    color: var(--primary-color-white);
    background: none;
    -webkit-text-fill-color: var(--primary-color-white);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: var(--primary-color-white);
    padding: 1.5rem;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.modal-content p {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-actions .btn-secondary {
    background-color: #e5e7eb;
}

.modal-actions .btn-danger {
    background-color: var(--secondary-color-red);
    color: var(--primary-color-white);
}

.modal-actions .btn-secondary:hover {
    background: #d1d5db;
}

.modal-actions .btn-danger:hover {
    background: var(--primary-color-red);
}

/* Footer */
.footer {
    background: var(--background-gradient-purple);
    color: var(--primary-color-white);
    padding: 60px 20px 40px;
    width: 100%;
    box-sizing: border-box;
}
  
.footer * {
    box-sizing: border-box;
}
  
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}
  
/* Typografie & styling */
.socials h3,
.about h3,
.contact h3 {
    font-size: 1.4rem;
    margin: 0.75rem 0;
    color: var(--light-color-purple);
    letter-spacing: 0.5px;
}
  
.social-icons {
    display: flex;
    gap: 1.25rem;
}
  
.social-link img {
    width: 48px;
    height: 48px;
    transition: transform 0.25s ease;
}
  
.social-link:hover img {
    transform: scale(1.15);
}
  
.about-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
  
.about-icon {
    font-size: 2.2rem;
    background: rgba(255,255,255,0.15);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
  
.about p {
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--light-color-purple);
    opacity: 0.95;
    margin: 0;
}
  
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.1rem;
}
  
.contact-icon {
    font-size: 1.6rem;
    min-width: 30px;
}
  
.contact a {
    color: var(--light-color-purple);
    text-decoration: none;
    transition: color 0.2s ease;
}
  
.contact a:hover {
    color: var(--secondary-color-white);
}
  
/*Responsive*/
@media (max-width: 900px) {
    .footer-content {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 3rem;
    }
  
    .socials,
    .about,
    .contact {
      margin-bottom: 0;
    }
  
    .social-icons {
      justify-content: center;
    }
  
    .about-header {
      justify-content: center;
    }
  
    .contact-item {
      justify-content: center;
    }
}

@media (min-width: 768px) {
    .modal-actions {
        flex-direction: row;
        justify-content: space-between;
    }
}
  
@media (max-width: 500px) {
    .footer {
      padding: 50px 15px 30px;
    }
  
    .social-link img {
      width: 40px;
      height: 40px;
    }
  
    .footer-content {
      gap: 2.5rem;
    }
}
