/* Custom Design System for Kalp Yetersizliği Kongresi */
:root {
    --primary-color: #e63946;
    --primary-dark: #c1121f;
    --secondary-color: #1d3557;
    --accent-color: #f1faee;
    --text-dark: #0b090a;
    --text-light: #f8f9fa;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: #fff;
    overflow-x: hidden;
}

/* Navbar Styling */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    padding: 0.3rem 0;
}

.nav-link {
    color: var(--secondary-color) !important;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 4px;
    padding: 0.6rem 15px !important;
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
    border-radius: 8px;
    z-index: 1;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    z-index: -1;
    border-radius: 8px;
}

.nav-link:hover::before,
.nav-link.active::before {
    bottom: 0;
}

.nav-link:hover,
.nav-link.active {
    color: white !important;
}

.nav-link::after {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background: url('../img/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    overflow: hidden;
    animation: backgroundMove 30s ease-in-out infinite alternate;
}

@keyframes backgroundMove {
    0% { background-position: 0% 50%; background-size: 110% 110%; }
    100% { background-position: 100% 50%; background-size: 130% 130%; }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.event-name-img {
    max-width: 370px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    animation: fadeInUp 1s ease-out;
}

.countdown-container {
    margin-top: 30px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px;
    min-width: 70px;
    text-align: center;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.countdown-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.heart-container {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Energy Aura Effect */
.heart-container::before {
    content: '';
    position: absolute;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(133, 25, 227, 0.5) 0%, rgba(197, 47, 167, 0.3) 50%, transparent 70%);
    border-radius: 50%;
    animation: auraPulse 5s ease-in-out infinite alternate;
    z-index: -1;
    filter: blur(30px);
}

.heart-container::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: electricCircle 4s linear infinite;
    z-index: -1;
    box-shadow: 0 0 30px rgba(133, 25, 227, 0.6), inset 0 0 30px rgba(133, 25, 227, 0.6);
}

@keyframes auraPulse {
    0% { transform: scale(0.8); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 1; filter: blur(50px); }
}

@keyframes electricCircle {
    0% { transform: rotate(0deg) scale(1); border-color: rgba(133, 25, 227, 0.3); }
    50% { transform: rotate(180deg) scale(1.1); border-color: rgba(197, 47, 167, 0.5); }
    100% { transform: rotate(360deg) scale(1); border-color: rgba(133, 25, 227, 0.3); }
}

.heart-img {
    max-width: 85%;
    height: auto;
    animation: heartbeat 2s ease-in-out infinite, fadeInUp 1.2s ease-out, glowPulse 4s infinite alternate;
    filter: drop-shadow(0 0 30px rgba(133, 25, 227, 0.6));
    position: relative;
    z-index: 5;
}

@keyframes glowPulse {
    0% {
        filter: drop-shadow(0 0 20px rgba(230, 57, 70, 0.5));
    }

    100% {
        filter: drop-shadow(0 0 50px rgba(230, 57, 70, 0.9)) brightness(1.1);
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    14% {
        transform: scale(1.08);
    }

    28% {
        transform: scale(1);
    }

    42% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }
}

/* Background Particle Simulation */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100px 100px;
    z-index: 1;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100px 100px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quick Access Buttons */
.quick-access-bar {
    margin-top: 20px;
    position: relative;
    z-index: 10;
}

.btn-premium {
    background: linear-gradient(-45deg, #e63946, #c1121f, #8519e3, #c52fa7);
    background-size: 400% 400%;
    animation: premiumGradient 15s ease infinite;
    color: white !important;
    border: none;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-size: 0.9rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.15);
    text-decoration: none !important;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    overflow: hidden;
}

@keyframes premiumGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.btn-premium:hover {
    transform: translateY(-3px);
    background-size: 200% 200%;
    box-shadow: 0 12px 25px rgba(142, 45, 226, 0.3);
    color: white !important;
}

.btn-premium i {
    font-size: 1.4rem;
    margin-bottom: 0;
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: scale(1.1);
}

/* Sections */
#davet {
    padding-top: 50px;
    padding-bottom: 80px;
}

#genel-bilgiler {
    padding-top: 80px;
    padding-bottom: 80px;
    background: url('../img/generalinfo-bg.png') no-repeat center bottom;
    background-size: cover;
    position: relative;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

/* Modern Dates Card Design */
.dates-sidebar {
    margin-top: 0;
    position: relative;
}

.modern-date-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.modern-date-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle at top right, rgba(230, 57, 70, 0.1), transparent);
    z-index: 0;
}

.date-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.date-item:last-child {
    margin-bottom: 0;
}

.date-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 30px;
    bottom: -30px;
    width: 2px;
    background: rgba(230, 57, 70, 0.1);
    z-index: 1;
}

.date-item:last-child::before {
    display: none;
}

.date-icon-circle {
    position: absolute;
    left: 0;
    top: 0;
    width: 42px;
    height: 42px;
    background: #fff;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    z-index: 2;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.2);
    transition: all 0.3s ease;
}

.date-item:hover .date-icon-circle {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.date-content {
    position: relative;
    z-index: 2;
}

.date-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    display: block;
}

.date-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 40px 0;
}

/* Custom Accordion Styling */
.accordion-item {
    border: none !important;
    margin-bottom: 15px;
    border-radius: 15px !important;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-button {
    background-color: #fff !important;
    color: var(--secondary-color) !important;
    font-weight: 700;
    padding: 20px 25px;
    border: none !important;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button::after {
    filter: grayscale(1);
    transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.accordion-body {
    padding: 25px;
    line-height: 1.8;
    color: #555;
    background: #fff;
    font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        height: auto;
        padding: 120px 0 60px;
    }

    .heart-container {
        text-align: center;
        margin-top: 40px;
    }

    .heart-img {
        max-width: 60%;
    }
}

.minibaslik {
    font-size: 20px;
    font-weight: bold;
    color: #e63946;
}

.icon-bar {
    z-index: 9999;
    position: fixed;
    background-color: #ECECEC;
    padding: 10px 10px 10px 10px;
    right: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  @media screen and (max-width:768px) {
    .icon-bar {
      z-index: 9999;
      position: fixed;
      background-color: #ECECEC;
      padding: 10px 5px 0px 5px;
      right: 0;
      top: 50%;
      -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
      transform: translateY(-50%);
    }
  }
  
  @media screen and (max-width: 768px) {
    .icon-bar a {
      display: block;
      text-align: center;
      padding: 5px 10px;
      transition: all 0.3s ease;
      color: white;
      margin-bottom: 10px;
      border-radius: 5%;
      font-size: 15px;
    }
  }
  
  .icon-bar a {
    display: block;
    text-align: center;
    padding: 6px 7px;
    transition: all 0.3s ease;
    color: white;
    margin-bottom: 10px;
    border-radius: 5%;
    font-size: 20px;
  }
  
  .icon-bar a:hover {
    transform: scale(1.1);
    -webkit-transform: scale(1.1);
    filter: drop-shadow(5px 5px 5px gray);
    -webkit-filter: drop-shadow(5px 5px 5px gray);
  }
  
  .outlook {
    background-color: rgb(252, 241, 40);
  }
  
  .google {
    background-color: #0d1971;
  }
  .apple {
    background-color: #393939;
  }