/*
=========================================================
 IC-AnBioS 2026 — Custom Website Stylesheet
 The 1st International Conference on Animal Bioscience
 for Sustainable Ecosystem
 Faculty of Animal Science — Universitas Islam Malang
 Theme: “Advancing Animal Bioscience for Sustainable Agriculture”
=========================================================
*/

/* =========================
   1. DESIGN TOKENS
========================= */
:root {
    --ic-brown: #472F1C;
    --ic-brown-dark: #2F1E12;
    --ic-brown-light: #6B4A2E;

    --ic-green: #6B8E23;
    --ic-green-dark: #3F5F18;
    --ic-green-light: #A7C957;

    --ic-gold: #D9A017;
    --ic-gold-light: #F1D58A;

    --ic-terracotta: #B85A2E;
    --ic-teal: #1E4D4B;

    --ic-cream: #F7F1E4;
    --ic-beige: #EBDCC0;
    --ic-white: #FFFFFF;

    --ic-text: #30271F;
    --ic-muted: #756B60;
    --ic-border: #DED3C1;

    --ic-shadow: 0 10px 30px rgba(71, 47, 28, .10);
    --ic-shadow-hover: 0 16px 38px rgba(71, 47, 28, .18);

    --ic-radius-sm: 8px;
    --ic-radius: 14px;
    --ic-radius-lg: 24px;

    --ic-container: 1180px;
    --ic-transition: all .3s ease;
}

/* =========================
   2. GLOBAL
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ic-text);
    background: var(--ic-white);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--ic-brown);
    text-decoration: none;
    transition: var(--ic-transition);
}

a:hover {
    color: var(--ic-gold);
}

.container {
    width: min(var(--ic-container), 92%);
    margin-inline: auto;
}

/* =========================
   3. TYPOGRAPHY
========================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 16px;
    color: var(--ic-brown);
    font-family: "Poppins", "Georgia", serif;
    font-weight: 700;
    line-height: 1.25;
}

h1 {
    font-size: clamp(40px, 5vw, 68px);
}

h2 {
    font-size: clamp(30px, 4vw, 46px);
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 20px;
}

p {
    margin: 0 0 20px;
}

.text-brown { color: var(--ic-brown); }
.text-green { color: var(--ic-green); }
.text-gold { color: var(--ic-gold); }
.text-muted { color: var(--ic-muted); }

.section-title {
    position: relative;
    margin-bottom: 18px;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 14px;
    border-radius: 20px;
    background: var(--ic-gold);
}

.text-center .section-title::after {
    margin-inline: auto;
}

/* =========================
   4. HEADER
========================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid rgba(71,47,28,.08);
    box-shadow: 0 4px 18px rgba(71,47,28,.07);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-logo img {
    max-height: 62px;
    width: auto;
}

/* =========================
   5. NAVIGATION
========================= */
.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-navigation a {
    position: relative;
    display: block;
    padding: 28px 13px;
    color: var(--ic-brown);
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 17px;
    width: 0;
    height: 3px;
    border-radius: 10px;
    background: var(--ic-gold);
    transform: translateX(-50%);
    transition: var(--ic-transition);
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--ic-green-dark);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 45%;
}

/* =========================
   6. HERO / HOME
========================= */
.hero-section {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(247,241,228,.98) 0%,
            rgba(247,241,228,.94) 38%,
            rgba(247,241,228,.42) 68%,
            rgba(247,241,228,.08) 100%
        ),
        url("images/ic-anbios-hero.jpg") center / cover no-repeat;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(167,201,87,.22),
            transparent 35%
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 690px;
    padding: 90px 0;
}

.hero-subtitle {
    display: inline-block;
    margin-bottom: 16px;
    padding: 7px 15px;
    border-radius: 50px;
    color: var(--ic-brown);
    background: rgba(217,160,23,.15);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    margin-bottom: 22px;
    color: var(--ic-brown);
    font-size: clamp(42px, 5vw, 68px);
}

.hero-theme {
    max-width: 650px;
    margin-bottom: 28px;
    color: var(--ic-green-dark);
    font-family: Georgia, serif;
    font-size: clamp(22px, 3vw, 31px);
    font-style: italic;
    line-height: 1.4;
}

