/* Forest-Sea Theme for KoksCity Walkies */

@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;700&display=swap');

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Nunito Sans', sans-serif;
    background-color: #2e5339;
    color: #ffffff;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.bg {
    background: linear-gradient(rgba(46, 83, 57, 0.95), rgba(59, 107, 120, 0.95)), url('../imgwlk/natureblend.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hoek {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    margin-left: 30px;
    margin-top: 120px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
}

.hoek:hover {
    transform: scale(1.03);
}

#header {
    margin-left: 30px;
    margin-top: 120px;
    font-size: 32px;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
    transition: all 0.3s ease;
}

#header2 {
    margin-left: 50px;
    width: 250px;
    border: 3px dashed #9ACE76;
    border-radius: 25px;
    text-align: center;
    color: #2e5339;
    background: #ffffff;
    font-size: 16px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

#header2:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: scale(1.02);
}

.button, .kokscitybtn {
    background-color: #5d9ca3;
    color: white;
    border: 1px solid #3b6b78;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    font-size: 16px;
}

.button:hover, .kokscitybtn:hover {
    background-color: #3b6b78;
    transform: scale(1.05);
}

.buttonW {
    background-color: #444;
    color: snow;
}

.buttonL {
    background-color: #2e5339;
    color: snow;
}

.kokscitydown {
    position: relative;
    display: inline-block;
}

.kokscitydown-content {
    display: none;
    position: absolute;
    background-color: #5d9ca3;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 6px;
    animation: fadeIn 0.5s ease;
}

.kokscitydown-content a {
    color: #ffffff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

.kokscitydown-content a:hover {
    background-color: #3b6b78;
}

.kokscitydown:hover .kokscitydown-content {
    display: block;
}

.walkies-header-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 20px;
    flex-wrap: wrap;
    animation: fadeIn 1s ease;
}

.walkies-image {
    flex: 1 1 300px;
}

.walkies-header-content {
    flex: 2 1 500px;
    text-align: center;
}

.walkies-buttons {
    margin-top: 10px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 30px 50px;
    gap: 30px;
    animation: fadeIn 1s ease;
}

#txtLeft {
    flex: 1 1 30%;
    animation: fadeIn 0.8s ease;
}

#txtRight {
    flex: 1 1 60%;
    animation: fadeIn 0.8s ease;
}

.spaced {
    margin: 2rem 0;
}

/* Table Styles */
table.greenTable, table.routeTable {
    width: 100%;
    border-collapse: collapse;
    background-color: rgba(255,255,255,0.05);
    border-radius: 8px;
    overflow: hidden;
    color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
    margin: 1rem 0;
    animation: fadeIn 0.8s ease;
}

table.greenTable th, table.greenTable td,
table.routeTable th, table.routeTable td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}

table.greenTable tr:nth-child(even),
table.routeTable tr:nth-child(even) {
    background-color: rgba(255,255,255,0.03);
}

.myRouteButton {
    background-color: #bed9db;
    color: #2e5339;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    cursor: pointer;
    margin: 4px;
    transition: background-color 0.2s, transform 0.2s;
}

.myRouteButton:hover {
    background-color: #9ACE76;
    color: #1c3321;
    transform: scale(1.05);
}

/* Links */
a:link, a:visited {
    color: SpringGreen;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: DodgerBlue;
}

a:active {
    color: PaleGreen;
}

@media (max-width: 768px) {
    .walkies-header-container,
    .content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .walkies-image {
        margin-bottom: 20px;
    }

    #txtLeft, #txtRight {
        width: 100%;
    }
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #5d9ca3;
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
  }
  
  #backToTop:hover {
    background-color: #3b6b78;
  }
  