/*
Theme Name: STI 2026 Conference
Description: Theme for Science Technology Innovation events
Author: Dariusz Piwko
Version: 1.0
Text Domain: sti-2026
*/

/* Import from original styles.css */

:root {
    --primary-color: #ff6600;
    --secondary-color: #f8f4f0;
    --accent-color: #ff6600;
    --text-dark: #2c2c2c;
    --text-medium: #555555;
    --text-light: #777777;
    --white: #ffffff;
    --light-gray: #fafafa;
    --border-light: #e5e5e5;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --border-radius-large: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    flex: 0 0 auto;
    margin-right: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.university-logo {
    flex-shrink: 0;
    height: auto;
}

.brand-text {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.brand-text:hover {
    opacity: 0.8;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.brand-text span {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: flex;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Active menu item */
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a,
.nav-menu a.active {
    color: var(--primary-color);
    position: relative;
}

.nav-menu .current-menu-item > a::after,
.nav-menu .current-menu-ancestor > a::after,
.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Dropdown menu styles */
.nav-menu li {
    position: relative;
}

.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    margin: 0;
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu {
    list-style: none !important;
}

.nav-menu .sub-menu li {
    width: 100%;
    margin: 0;
    display: block;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
    width: 100%;
}

.nav-menu .sub-menu a:last-child {
    border-bottom: none;
}

.nav-menu .sub-menu a:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.nav-menu .dropdown-arrow {
    font-size: 0.75rem;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.nav-menu li:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-menu .menu-item-has-children > a {
    display: flex;
    align-items: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex: 0 0 auto;
    border-radius: var(--border-radius);
    transition: background 0.3s ease;
}

.nav-toggle:hover {
    background: var(--secondary-color);
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile menu backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, rgba(248, 244, 240, 0.7) 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 2rem;
    font-weight: 500;
}

.hero-details {
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-medium);
}

.detail-item .icon {
    font-size: 1.25rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: rgba(255, 102, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.hero-graphic {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #0043ff, rgba(0, 67, 255, 0.7));
    border-radius: var(--border-radius-large);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-graphic-text {
    color: white;
    text-align: center;
    z-index: 2;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-graphic-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-graphic-year {
    font-size: 3.5rem;
    font-weight: 900;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-register-btn {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 3;
    position: relative;
    text-decoration: none;
}

.hero-register-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-register-btn:active {
    transform: translateY(-1px);
}

.hero-graphic::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255, 255, 255, 0.1) 20px,
        rgba(255, 255, 255, 0.1) 40px
    );
    animation: float 20s linear infinite;
}

@keyframes float {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 800px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: var(--white);
    margin-top: 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-card ul {
    list-style: none;
}

.about-card li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.about-card li:last-child {
    border-bottom: none;
}

.about-card li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.participants-count {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    text-align: center;
}

/* Program Section */
.program h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.program-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.program-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.program-items {
    display: grid;
    gap: 1rem;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateY(-2px);
}

.program-item .icon {
    font-size: 1.5rem;
}

.itar-section {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: var(--border-radius-large);
}

.itar-section p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
}

.itar-features {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.itar-feature {
    color: var(--text-dark);
    font-weight: 500;
}

.itar-highlight {
    background: var(--primary-color);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: var(--border-radius-large);
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-medium);
}

/* Registration Section */
.registration {
    background: var(--secondary-color);
}

.registration h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.registration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.pricing-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-card ul {
    list-style: none;
    text-align: left;
}

.pricing-card li {
    padding: 0.75rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.pricing-card li:last-child {
    border-bottom: none;
}

.pricing-card li::before {
    content: '✓';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.registration-notes {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
}

.registration-notes p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.payment-details {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
}

.payment-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.payment-info {
    display: grid;
    gap: 1rem;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.payment-row:last-child {
    border-bottom: none;
}

/* Copy account number button */
.copy-account-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 0.875rem;
    margin-top: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
    font-weight: 500;
}

.copy-account-btn:hover {
    background: rgba(255, 102, 0, 0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.copy-account-btn.copied {
    background: #28a745;
    transform: scale(1.05);
}

.copy-account-btn .copy-icon {
    font-size: 1rem;
}

.copy-account-btn .copy-text {
    font-size: 0.875rem;
}

/* ISBN Section */
.isbn-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    margin-bottom: 2rem;
    border: 2px solid var(--secondary-color);
}

.isbn-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.isbn-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.isbn-info {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), #fff5eb);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.isbn-label {
    font-size: 0.875rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.isbn-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
    font-family: 'Courier New', monospace;
}

.isbn-description {
    font-size: 0.95rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.isbn-codes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.isbn-code-item {
    background: var(--light-gray);
    padding: 1.25rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.isbn-code-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.isbn-code-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

.code-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 150px;
    max-height: 250px;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    overflow: hidden;
}

.isbn-code-image {
    max-width: 100%;
    max-height: 220px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
}

.placeholder-code {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-light);
}

.placeholder-code p {
    font-size: 0.875rem;
    line-height: 1.6;
}

.placeholder-code strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Responsive adjustments for ISBN section */
@media (max-width: 768px) {
    .isbn-number {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }

    .isbn-codes {
        grid-template-columns: 1fr;
    }

    .isbn-section {
        padding: 1.5rem;
    }
}

.deadlines h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-align: center;
}

.deadlines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.deadline-item {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
}

.deadline-date {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.deadline-desc {
    color: var(--text-medium);
}

/* Deadline badges */
.deadline-item {
    position: relative;
}

.deadline-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 10;
}

.deadline-badge.next-badge {
    background: linear-gradient(135deg, var(--primary-color), #ff8533);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 102, 0, 0.3);
}

.deadline-badge.expired-badge {
    background: rgba(108, 117, 125, 0.9);
    color: white;
}

.deadline-item.next-deadline {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.15);
    border: 2px solid var(--primary-color);
}

.deadline-item.expired {
    opacity: 0.7;
}

/* Travel Section */
.travel {
    background: var(--light-gray);
}

.travel h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.travel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.travel-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.location-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.location-details p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.travel-options {
    display: grid;
    gap: 1.5rem;
}

.travel-option {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.travel-option h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.travel-option ul {
    list-style: none;
}

.travel-option li {
    padding: 0.5rem 0;
    color: var(--text-medium);
    border-bottom: 1px solid var(--border-light);
}

.travel-option li:last-child {
    border-bottom: none;
}

.travel-option li::before {
    content: '▶';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.map-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.map-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.map-links {
    margin-top: 1rem;
}

.map-link {
    display: inline-block;
    background: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: background 0.3s ease;
}

.map-link:hover {
    background: rgba(255, 102, 0, 0.9);
}

/* Countdown Section */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-color), rgba(255, 102, 0, 0.9));
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.countdown-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem 1rem;
    border-radius: var(--border-radius-large);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.countdown-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.countdown-date {
    margin-top: 1rem;
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-medium);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.organizers h3,
.materials h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.organizers ul,
.materials ul {
    list-style: none;
}

.organizers li,
.materials li {
    padding: 0.5rem 0;
    color: var(--text-medium);
}

.organizers li::before,
.materials li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.committee h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: var(--text-dark);
}

.committee ul {
    list-style: none;
}

.committee li {
    padding: 0.3rem 0;
    color: var(--text-medium);
    font-size: 0.9rem;
}

.committee li::before {
    content: '•';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.presentation-requirements {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
}

.presentation-requirements h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.presentation-requirements ul {
    list-style: none;
}

.presentation-requirements li {
    padding: 0.5rem 0;
    color: var(--text-medium);
}

.presentation-requirements li::before {
    content: '▶';
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-weight: bold;
}

.pricing-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.pricing-note h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #856404;
}

.pricing-note p {
    margin-bottom: 0.5rem;
    color: #856404;
    font-weight: 500;
}

.abstract-requirements {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
}

.abstract-requirements p {
    margin-bottom: 0.5rem;
    color: var(--text-medium);
}

.itar-section a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.itar-section a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2c2c2c;
    color: var(--white);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.footer-logo a:hover {
    opacity: 0.8;
}

.footer-brand h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Responsive Design */

/* Reset menu mobile na desktop */
@media (min-width: 769px) {
    .nav-menu {
        display: flex !important;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        opacity: 1 !important;
        padding: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
    }

    .nav-backdrop {
        display: none !important;
    }

    .nav-toggle {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .header {
        position: fixed;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        min-height: 70px;
        z-index: 1001;
    }

    /* Hide university logo on mobile to reduce clutter */
    .nav-brand {
        display: none !important;
    }

    .nav {
        position: relative;
        padding: 0.75rem 0;
    }

    main {
        padding-top: 70px;
    }

    .nav .container {
        gap: 0.5rem;
        flex-wrap: nowrap;
    }

    .nav-brand {
        margin-right: 0.5rem;
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .logo-container {
        gap: 0.5rem;
        flex-wrap: nowrap;
        max-width: 100%;
        overflow: hidden;
    }

    .nav-toggle {
        flex: 0 0 auto;
        flex-shrink: 0;
    }

    .university-logo {
        width: 70px;
        height: auto;
        flex-shrink: 0;
    }

    .brand-text {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .brand-text h1 {
        font-size: 1.05rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 0.2rem;
    }

    .brand-text span {
        font-size: 0.7rem;
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero-graphic-title {
        font-size: 1.5rem;
    }

    .hero-graphic-year {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .hero-register-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        box-shadow: none;
        z-index: 1002;
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
        opacity: 0;
    }

    .nav-menu.mobile-open {
        display: flex;
        flex-direction: column;
        gap: 0;
        max-height: 100%;
        opacity: 1;
        padding: 1rem;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.mobile-open > ul {
        background: var(--white);
        border-radius: 12px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    /* Wrapper dla lepszego stylowania */
    .nav-menu > ul {
        list-style: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu li:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }

    .nav-menu a {
        display: block;
        padding: 1.1rem 1.5rem;
        color: var(--text-dark);
        font-weight: 500;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: var(--white);
        position: relative;
        white-space: normal;
        word-wrap: break-word;
        line-height: 1.5;
    }

    .nav-menu a:hover {
        background: var(--secondary-color);
        color: var(--primary-color);
        padding-left: 2rem;
    }

    .nav-menu a:active {
        background: var(--light-gray);
    }

    .nav-menu .current-menu-item > a,
    .nav-menu a.active {
        background: linear-gradient(90deg, rgba(255, 102, 0, 0.1), var(--white));
        color: var(--primary-color);
        border-left: 4px solid var(--primary-color);
        padding-left: 1.5rem;
        font-weight: 600;
    }

    .nav-menu .current-menu-item > a::before,
    .nav-menu a.active::before {
        content: '▶';
        position: absolute;
        right: 1.5rem;
        font-size: 0.7rem;
        opacity: 0.6;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--light-gray);
        border-radius: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .nav-menu .sub-menu li {
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu .sub-menu a {
        padding-left: 2.5rem;
        font-size: 0.95rem;
        background: var(--light-gray);
    }

    .nav-menu .sub-menu a:hover {
        padding-left: 3rem;
        background: var(--secondary-color);
    }

    .nav-menu .dropdown-arrow {
        display: none;
    }

    .nav-menu .current-menu-item > a::after,
    .nav-menu .current-menu-ancestor > a::after,
    .nav-menu a.active::after {
        display: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1003;
        padding: 10px;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }

    .nav-toggle span {
        width: 24px;
        height: 2.5px;
    }

    .footer-logo {
        gap: 0.5rem;
    }

    .university-logo-footer {
        width: 70px;
        height: auto;
    }

    .hero {
        padding: 6rem 0 4rem;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-graphic {
        display: none !important;
        visibility: hidden !important;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .nav .container {
        padding: 0 0.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
        border: 2px solid var(--primary-color);
    }

    .registration-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .deadlines-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .travel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .countdown-item {
        padding: 1.5rem 0.5rem;
    }

    .countdown-number {
        font-size: 2.5rem;
    }

    .countdown-section h2 {
        font-size: 2rem;
    }
}

/* Tablet optimizations */
@media (max-width: 650px) and (min-width: 481px) {
    .university-logo {
        width: 65px;
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    .brand-text span {
        font-size: 0.68rem;
    }

    .nav-toggle span {
        width: 23px;
    }
}

@media (max-width: 480px) {
    .nav {
        padding: 0.5rem 0;
    }

    .nav .container {
        padding: 0 0.5rem;
    }

    .header {
        min-height: 60px;
    }

    .nav-brand {
        margin-right: 0.5rem;
    }

    .university-logo {
        width: 55px;
    }

    .logo-container {
        gap: 0.35rem;
    }

    .brand-text h1 {
        font-size: 0.95rem;
        margin-bottom: 0.15rem;
    }

    .brand-text span {
        font-size: 0.65rem;
    }

    .nav-menu {
        top: 60px;
    }

    .nav-menu a {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }

    .nav-menu a:hover {
        padding-left: 1.8rem;
    }

    .nav-menu .sub-menu a {
        padding-left: 2.2rem;
        font-size: 0.9rem;
    }

    .nav-menu .sub-menu a:hover {
        padding-left: 2.7rem;
    }

    .nav-toggle {
        padding: 8px;
        min-width: 40px;
        min-height: 40px;
    }

    .nav-toggle span {
        width: 22px;
        height: 2.5px;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .payment-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