.hero-description {
    max-width: 640px;
    margin-bottom: 30px;
    color: #51483F;
    font-size: 17px;
}

/* =========================
   7. EVENT META
========================= */
.event-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 25px 0 30px;
}

.event-info-item {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ic-brown);
    font-weight: 600;
}

.event-info-item i,
.event-info-item svg {
    color: var(--ic-gold);
}

/* =========================
   8. BUTTONS
========================= */
.btn,
button,
input[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 27px;
    border: 2px solid transparent;
    border-radius: var(--ic-radius-sm);
    cursor: pointer;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    transition: var(--ic-transition);
}

.btn-primary {
    color: #fff;
    background: var(--ic-brown);
}

.btn-primary:hover {
    color: #fff;
    background: var(--ic-brown-dark);
    transform: translateY(-2px);
    box-shadow: var(--ic-shadow-hover);
}

.btn-secondary {
    color: #fff;
    background: var(--ic-green);
}

.btn-secondary:hover {
    color: #fff;
    background: var(--ic-green-dark);
    transform: translateY(-2px);
}

.btn-accent,
.btn-gold {
    color: #fff;
    background: var(--ic-gold);
}

.btn-accent:hover,
.btn-gold:hover {
    color: #fff;
    background: #B8830F;
    transform: translateY(-2px);
}

.btn-outline {
    color: var(--ic-brown);
    border-color: var(--ic-brown);
    background: transparent;
}

.btn-outline:hover {
    color: #fff;
    background: var(--ic-brown);
}

/* =========================
   9. SECTIONS
========================= */
.section {
    padding: 90px 0;
}

.section-cream {
    background: var(--ic-cream);
}

.section-beige {
    background: var(--ic-beige);
}

.section-green {
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--ic-brown) 0%,
            var(--ic-brown-dark) 45%,
            var(--ic-green-dark) 100%
        );
}

.section-green h2,
.section-green h3,
.section-green h4 {
    color: #fff;
}

.section-description {
    max-width: 780px;
    color: var(--ic-muted);
}

/* =========================
   10. ABOUT
========================= */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.about-image {
    position: relative;
}

.about-image img {
    display: block;
    width: 100%;
    border-radius: var(--ic-radius-lg);
    box-shadow: var(--ic-shadow);
}

.about-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -25px;
    bottom: -25px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--ic-green-light);
    opacity: .3;
}

/* =========================
   11. SCOPE CARDS
========================= */
.scope-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.scope-card {
    position: relative;
    padding: 32px 28px;
    overflow: hidden;
    border: 1px solid var(--ic-border);
    border-radius: var(--ic-radius);
    background: var(--ic-white);
    box-shadow: var(--ic-shadow);
    transition: var(--ic-transition);
}

.scope-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background:
        linear-gradient(
            90deg,
            var(--ic-brown),
            var(--ic-gold),
            var(--ic-green)
        );
}

.scope-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ic-shadow-hover);
}

.scope-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 16px;
    color: var(--ic-brown);
    background: var(--ic-cream);
    font-size: 28px;
}

.scope-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.scope-card p {
    margin-bottom: 0;
    color: var(--ic-muted);
    font-size: 14px;
}

/* =========================
   12. FEATURE CARDS
========================= */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-box {
    padding: 30px 22px;
    text-align: center;
    border: 1px solid var(--ic-border);
    border-radius: var(--ic-radius);
    background: #fff;
    box-shadow: var(--ic-shadow);
    transition: var(--ic-transition);
}

.feature-box:hover {
    transform: translateY(-6px);
    border-color: var(--ic-gold-light);
}

.feature-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    color: var(--ic-green-dark);
    background: var(--ic-cream);
    font-size: 28px;
}

/* =========================
   13. SPEAKERS
========================= */
.speaker-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
}

.speaker-card {
    overflow: hidden;
    border-radius: var(--ic-radius);
    background: #fff;
    box-shadow: var(--ic-shadow);
    transition: var(--ic-transition);
}

.speaker-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--ic-shadow-hover);
}

