/* ============================================
   BELFAST CITY COUNCIL - CUSTOM STYLES
   ============================================ */

/* ============================================
   CSS VARIABLES - BELFAST CITY COUNCIL BRAND
   ============================================ */
:root {
    /* Primary Brand Colours */
    --belfast-teal: #00A5A0;
    --belfast-dark-teal: #008B87;
    --belfast-navy: #003C5A;
    
    /* Neutral Colours */
    --white: #FFFFFF;
    --light-grey: #F5F5F5;
    --medium-grey: #E5E5E5;
    --dark-grey: #333333;
    --text-grey: #666666;
    --text-light: #999999;
    
    /* Functional Colours */
    --success: #28A745;
    --warning: #FFC107;
    --error: #DC3545;
    
    /* Typography */
    --font-heading: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 0;
    color: var(--belfast-navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.75rem; }
h5 { font-size: 1.5rem; }
h6 { font-size: 1.25rem; }

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-grey);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-utility {
    background: var(--belfast-navy);
    color: var(--white);
    padding: 12px 0;
    font-size: 1.25rem;
}

.nav-utility .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-utility-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-utility-left i {
    color: var(--belfast-teal);
}

.nav-utility a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-utility a:hover {
    color: var(--belfast-teal);
}

.nav-bar {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 3px solid var(--belfast-teal);
}

.nav-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.menu li a {
    color: var(--belfast-navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.5rem;
    transition: color 0.3s ease;
    position: relative;
}

.menu li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--belfast-teal);
    transition: width 0.3s ease;
}

.menu li a:hover {
    color: var(--belfast-teal);
}

.menu li a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--belfast-navy);
}

/* ============================================
   HERO BANNER
   ============================================ */
#hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

#banner-img {
    width: 100%;
    height: auto;
    display: block;
    min-height: 400px;
    object-fit: cover;
}

#banner-btn {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-heading);
}

.btn-filled {
    background: var(--belfast-teal);
    color: var(--white);
    border-color: var(--belfast-teal);
}

.btn-filled:hover {
    background: var(--belfast-dark-teal);
    border-color: var(--belfast-dark-teal);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 165, 160, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--belfast-teal);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--belfast-teal);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--belfast-teal);
    border-color: var(--belfast-teal);
}

.btn-outline:hover {
    background: var(--belfast-teal);
    color: var(--white);
}

.btn-lg {
    padding: 15px 40px;
    font-size: 1.5rem;
}

.btn.disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
    padding: 80px 0;
}

.bg-white {
    background: var(--white);
}

.bg-light {
    background: var(--light-grey);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--belfast-navy);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-grey);
}

/* ============================================
   SPEAKERS SECTION
   ============================================ */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.speaker-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.speaker-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 165, 160, 0.2);
}

.speaker-image-wrapper {
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--belfast-teal) 0%, var(--belfast-dark-teal) 100%);
}

.speaker-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.speaker-card:hover .speaker-image-wrapper img {
    transform: scale(1.05);
}

.speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 80px;
}

.speaker-info {
    padding: 25px;
    text-align: center;
}

.speaker-info h5 {
    margin: 0 0 10px 0;
    color: var(--belfast-navy);
    font-size: 1.3rem;
}

.speaker-info p {
    margin: 0;
    color: var(--text-grey);
    font-size: 0.95rem;
}

/* ============================================
   AGENDA SECTION
   ============================================ */
.agenda-item {
    background: var(--white);
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--belfast-teal);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.agenda-item:hover {
    box-shadow: 0 4px 15px rgba(0, 165, 160, 0.15);
    transform: translateX(5px);
}

.agenda-time {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--belfast-teal);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.agenda-time i {
    font-size: 1.2rem;
}

.agenda-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--belfast-navy);
    margin-bottom: 8px;
}

.agenda-speaker {
    color: var(--text-grey);
    font-style: italic;
    margin-bottom: 10px;
}

/* ============================================
   REGISTRATION SECTION
   ============================================ */
#registration {
    background: linear-gradient(135deg, var(--belfast-navy) 0%, var(--belfast-dark-teal) 100%);
    padding: 80px 0;
}

