/* =========================================
   GLOBAL STYLE
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #f5eadc;

    color: #3b2418;

    line-height: 1.6;
}


/* =========================================
   COLOR PALETTE

   Dark Chocolate : #3B2418
   Chocolate      : #5C3624
   Milk Chocolate : #8B5E3C
   Caramel        : #B8895B
   Cream          : #F5EADC
   Light Cream    : #FFF9F2
========================================= */


/* =========================================
   NAVBAR
========================================= */

.navbar {
    width: 100%;

    min-height: 75px;

    padding: 0 8%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background-color: #3b2418;

    position: sticky;

    top: 0;

    z-index: 1000;

    box-shadow:
        0 5px 20px rgba(59, 36, 24, 0.25);
}


.logo {
    color: #fff9f2;

    font-size: 24px;

    font-weight: bold;
}


.nav-links {
    display: flex;

    list-style: none;

    gap: 35px;
}


.nav-links a {
    color: #f5eadc;

    text-decoration: none;

    font-size: 15px;

    font-weight: bold;

    padding: 10px 0;

    transition: 0.3s;
}


.nav-links a:hover,
.nav-links a.active {
    color: #d9a066;

    border-bottom: 2px solid #d9a066;
}


/* =========================================
   HERO
========================================= */

.hero {
    min-height: 650px;

    padding: 80px 10%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

    background:
        linear-gradient(
            135deg,
            #3b2418,
            #5c3624
        );

    color: white;

    overflow: hidden;
}


.hero-content {
    max-width: 600px;
}


.small-title {
    color: #c99562;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;

    margin-bottom: 15px;
}


.hero h1 {
    font-size: clamp(55px, 8vw, 100px);

    line-height: 0.9;

    margin-bottom: 30px;
}


.hero h1 span {
    color: #d9a066;
}


.hero p:not(.small-title) {
    color: #ead8c5;

    max-width: 500px;

    font-size: 17px;

    margin-bottom: 30px;
}


/* =========================================
   ELEPHANT
========================================= */

.elephant-box {
    width: 400px;

    height: 400px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background-color: #8b5e3c;

    box-shadow:
        0 0 0 30px rgba(217, 160, 102, 0.08),
        0 0 0 60px rgba(217, 160, 102, 0.04);
}


.elephant {
    font-size: 180px;

    filter:
        drop-shadow(
            0 15px 10px
            rgba(0, 0, 0, 0.3)
        );
}


/* =========================================
   BUTTON
========================================= */

.btn {
    display: inline-block;

    background-color: #c58a55;

    color: white;

    text-decoration: none;

    border: none;

    padding: 14px 28px;

    border-radius: 30px;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s;
}


.btn:hover {
    background-color: #a96e3f;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px
        rgba(0, 0, 0, 0.2);
}


.light-btn {
    background-color: #f5eadc;

    color: #3b2418;
}


.light-btn:hover {
    background-color: white;
}


/* =========================================
   GENERAL SECTION
========================================= */

.section {
    padding: 90px 10%;
}


.section-title {
    text-align: center;

    margin-bottom: 50px;
}


.section-title p {
    color: #9b6845;

    font-size: 13px;

    font-weight: bold;

    letter-spacing: 3px;
}


.section-title h2 {
    font-size: 42px;

    color: #3b2418;
}


/* =========================================
   CARDS
========================================= */

.cards {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.card {
    background-color: #fff9f2;

    padding: 40px 30px;

    border-radius: 20px;

    text-align: center;

    box-shadow:
        0 10px 30px
        rgba(59, 36, 24, 0.08);

    transition: 0.3s;
}


.card:hover {
    transform: translateY(-10px);

    box-shadow:
        0 20px 40px
        rgba(59, 36, 24, 0.15);
}


.card-icon {
    font-size: 50px;

    margin-bottom: 20px;
}


.card h3 {
    color: #5c3624;

    font-size: 22px;

    margin-bottom: 15px;
}


.card p {
    color: #735744;
}


/* =========================================
   FACT SECTION
========================================= */

.fact-section {
    padding: 90px 10%;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 50px;

    background-color: #5c3624;

    color: white;
}


.fact-text {
    max-width: 650px;
}


.fact-text h2 {
    font-size: 45px;

    line-height: 1.15;

    margin-bottom: 20px;
}


.fact-text h2 span {
    color: #d9a066;
}


.fact-text > p:not(.small-title) {
    color: #ead8c5;

    margin-bottom: 30px;
}


.fact-number {
    text-align: center;

    border: 2px solid #c99562;

    border-radius: 50%;

    width: 180px;

    height: 180px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    flex-shrink: 0;
}


.fact-number strong {
    font-size: 55px;

    color: #d9a066;
}


.fact-number p {
    color: #ead8c5;
}


/* =========================================
   PAGE HEADER
========================================= */

.page-header {
    padding: 100px 10%;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            #3b2418,
            #6b432d
        );

    color: white;
}