.speaker-image img {
    display: block;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.speaker-content {
    padding: 22px;
}

.speaker-content h3 {
    margin-bottom: 5px;
    font-size: 19px;
}

.speaker-position {
    color: var(--ic-green);
    font-size: 13px;
    font-weight: 700;
}

.speaker-country {
    color: var(--ic-muted);
    font-size: 13px;
}

/* =========================
   14. IMPORTANT DATES
========================= */
.timeline {
    position: relative;
    max-width: 850px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--ic-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 28px;
    padding-left: 68px;
}

.timeline-dot {
    position: absolute;
    left: 12px;
    top: 5px;
    width: 24px;
    height: 24px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--ic-gold);
    box-shadow: 0 0 0 2px var(--ic-gold);
}

.timeline-content {
    padding: 22px 25px;
    border-radius: var(--ic-radius);
    background: #fff;
    box-shadow: var(--ic-shadow);
}

.timeline-date {
    color: var(--ic-green-dark);
    font-size: 14px;
    font-weight: 800;
}

/* =========================
   15. CALL FOR PAPERS
========================= */
.call-for-paper {
    position: relative;
    padding: 62px;
    overflow: hidden;
    border-radius: var(--ic-radius-lg);
    color: #fff;
    background:
        linear-gradient(
            135deg,
            var(--ic-brown),
            var(--ic-brown-dark)
        );
    box-shadow: var(--ic-shadow);
}

.call-for-paper h2 {
    color: #fff;
}

.call-for-paper p {
    max-width: 760px;
    color: rgba(255,255,255,.82);
}

.call-for-paper::after {
    content: "IC";
    position: absolute;
    right: 20px;
    bottom: -75px;
    color: rgba(255,255,255,.045);
    font-family: "Poppins", sans-serif;
    font-size: 190px;
    font-weight: 800;
}

/* =========================
   16. BADGES
========================= */
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-brown {
    color: #fff;
    background: var(--ic-brown);
}

.badge-green {
    color: #fff;
    background: var(--ic-green);
}

.badge-gold {
    color: #fff;
    background: var(--ic-gold);
}

.badge-terracotta {
    color: #fff;
    background: var(--ic-terracotta);
}

.badge-teal {
    color: #fff;
    background: var(--ic-teal);
}

/* =========================
   17. TABLE
========================= */
.icanbios-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: var(--ic-radius);
    box-shadow: var(--ic-shadow);
}

.icanbios-table th {
    padding: 16px 18px;
    color: #fff;
    text-align: left;
    background: var(--ic-brown);
}

.icanbios-table td {
    padding: 15px 18px;
    border-bottom: 1px solid var(--ic-border);
    background: #fff;
}

.icanbios-table tr:nth-child(even) td {
    background: var(--ic-cream);
}

/* =========================
   18. FORMS
========================= */
.form-control,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #D2C5B1;
    border-radius: var(--ic-radius-sm);
    outline: none;
    color: var(--ic-text);
    background: #fff;
    font-family: inherit;
    font-size: 15px;
    transition: var(--ic-transition);
}

.form-control:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--ic-gold);
    box-shadow: 0 0 0 4px rgba(217,160,23,.13);
}

textarea {
    min-height: 160px;
    resize: vertical;
}

label {
    display: block;
    margin-bottom: 7px;
    color: var(--ic-brown);
    font-size: 14px;
    font-weight: 700;
}

/* =========================
   19. ALERTS
========================= */
.alert {
    margin: 20px 0;
    padding: 16px 20px;
    border-left: 4px solid;
    border-radius: var(--ic-radius-sm);
}

.alert-success {
    border-color: var(--ic-green);
    color: #38501E;
    background: #EEF5E4;
}

.alert-warning {
    border-color: var(--ic-gold);
    color: #715114;
    background: #FFF5DA;
}

.alert-info {
    border-color: var(--ic-teal);
    color: #245B58;
    background: #E7F2F1;
}

/* =========================
   20. PAGE HEADER
========================= */
.page-header {
    position: relative;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(
            rgba(71,47,28,.88),
            rgba(71,47,28,.88)
        ),
        url("images/page-banner.jpg") center / cover no-repeat;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(38px, 5vw, 58px);
}

