/* styles.css - SAAT Teknoloji Events Page */

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}



a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}


/* image card */

.image-card {
  max-width: 1157px;
  width: 100%;
  margin: 60px auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.image-container {
  position: relative;
  padding-top: 50.65%; /* 586/1157 = 0.5065 (maintain aspect ratio) */
  overflow: hidden;
}

.responsive-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-content {
  padding: 20px;
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

.card-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.card-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #e9521d;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.card-button:hover {
  background-color: #c44116;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .image-card {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .card-content {
    padding: 15px;
  }
  
  .card-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .image-container {
    padding-top: 75%; /* More square on mobile */
  }
  
  .card-content {
    padding: 12px;
  }
}

/* Event Info Section */
.event-info {
    padding: 60px 0;
    background-color: #fff;
}

.event-info h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.event-card {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    flex: 1 1 300px;
    max-width: 400px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.event-card h3 {
    color: #3498db;
    margin-bottom: 15px;
    font-size: 24px;
}

.event-card p {
    margin-bottom: 20px;
    color: #555;
}

.booth-highlight {
    font-weight: bold;
    color: #e74c3c;
    font-size: 18px;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Partners Section */
.partners {
    padding: 60px 0;
    overflow: hidden; /* Prevent horizontal scrollbar */
}

.partners h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: #2c3e50;
}

/* Logo Container */
.partner-logos-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Gradient fade effects on sides */
.partner-logos-wrapper::before,
.partner-logos-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.partner-logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
}

.partner-logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f5f5f5 0%, rgba(245, 245, 245, 0) 100%);
}

/* Animation Container */
.partner-logos {
    display: flex;
    gap: 30px;
    width: max-content; /* Allow container to expand beyond viewport */
    animation: scrollLogos 30s linear infinite;
    padding: 10px 0;
    will-change: transform; /* Optimize for animation */
}

/* For infinite loop, duplicate the logos in HTML (JS or template) so the logos repeat seamlessly. Adjust keyframes for full width scroll. */

/* Individual Logo Items */
.partner-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Logo Image Styling */
.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.3s, opacity 0.3s;
}

/* Hover Effects */
.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo:hover img {
    filter: grayscale(0);
    opacity: 1;
}

/* Animation Keyframes */
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.partner-logos-wrapper:hover .partner-logos {
    animation-play-state: paused;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .partner-logos-wrapper::before,
    .partner-logos-wrapper::after {
        width: 50px;
    }
    
    .partner-logo {
        width: 120px;
        height: 60px;
    }
}
/* Footer */
footer {
    background-color: #ff7f06;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h3 {
    color: #3498db;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #fa8100;
}

.office-info {
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.6;
}

.office-info strong {
    display: block;
    margin-bottom: 5px;
    color: #ecf0f1;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bdc3c7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .logo {
        margin-bottom: 15px;

    }

    nav ul {
        flex-direction: column;
        align-items: center;
        display: none;
    }

    nav ul.show {
        display: flex;
    }

    nav ul li {
        margin: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
        margin-top: 15px;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .event-info h2, 
    .partners h2 {
        font-size: 28px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 28px;
    }

    .event-date {
        font-size: 16px;
    }

    .event-card {
        flex: 1 1 100%;
    }

    .partner-logo {
        flex: 0 0 120px;
        height: 60px;
    }

    .footer-section {
        flex: 1 1 100%;
    }
}

/* Animation for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