#registration .section-header h2 {
    color: var(--white);
}

.reg-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.pricing-table {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.pricing-table:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(0, 165, 160, 0.25);
}

.pricing-table h5 {
    color: var(--belfast-navy);
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.pricing-table .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--belfast-teal);
    margin: 20px 0;
}

/* Quantity Selector */
.quantity-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 25px 0;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--belfast-teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.quantity-btn:hover {
    background: var(--belfast-dark-teal);
    transform: scale(1.1);
}

.quantity-btn.disabled {
    background: var(--medium-grey);
    cursor: not-allowed;
}

.quantity-btn.disabled:hover {
    transform: none;
}

.quantity-display {
    font-size: 2rem;
    font-weight: 700;
    color: var(--belfast-navy);
    min-width: 60px;
    text-align: center;
}

/* Hide default select */
.pricing-table select {
    display: none;
}

/* ============================================
   SPONSORS SECTION
   ============================================ */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.sponsors-grid a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.sponsors-grid a:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 165, 160, 0.15);
}

.sponsors-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.sponsors-grid a:hover img {
    filter: grayscale(0%);
}

/* ============================================
   VENUE SECTION
   ============================================ */
#venue {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

.map-container {
    position: relative;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
}

.venue-details {
    background: var(--belfast-navy);
    color: var(--white);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.venue-details h2 {
    color: var(--white);
    margin-bottom: 25px;
    font-size: 2.2rem;
}

.address-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--light-grey);
}

.venue-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--belfast-navy);
    color: var(--white);
    padding: 60px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

footer h3 {
    color: var(--belfast-teal);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

footer p {
    line-height: 1.8;
    color: var(--light-grey);
}

footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--belfast-teal);
}

footer i {
    margin-right: 8px;
}

.social-list {
    display: flex;
    gap: 15px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-list a:hover {
    background: var(--belfast-teal);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--light-grey);
}

/* ============================================
   MODALS
   ============================================ */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.modal-header {
    background: linear-gradient(135deg, var(--belfast-teal) 0%, var(--belfast-dark-teal) 100%);
    color: var(--white);
    border-radius: 12px 12px 0 0;
    padding: 25px 30px;
    border: none;
}

.modal-title {
    color: var(--white);
    font-size: 1.6rem;
}

.modal-header .close {
    color: var(--white);
    opacity: 1;
    font-size: 2rem;
    font-weight: 300;
    text-shadow: none;
}

.modal-header .close:hover {
    color: var(--white);
    opacity: 0.8;
}

.modal-body {
    padding: 30px;
}

.modal-footer {
    border-top: 1px solid var(--medium-grey);
    padding: 20px 30px;
}

/* ============================================
   FORMS
   ============================================ */
.survey-header-label{
  font-size: 22px!important;
}

input[type="email"],
input[type="text"],
select {
    width: 100%;
    padding: 14px;
    border: 2px solid #cecece;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff!important;
    transition: border-color 0.3s ease;
  	margin-bottom: 10px;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--cvsni-teal);
}

textarea {
    overflow: auto;
    width: 100%;
    padding: 14px;
    border: 2px solid #cecece;
    border-radius: 8px;
    font-size: 16px;
    background: #ffffff !important;
    transition: border-color 0.3s ease;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 992px) {
    #venue {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        min-height: 400px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto 20px;
    }
    
    .social-list {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .menu.active {
        display: flex;
    }
    
    .menu li {
        width: 100%;
        text-align: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--medium-grey);
    }
    
    .menu li:last-child {
        border-bottom: none;
    }
    
    .menu li a::after {
        display: none;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .reg-row {
        grid-template-columns: 1fr;
    }
    
    .venue-details {
        padding: 40px 20px;
    }
    
    .venue-buttons {
        flex-direction: column;
    }
    
    .venue-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 45px;
    }
    
    .nav-utility {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .container {
        padding: 0 15px;
    }
    
    #banner-btn {
        bottom: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .nav-container,
    .mobile-toggle,
    #hero-banner,
    #registration,
    footer,
    .modal {
        display: none !important;
    }
    
    section {
        page-break-inside: avoid;
    }
}
