/* HSICON 2027 - Global Styles */

:root {
    /* Colours sampled from the conference logo */
    --navy: #0a284d;   /* HSICON lettering */
    --blue: #0a284d;
    --teal: #587878;   /* mountains */
    --green: #586838;  /* "27", COIMBATORE, palm */
    --leaf: #586838;
    --sand: #f5d9ac;   /* clock tower */
    --gold: #f5d9ac;
    --orange: #b89868; /* clock tower shading */
    --rainbow: linear-gradient(90deg, #0a284d 0%, #587878 35%, #586838 65%, #f5d9ac 100%);
}

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

body {
    font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #333;
    background: #fbfaf5;
}

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

/* Navigation */
nav {
    background: #fdfdfd;
    padding: 0.4rem 0;
    border-bottom: 4px solid transparent;
    border-image: var(--rainbow) 1;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(10,40,77,0.12);
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

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

nav .nav-logo img {
    height: 102px;
    width: auto;
    display: block;
}

nav .logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

nav ul a {
    display: block;
    color: var(--navy);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    transition: background 0.3s, color 0.3s;
}

nav ul a:hover {
    background: var(--green);
    color: white;
}

/* Page Header */
.page-header {
    background:
        radial-gradient(circle at 85% 15%, rgba(245,217,172,0.16) 0, transparent 45%),
        linear-gradient(120deg, #081838 0%, #0a284d 50%, #3d6068 100%);
    color: white;
    padding: 3rem 20px;
    text-align: center;
    border-bottom: 6px solid transparent;
    border-image: var(--rainbow) 1;
}

.page-header p {
    color: #f5d9ac;
    font-size: 1.1rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(245,217,172,0.16) 0, transparent 45%),
        linear-gradient(120deg, #081838 0%, #0a284d 50%, #3d6068 100%);
    color: white;
    padding: 4.5rem 20px;
    border-bottom: 6px solid transparent;
    border-image: var(--rainbow) 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero .cta-buttons {
    justify-content: flex-start;
}

.logo-section {
    margin: 0;
}

.logo-section img {
    display: block;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    height: auto;
    background: #fdfdfd;
    padding: 0.75rem;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.30);
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.conference-info {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.conference-info strong {
    font-weight: 700;
}

/* Content */
.content {
    padding: 3rem 20px;
}

.section {
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.section h2 {
    color: #0a284d;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid transparent;
    border-image: var(--rainbow) 1;
    padding-bottom: 0.5rem;
}

.section h3 {
    color: #586838;
    font-size: 1.3rem;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.section p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: #f5d9ac;
    color: #0a284d;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(245, 217, 172, 0.35);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 10px 28px;
    font-weight: bold;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Highlights Section */
.highlights {
    padding: 4rem 20px;
    background: linear-gradient(180deg, #fbf1df 0%, #edf1ee 100%);
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    border-top: 6px solid var(--orange);
}

.highlight-card:nth-child(3n+2) { border-top-color: var(--teal); }
.highlight-card:nth-child(3n+3) { border-top-color: var(--leaf); }
.highlight-card:nth-child(3n+2) h3 { color: var(--teal); }
.highlight-card:nth-child(3n+3) h3 { color: var(--green); }

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card h3 {
    color: #0a284d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.highlight-card p {
    color: #4d5560;
}

/* Quick Facts */
.quick-facts {
    padding: 3rem 20px;
    background: white;
}

.quick-facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.fact-item {
    padding: 2rem;
    border-radius: 14px;
    color: white;
    background: #0a284d;
    box-shadow: 0 6px 18px rgba(10,40,77,0.15);
}

.fact-item:nth-child(4n+2) { background: #586838; }
.fact-item:nth-child(4n+3) { background: #587878; }
.fact-item:nth-child(4n+4) { background: #f5d9ac; }
.fact-item:nth-child(4n+4) .fact-number,
.fact-item:nth-child(4n+4) .fact-label { color: #0a284d; }

.fact-number {
    font-size: 2.8rem;
    color: white;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.fact-label {
    color: white;
    font-weight: 400;
}

/* Info Box */
.info-box {
    background: #fbf1df;
    border-left: 5px solid #b89868;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.info-box strong {
    color: #0a284d;
}

/* Highlights List */
.highlights-list {
    background: #edf1ee;
    border-left: 5px solid var(--teal);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.highlights-list ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.highlights-list li {
    margin-bottom: 0.8rem;
    color: #333;
}

/* Member Cards */
.member-card {
    background: white;
    border-left: 4px solid #0a284d;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.member-card:nth-child(4n+2) { border-left-color: var(--orange); }
.member-card:nth-child(4n+3) { border-left-color: var(--leaf); }
.member-card:nth-child(4n+4) { border-left-color: var(--teal); }

.member-name {
    font-weight: bold;
    color: #0a284d;
    font-size: 1.1rem;
}

.member-title {
    color: #586838;
    font-size: 0.95rem;
    font-style: italic;
}

.member-location {
    color: #777;
    font-size: 0.9rem;
    margin-top: 0.3rem;
}

.zone-title {
    color: var(--navy);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 1.5rem 0 0.9rem;
    padding-left: 0.7rem;
    border-left: 4px solid var(--orange);
}

.people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.person-card {
    background: white;
    border-radius: 12px;
    border-top: 5px solid var(--navy);
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.person-card:nth-child(4n+2) { border-top-color: var(--orange); }
.person-card:nth-child(4n+3) { border-top-color: var(--green); }
.person-card:nth-child(4n+4) { border-top-color: var(--teal); }

.person-photo {
    width: 160px;
    height: 160px;
    border-radius: 14px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0 auto 1rem;
    border: 4px solid var(--sand);
}

.person-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--sand);
    font-size: 2.6rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

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

.members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Travel Cards */
.travel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.travel-card {
    background: white;
    border: 2px solid #0a284d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top-width: 6px;
}

.travel-card:nth-child(3n+2) { border-color: var(--leaf); }
.travel-card:nth-child(3n+3) { border-color: var(--gold); }

.travel-card h4 {
    color: #586838;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.travel-card p {
    margin: 0.5rem 0;
    color: #555;
}

.travel-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Schedule Table */
.schedule-container {
    overflow-x: auto;
    margin: 2rem 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.schedule-table th {
    background: linear-gradient(120deg, #0a284d 0%, #3d6068 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: bold;
}

.schedule-table td {
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.schedule-table tbody tr:nth-child(even) {
    background: #f3f5ef;
}

.schedule-table tr:hover {
    background: #fbf1df;
}

.time-slot {
    font-weight: bold;
    color: #586838;
}

/* Contact Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: white;
    border: 2px solid #0a284d;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-top-width: 6px;
}

.contact-card:nth-child(3n+2) { border-color: var(--orange); }
.contact-card:nth-child(3n+3) { border-color: var(--leaf); }

.contact-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #586838;
}

.contact-card h4 {
    color: #0a284d;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-card a {
    color: #586838;
    text-decoration: none;
}

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

/* Amenity Cards */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.amenity-card {
    background: white;
    border: 2px solid #0a284d;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    background: #eef1f5;
}

.amenity-card:nth-child(4n+2) { border-color: var(--orange); background: #f8f1e4; }
.amenity-card:nth-child(4n+3) { border-color: var(--leaf); background: #f1f3ea; }
.amenity-card:nth-child(4n+4) { border-color: var(--teal); background: #edf1ee; }

.amenity-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.amenity-card h4 {
    color: #0a284d;
    margin-bottom: 0.5rem;
}

.amenity-card p {
    color: #666;
    font-size: 0.9rem;
}

/* FAQ */
.faq-item {
    background: white;
    border-left: 4px solid #b89868;
    padding: 1.5rem;
    margin: 1rem 0;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item:nth-child(3n+2) { border-left-color: var(--teal); }
.faq-item:nth-child(3n+3) { border-left-color: var(--leaf); }

.faq-question {
    font-weight: bold;
    color: #0a284d;
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: #555;
}

/* Attraction Cards */
.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.attraction-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    border-top: 6px solid var(--orange);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.attraction-card:nth-child(4n+2) { border-top-color: var(--teal); }
.attraction-card:nth-child(4n+3) { border-top-color: var(--leaf); }
.attraction-card:nth-child(4n+4) { border-top-color: var(--blue); }

.attraction-card img {
    border-radius: 14px;
}

.attraction-card h4 {
    color: var(--navy);
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.attraction-card p {
    color: #555;
    margin-bottom: 0.4rem;
}

/* Footer */
footer {
    background: linear-gradient(120deg, #081838 0%, #0a284d 100%);
    color: white;
    padding: 2rem 20px;
    text-align: center;
    border-top: 6px solid transparent;
    border-image: var(--rainbow) 1;
}

footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    nav .container {
        justify-content: center;
    }

    nav .nav-logo img {
        height: 52px;
    }

    nav ul {
        justify-content: center;
        gap: 0.2rem;
    }

    nav ul a {
        font-size: 0.85rem;
        padding: 0.35rem 0.6rem;
    }

    .hero {
        padding: 2.5rem 20px;
    }

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

    .hero-text {
        text-align: center;
    }

    .hero .cta-buttons {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .contact-grid,
    .travel-grid,
    .members-grid,
    .highlights-grid,
    .amenities-grid,
    .attractions-grid {
        grid-template-columns: 1fr;
    }

    .schedule-table th,
    .schedule-table td {
        padding: 0.7rem;
        font-size: 0.9rem;
    }
}

/* Footer links */
footer a {
    color: #f5d9ac;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem 1rem;
    font-size: 0.95rem;
}

.footer-links a {
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-links span {
    opacity: 0.5;
}
