﻿/* --- 1. FONTS & CORE CONTAINERS --- */
@import url('https://fonts.googleapis.com/css?family=Anton|Quicksand|Oswald|Poppins&display=swap');

.maincontainer {
    width: 85%;
    margin: 0 auto;
}

/* --- 2. TOP NAVIGATION (Brand Header) --- */
.topnav {
    background-color: #2C3E50 !important; /* Professional Slate */
    height: 140px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 40px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
}

    .topnav a {
        color: #FFFFFF !important;
        font-family: 'Anton', sans-serif !important;
        font-size: 80px !important; /* Massive brand impact */
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: 3px;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
        transition: transform 0.3s ease;
    }

        .topnav a:hover {
            transform: scale(1.05);
        }

/* --- 3. MIDDLE NAVIGATION (Inline Menu) --- */
.midnav {
    background-color: #FFFFFF !important;
    height: 70px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 50px !important;
    border-bottom: 2px solid #ECF0F1;
}

.nav-flex-items {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* Buttons & Links Styling */
.nav-btn-text, .wishlist-link {
    background: none !important;
    border: none !important;
    box-shadow: none !important; /* Removes Materialize button shadows */
    font-family: 'Oswald', sans-serif !important;
    font-size: 16px !important;
    color: #34495E !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none !important;
    transition: color 0.3s ease;
}

    .nav-btn-text:hover, .wishlist-link:hover {
        color: #48C9B0 !important;
    }

/* --- 4. DROPDOWNS --- */
.profile-dropdown, .dropdownbooks {
    position: relative;
    display: inline-block;
}

.profile-dropdown-content, .dropdownbooks-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 10000;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.profile-dropdown:hover .profile-dropdown-content,
.dropdownbooks:hover .dropdownbooks-content {
    display: block;
}

.dd-vertical-item {
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    color: #1F618D;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: background 0.3s;
}

    .dd-vertical-item:hover {
        background-color: #f1f1f1;
        color: #48C9B0 !important;
    }

/* --- 5. SEARCH BAR (Pill Shape) --- */
.srchbarcontainer {
    display: flex;
    align-items: center;
    background: #F8F9F9;
    border: 1px solid #D5DBDB;
    border-radius: 25px !important;
    padding: 0 15px;
    height: 40px;
    transition: box-shadow 0.3s ease;
}

    .srchbarcontainer:focus-within {
        box-shadow: 0 0 8px rgba(72, 201, 176, 0.4);
        border-color: #48C9B0;
    }

.searchbar {
    width: 200px !important;
    border: none !important;
    border-bottom: none !important; /* Removes Materialize line */
    background: transparent !important;
    font-family: 'Poppins', sans-serif;
    outline: none !important;
    margin: 0 !important;
    height: 30px !important;
    box-shadow: none !important;
}

.btnSearch {
    background: none !important;
    font-family: 'Oswald', sans-serif;
    font-weight: bold;
    color: #34495E !important;
    border: none !important;
    padding-left: 10px;
    cursor: pointer;
}

/* --- 6. FOOTER STYLES --- */
.footer {
    border-top: 1px solid #eee;
    padding: 60px 0;
    display: flex;
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
}

.leftfooter {
    width: 70%;
}

.rightfooter {
    width: 30%;
}

.directions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

    .directions ul {
        list-style: none;
        padding: 0;
    }

    .directions a {
        color: #7F8C8D;
        text-decoration: none;
        font-size: 13px;
        display: block;
        margin-bottom: 8px;
        transition: color 0.2s;
    }

        .directions a:hover {
            color: #48C9B0;
        }

.socialmedias {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: flex-start;
}

/* --- 7. CAROUSEL & FIXES --- */
#form1, .maincontainer {
    position: relative;
}

.carousel {
    clear: both;
    display: block;
}

/* Fix for Materialize icons in Nav */
.material-icons {
    vertical-align: middle;
}