.page-header h1 {
    font-size: 60px;

    margin-bottom: 15px;
}


.page-header h1 span {
    color: #d9a066;
}


.page-header > p:last-child {
    color: #ead8c5;

    font-size: 17px;
}


/* =========================================
   BIODATA
========================================= */

.biodata-section {
    padding: 90px 10%;
}


.animal-profile {
    max-width: 1100px;

    margin: auto;

    display: grid;

    grid-template-columns: 350px 1fr;

    gap: 50px;

    align-items: center;

    background-color: #fff9f2;

    padding: 45px;

    border-radius: 25px;

    box-shadow:
        0 15px 40px
        rgba(59, 36, 24, 0.1);
}


.animal-image {
    height: 350px;

    border-radius: 20px;

    background:
        linear-gradient(
            145deg,
            #8b5e3c,
            #5c3624
        );

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 140px;
}


.profile-content h2 {
    font-size: 40px;

    color: #3b2418;

    margin-bottom: 15px;
}


.profile-content > p {
    color: #735744;

    margin-bottom: 30px;
}


.profile-info {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 15px;
}


.profile-info div {
    background-color: #f5eadc;

    padding: 15px 20px;

    border-radius: 10px;
}


.profile-info span {
    display: block;

    font-size: 12px;

    color: #9b6845;

    font-weight: bold;

    text-transform: uppercase;
}


.profile-info strong {
    color: #3b2418;
}


/* =========================================
   INFO GRID
========================================= */

.info-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.info-box {
    background-color: #fff9f2;

    padding: 30px 25px;

    border-radius: 18px;

    text-align: center;

    border-bottom: 4px solid #8b5e3c;

    transition: 0.3s;
}


.info-box:hover {
    transform: translateY(-7px);

    background-color: #fff;
}


.info-icon {
    font-size: 40px;

    margin-bottom: 15px;
}


.info-box h3 {
    margin-bottom: 10px;

    color: #5c3624;
}


.info-box p {
    color: #735744;

    font-size: 14px;
}


/* =========================================
   HABITAT
========================================= */

.habitat {
    padding: 90px 10%;

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;

    background-color: #3b2418;

    color: white;
}


.habitat h2 {
    font-size: 45px;

    line-height: 1.1;

    margin-bottom: 20px;
}


.habitat h2 span {
    color: #d9a066;
}


.habitat p:not(.small-title) {
    color: #ead8c5;

    max-width: 550px;
}


.habitat-list {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.habitat-list div {
    min-height: 150px;

    background-color: #5c3624;

    border: 1px solid #765039;

    border-radius: 15px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 10px;

    font-size: 35px;
}


.habitat-list strong {
    color: #ead8c5;

    font-size: 15px;
}


/* =========================================
   CONTACT
========================================= */

.contact-section {
    padding: 90px 10%;

    display: grid;

    grid-template-columns:
        1fr 1.2fr;

    gap: 60px;

    align-items: start;
}


.contact-info h2 {
    font-size: 45px;

    color: #3b2418;

    margin-bottom: 20px;
}


.contact-info > p:not(.small-title) {
    color: #735744;

    margin-bottom: 35px;

    max-width: 500px;
}


.contact-item {
    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;
}


.contact-icon {
    width: 55px;

    height: 55px;

    border-radius: 50%;

    background-color: #5c3624;

    display: flex;

    justify-content: center;

    align-items: center;

    font-size: 23px;
}


.contact-item span {
    display: block;

    color: #9b6845;

    font-size: 12px;

    font-weight: bold;

    text-transform: uppercase;
}


.contact-item strong {
    color: #3b2418;
}


/* =========================================
   CONTACT FORM
========================================= */

.contact-form {
    background-color: #fff9f2;

    padding: 40px;

    border-radius: 20px;

    box-shadow:
        0 15px 40px
        rgba(59, 36, 24, 0.1);
}


.contact-form h2 {
    font-size: 30px;

    color: #3b2418;

    margin-bottom: 25px;
}


.contact-form label {
    display: block;

    color: #5c3624;

    font-weight: bold;

    font-size: 14px;

    margin-bottom: 7px;
}


.contact-form input,
.contact-form textarea {
    width: 100%;

    padding: 14px 16px;

    margin-bottom: 20px;

    border: 1px solid #dbc5ae;

    border-radius: 10px;

    background-color: #fdf8f1;

    color: #3b2418;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition: 0.3s;
}


.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #8b5e3c;

    box-shadow:
        0 0 0 3px
        rgba(139, 94, 60, 0.1);
}


.contact-form textarea {
    resize: vertical;
}


.contact-form .btn {
    width: 100%;
}


/* =========================================
   FOOTER
========================================= */

footer {
    padding: 50px 10%;

    text-align: center;

    background-color: #26160f;

    color: white;
}


footer h3 {
    font-size: 24px;

    margin-bottom: 10px;
}