.breadcrumb {
    color: rgba(255,255,255,.78);
    font-size: 14px;
}

.breadcrumb a {
    color: #fff;
}

/* =========================
   21. CTA
========================= */
.cta-section {
    padding: 80px 0;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(
            rgba(71,47,28,.92),
            rgba(63,95,24,.90)
        ),
        url("images/ic-anbios-background.jpg") center / cover no-repeat;
}

.cta-section h2 {
    color: #fff;
}

.cta-section p {
    max-width: 720px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,.84);
}

/* =========================
   22. FOOTER
========================= */
.site-footer {
    position: relative;
    overflow: hidden;
    padding-top: 65px;
    color: rgba(255,255,255,.82);
    background:
        linear-gradient(
            135deg,
            var(--ic-brown-dark),
            var(--ic-brown)
        );
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
    gap: 42px;
    padding-bottom: 45px;
}

.site-footer h4 {
    margin-bottom: 18px;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
}

.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu a {
    color: rgba(255,255,255,.75);
    font-size: 14px;
}

.footer-menu a:hover {
    padding-left: 4px;
    color: var(--ic-gold-light);
}

.footer-contact {
    font-size: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 11px;
    margin-bottom: 12px;
}

/* =========================
   23. SOCIAL MEDIA
========================= */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    color: #fff;
}

.social-links a:hover {
    border-color: var(--ic-gold);
    color: var(--ic-brown);
    background: var(--ic-gold);
    transform: translateY(-3px);
}

/* =========================
   24. COPYRIGHT
========================= */
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.62);
    font-size: 13px;
}

/* =========================
   25. SCROLL TOP
========================= */
.scroll-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--ic-brown);
    box-shadow: var(--ic-shadow);
    cursor: pointer;
    transition: var(--ic-transition);
}

.scroll-top:hover {
    color: #fff;
    background: var(--ic-gold);
    transform: translateY(-4px);
}

/* =========================
   26. ELEMENTOR SUPPORT
========================= */
.elementor-widget-heading .elementor-heading-title {
    color: var(--ic-brown);
    font-family: "Poppins", "Georgia", serif;
}

.elementor-button {
    border-radius: 8px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 700 !important;
}

.elementor-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--ic-shadow-hover);
}

.elementor-widget-text-editor {
    color: var(--ic-text);
    line-height: 1.75;
}

/* =========================
   27. WORDPRESS UTILITY
========================= */
.wp-block-button__link {
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
}

.wp-block-button__link:hover {
    transform: translateY(-2px);
}

/* =========================
   28. SELECTION & SCROLLBAR
========================= */
::selection {
    color: #fff;
    background: var(--ic-brown);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--ic-cream);
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: var(--ic-brown);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ic-green-dark);
}

/* =========================
   29. TABLET
========================= */
@media (max-width: 1024px) {
    .scope-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid,
    .speaker-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-navigation a {
        padding-inline: 7px;
        font-size: 11px;
    }
}

/* =========================
   30. MOBILE
========================= */
@media (max-width: 767px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 65px 0;
    }

    .header-inner {
        min-height: 70px;
    }

    .main-navigation {
        display: none;
    }

    .hero-section {
        min-height: auto;
        background:
            linear-gradient(
                rgba(247,241,228,.94),
                rgba(247,241,228,.94)
            ),
            url("images/ic-anbios-hero.jpg") center / cover no-repeat;
    }

    .hero-content {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 39px;
    }

    .hero-theme {
        font-size: 23px;
    }

    .about-wrapper,
    .scope-grid,
    .features-grid,
    .speaker-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .about-wrapper {
        gap: 35px;
    }

    .call-for-paper {
        padding: 42px 26px;
    }

    .event-info {
        flex-direction: column;
        gap: 10px;
    }
}

/* =========================
   31. SMALL MOBILE
========================= */
@media (max-width: 480px) {
    .container {
        width: 90%;
    }

    h1 {
        font-size: 35px;
    }

    h2 {
        font-size: 29px;
    }

    .hero-title {
        font-size: 34px;
    }

    .btn {
        width: 100%;
        margin-bottom: 10px;
    }
}
