/* =========================================
   Fonts
========================================= */
@font-face {
    font-family: 'Rockwell';
    src: url('assets/Rockwell.ttf');
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&display=swap');

/* =========================================
   Global Styles
========================================= */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Rockwell', serif;
    background:
        url('assets/background.png') no-repeat center center fixed;

    background-size: cover;
    color: #4b4036;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* =========================================
   Header
========================================= */
header {
    background-color: #414931;
    color: #eef1f6;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 30px;

    box-shadow: 0 4px 15px rgba(0,0,0,0.25);

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 2px;
    color: #fff4cf;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.35);
}

.logo-icon {
    height: 70px;   /* adjust size as needed */
    width: auto;
    display: block;
}

nav {
    display: flex;
    gap: 15px;
}

/* =========================================
   Top Buttons
========================================= */
.btn-top {
    background: linear-gradient(to bottom, #f5e0a3, #e7c96a);
    color: #2d2215;

    padding: 10px 18px;

    text-decoration: none;
    border-radius: 12px;

    font-weight: bold;

    box-shadow: 0 3px 8px rgba(0,0,0,0.2);

    transition: all 0.25s ease;
}

.btn-top:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    background: linear-gradient(to bottom, #ffe8a6, #f5d26f);
}

/* =========================================
   Main Container
========================================= */
.container {
    max-width: 1050px;

    margin: 40px auto;

    background: rgba(149, 151, 113, 0.92);

    padding: 30px;

    border-radius: 24px;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.25),
        inset 0 0 0 1px rgba(255,255,255,0.15);

    backdrop-filter: blur(5px);
}

/* =========================================
   Hero Banner
========================================= */
.banner {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 25px;
}

.banner img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner:hover img {
    transform: scale(1.03);
}

/* Dark overlay */
.banner::after {
    content: "";

    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.15),
        rgba(0,0,0,0.35)
    );
}

/* =========================================
   Headings
========================================= */
h1 {
    font-family: 'Cinzel', serif;

    font-size: 42px;

    margin-top: 10px;
    margin-bottom: 15px;

    color: #fff5dc;

    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

h2 {
    font-size: 22px;
    font-weight: normal;

    color: #f3f3f3;

    margin-bottom: 35px;

    line-height: 1.5;
}

/* =========================================
   Main Content Box
========================================= */
.content-box {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 30px;

    padding: 30px;

    background: rgba(255,255,255,0.3);

    margin: 0 auto;

    width: 95%;

    border-radius: 22px;

    box-shadow: 0 8px 18px rgba(0,0,0,0.15);

    backdrop-filter: blur(4px);
}

.text-box {
    width: 60%;
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================
   Side Image
========================================= */
.side-image img {
    width: 240px;

    border-radius: 18px;

    box-shadow: 0 8px 20px rgba(0,0,0,0.25);

    animation: float 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   Feature Icons
========================================= */
.icons {
    display: flex;

    justify-content: center;

    gap: 25px;

    margin: 40px 0;

    flex-wrap: wrap;
}

.icon {
    background: rgba(255,255,255,0.22);

    padding: 18px;

    border-radius: 20px;

    width: 150px;

    transition: all 0.25s ease;

    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.icon:hover {
    transform: translateY(-8px) scale(1.05);

    background: rgba(255,255,255,0.35);

    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.icon img {
    width: 90px;
    height: 90px;

    border-radius: 50%;

    border: 4px solid rgba(255,255,255,0.5);

    object-fit: cover;
}

.icon p {
    margin-top: 12px;

    font-size: 18px;

    color: #fff7df;

    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* =========================================
   Register Button
========================================= */
.register-container {
    margin: 40px 0 20px;
}

.btn-register {
    display: inline-block;

    background: linear-gradient(to bottom, #f5e0a3, #e2c15f);

    color: #2b1d11;

    padding: 16px 36px;

    text-decoration: none;

    border-radius: 16px;

    font-size: 22px;

    font-weight: bold;

    box-shadow: 0 6px 18px rgba(0,0,0,0.25);

    transition: all 0.25s ease;
}

.btn-register:hover {
    transform: translateY(-4px) scale(1.05);

    box-shadow: 0 10px 22px rgba(0,0,0,0.3);

    background: linear-gradient(to bottom, #ffe9aa, #f0cc64);
}

/* =========================================
   Footer
========================================= */
footer {
    background-color: #414931;

    color: #eef1f6;

    padding: 25px;

    margin-top: 30px;

    box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
}

.footer-links {
    margin: 15px 0;
}

.footer-links a {
    color: #f7e9b5;

    text-decoration: none;

    margin: 0 12px;

    transition: opacity 0.2s ease;
}

.footer-links a:hover {
    opacity: 0.7;
}

.social-media img {
    width: 52px;

    margin: 8px;

    transition: transform 0.25s ease;
}

.social-media img:hover {
    transform: scale(1.15) rotate(4deg);
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        gap: 15px;
    }

    .container {
        margin: 20px;
        padding: 20px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 18px;
    }

    .content-box {
        flex-direction: column;
        width: 100%;
    }

    .text-box,
    .side-image {
        width: 100%;
    }

    .side-image img {
        width: 100%;
        max-width: 260px;
    }

    .icons {
        gap: 15px;
    }

    .icon {
        width: 130px;
    }

    .icon img {
        width: 70px;
        height: 70px;
    }

    .btn-register {
        font-size: 18px;
        padding: 14px 28px;
    }
}