footer p {
    color: #cdb9a7;
}


footer .copyright {
    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid #493024;

    font-size: 13px;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 15px 5%;

        flex-direction: column;

        gap: 15px;
    }


    .hero {
        padding: 70px 7%;

        flex-direction: column;

        text-align: center;
    }


    .hero-content {
        display: flex;

        flex-direction: column;

        align-items: center;
    }


    .elephant-box {
        width: 300px;

        height: 300px;
    }


    .elephant {
        font-size: 130px;
    }


    .cards {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .info-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .animal-profile {
        grid-template-columns: 1fr;
    }


    .animal-image {
        max-width: 350px;

        width: 100%;

        margin: auto;
    }


    .habitat {
        grid-template-columns: 1fr;
    }


    .contact-section {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   RESPONSIVE - PHONE
========================================= */

@media (max-width: 600px) {

    .nav-links {
        gap: 15px;

        flex-wrap: wrap;

        justify-content: center;
    }


    .nav-links a {
        font-size: 12px;
    }


    .logo {
        font-size: 20px;
    }


    .hero {
        min-height: auto;

        padding: 70px 6%;
    }


    .hero h1 {
        font-size: 60px;
    }


    .elephant-box {
        width: 230px;

        height: 230px;
    }


    .elephant {
        font-size: 100px;
    }


    .section {
        padding: 65px 6%;
    }


    .section-title h2 {
        font-size: 32px;
    }


    .cards {
        grid-template-columns: 1fr;
    }


    .fact-section {
        padding: 65px 6%;

        flex-direction: column;

        text-align: center;
    }


    .fact-text h2 {
        font-size: 35px;
    }


    .fact-number {
        width: 140px;

        height: 140px;
    }


    .fact-number strong {
        font-size: 40px;
    }


    .page-header {
        padding: 70px 6%;
    }


    .page-header h1 {
        font-size: 42px;
    }


    .biodata-section {
        padding: 60px 6%;
    }


    .animal-profile {
        padding: 25px;
    }


    .animal-image {
        height: 250px;

        font-size: 100px;
    }


    .profile-content h2 {
        font-size: 32px;
    }


    .profile-info {
        grid-template-columns: 1fr;
    }


    .info-grid {
        grid-template-columns: 1fr;
    }


    .habitat {
        padding: 65px 6%;
    }


    .habitat h2 {
        font-size: 35px;
    }


    .habitat-list {
        grid-template-columns: 1fr;
    }


    .habitat-list div {
        min-height: 100px;
    }


    .contact-section {
        padding: 65px 6%;

        gap: 40px;
    }


    .contact-info h2 {
        font-size: 35px;
    }


    .contact-form {
        padding: 25px;
    }


    footer {
        padding: 40px 6%;
    }

}
/* =========================================
   SOCIAL MEDIA
========================================= */

.social-media {
    margin-top: 35px;

    padding-top: 25px;

    border-top: 1px solid #dbc5ae;
}


.social-media h3 {
    color: #3b2418;

    font-size: 22px;

    margin-bottom: 5px;
}


.social-media p {
    color: #735744;

    margin-bottom: 18px;
}


/* SOCIAL ICON CONTAINER */

.social-icons {
    display: flex;

    gap: 15px;
}


/* SOCIAL BUTTON */

.social {
    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    text-decoration: none;

    color: white;

    font-size: 25px;

    transition: all 0.3s ease;

    box-shadow:
        0 5px 15px
        rgba(59, 36, 24, 0.15);
}


/* INSTAGRAM */

.social.instagram {
    background:
        linear-gradient(
            135deg,
            #833ab4,
            #fd1d1d,
            #fcb045
        );
}


/* TIKTOK */

.social.tiktok {
    background-color: #111111;
}


/* YOUTUBE */

.social.youtube {
    background-color: #ff0000;
}


/* HOVER */

.social:hover {
    transform: translateY(-6px) scale(1.05);

    box-shadow:
        0 10px 20px
        rgba(59, 36, 24, 0.25);
}


/* MOBILE */

@media (max-width: 600px) {

    .social-icons {
        justify-content: flex-start;
    }

}
/* =========================================
   ELEPHANT SOUND BUTTON
========================================= */

.sound-button {
    text-align: center;

    padding: 25px 10%;

    background-color: #f5eadc;
}


.elephant-sound-btn {

    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 25px;

    border: none;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            #5c3624,
            #8b5e3c
        );

    color: white;

    font-size: 15px;

    font-weight: bold;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(59, 36, 24, 0.2);

    transition:
        all 0.3s ease;
}


.elephant-sound-btn:first-letter {

    font-size: 25px;

}


.elephant-sound-btn:hover {

    transform:
        translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #3b2418,
            #6b432d
        );

    box-shadow:
        0 12px 25px
        rgba(59, 36, 24, 0.3);
}


.elephant-sound-btn:active {

    transform:
        scale(0.95);

}
