/* --- COLOR PALETTE & VARIABLES --- */
:root {
    --bg-color: #fdf6e3;      /* Creamy Off-white */
    --sage-green: #94a684;    /* Muted Green */
    --dusty-pink: #d4a373;    /* Muted Pink/Tan */
    --mustard: #e9c46a;       /* Muted Yellow */
    --border-color: #606c38;  /* Deep Forest Green */
    --text-color: #432818;    /* Earthy Brown */
    --box-bg: #fffcf2;        /* Soft Paper White Except Its Kind Of Not I Need To Be Rid Of This One*/
}

/* --- GLOBAL STYLES --- */
body {
    margin: 0;
    padding: 40px 20px;
    background-color: var(--bg-color);
    background-image: url('site_background.png'); 
    color: var(--text-color);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
}

.site-wrapper {
    max-width: 1100px;
    width: 100%;
}

/* --- BANNER --- */
.banner {
    width: 100%;
    height: 180px;
    border: 3px solid var(--border-color);
    border-radius: 60px;
    overflow: hidden; 
    margin-bottom: 30px;
    background: var(--mustard);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  object-position: top;
}

/* --- LAYOUT GRID --- */
.main-layout {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

/* --- LEFT SIDEBAR --- */
.left-sidebar {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.links-box {
    border: 3px solid var(--border-color);
    border-radius: 35px;
    padding: 25px;
    background-color: var(--mustard);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 6px 6px 0px var(--sage-green);
}

.links-box a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.2s;
}

.links-box a:hover {
    color: #fff;
    transform: translateX(5px);
}

.page-doll {
    width: 200px;
    height: 200px;
    border: 3px solid var(--border-color);
    border-radius: 40px;
    background: var(--box-bg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.2s ease;
}

/* Bounce animation keyframes */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Trigger bounce on hover */
.page-doll:hover {
    animation: bounce 0.6s infinite;
}

/* --- MAIN CONTAINER --- */
.main-container {
    flex-grow: 1;
    min-height: 550px;
    border: 3px solid var(--border-color);
    border-radius: 50px;
    padding: 35px;
    background-color: #fff;
    box-shadow: 8px 8px 0px var(--dusty-pink);
}

.info-box {
    display: flex;
    gap: 25px;
    border: 3px solid var(--border-color);
    border-radius: 30px;
    padding: 20px;
    background: var(--box-bg);
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.info-image {
    width: 160px;
    height: 160px;
    border: 3px solid var(--border-color);
    border-radius: 25px;
    background: #eee;
    flex-shrink: 0;
}


/* --- RIGHT SIDEBAR & DECOR --- */
.right-sidebar {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.icon-container {
    position: relative; 
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box {
    display: inline-flex; /* Shrinks to fit image size */
    border: 3px solid var(--border-color);
    border-radius: 30px;
    background: var(--box-bg);
    overflow: hidden;
    z-index: 2;
}

.icon-box img {
    display: block;       /* Removes inline gap */
    height: auto;         /* Keep aspect ratio */
    width: auto;          /* Natural image width */
    max-width: 100%;      /* Prevent overflow in container */
    max-height: 100%;     /* Prevent overflow in container */
    object-fit: contain;  /* Ensure full image is visible */
}

/* OVERLAPPING DECOR POSITIONING */
.decor-png {
    position: absolute;
    width: 85px; 
    z-index: 5;
    pointer-events: none;
}

.decor-1 {
    top: -20px;
    right: -25px;
}

.decor-2 {
    bottom: -20px;
    left: -25px;
}

.small-about {
    border: 3px solid var(--border-color);
    border-radius: 35px;
    padding: 20px;
    background-color: var(--sage-green);
    color: white;
    min-height: 200px;
}
 .gallery {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0px;
    }

    /* Image container */
    .gallery img {
        width: 100%;
        height: auto;
        border-radius: 0px;
        border: 0px solid #ccc;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* Hover effect */
    .gallery img:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border-color: #888;
    }

img { 
    max-width: 100%; 
    height: auto; 
    display: block; 
}