:root {
    --bg-main: #F3EDE4;      /* light cream */
    --section: #E0C9A6;      /* beige */
    --accent: #A67B5B;       /* brown */
    --dark: #6F4E37;         /* dark brown */
    --text: #3E2C23;
}

/* BODY */

body {
    background-color: var(--bg-main);
    color: var(--text);
    margin: 0;
    overflow-x: hidden;
}

/* SPLASH SCREEN */

#splash {
    position: fixed;
    inset: 0;
    background: var(--dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: hideSplash 3.5s forwards;
}

.splash-logo {
    width: 250px;
    position: absolute;
    left: 50%;
    top: 50%;
    animation: logoIntro 3s ease forwards;
}

/* MAIN WEBSITE */

#main-content {
    opacity: 0;
    animation: showContent 1s ease forwards;
    animation-delay: 2.8s;
}

/* SPLASH ANIMATIONS */

@keyframes logoIntro {

    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2);
    }

    25% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    65% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translate(-710px, -360px) scale(0.7);
    }
}

@keyframes hideSplash {

    0%,
    85% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes showContent {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HANDWRITING ANIMATION */

.handwriting {
    font-family: "Great Vibes", cursive;
    font-size: 3.5rem;
    color: #6F4E37;
    display: block;
    text-align: center;
    white-space: nowrap;
    animation: write 4s ease forwards;
}

@keyframes write {

    from {
        clip-path: inset(0 100% 0 0);
    }

    to {
        clip-path: inset(0 0 0 0);
    }
}

.handwriting:hover {
    text-shadow: 0 0 15px rgba(166, 123, 91, 0.5);
    transition: 0.5s;
}

/* HEADER */

header {
    background-color: var(--accent);
    color: white;
    padding: 15px;
    text-align: center;
}

/* SECTION */

.section {
    background-color: var(--section);
    padding: 5px;
    margin: 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 20px;
}

.section1 {
    background-color: var(--bg-main);
    padding: 5px;
    margin: 30px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 20px;
}

/* H1 */

h1 {
    font-weight: bold;
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    padding-top: 20px;
    color: black;
    font-size: 50px;
}

/* H2 */

h2 {
    font-style: italic;
    font-family: 'Times New Roman', Times, serif;
    text-align: center;
    padding-top: 1px;
    padding-bottom: 1px;
    color: var(--text);
    font-size: 25px;
}

/* LOGO */

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

.logo img {
    position: absolute;
    padding-top: 60px;
    left: 20px;
    top: 80%;
    transform: translateY(-50%);
    width: 180px;
}

/* NAVBAR */

.navbar {
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 20px;
    background-color: var(--accent);
}

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

nav a {
    text-decoration: none;
    color: beige;
    font-size: 26px;
    padding: 5px 10px;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

/* GALLERY */

.gallery {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    padding: 40px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* HERO IMAGE */

.hero-image {
    width: 90%;
    margin: 20px auto;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
} 








/* ===========================================
   MOBILE VERSION ONLY
   (Desktop remains unchanged)
=========================================== */

.mobile-header,
.menu-btn{
    display:none;
}

@media screen and (max-width:768px){

/* Header */

.navbar{
    position: relative;
    display: block;
    padding: 8px 15px;
    min-height: 75px;
}

.mobile-header{
    position:relative;
    height:60px;
}

/* Logo */

.logo{
    display:block;
}

.logo img{
    position:absolute;
    top:50%;
    left:15px;
    transform:translateY(-50%);
    width:100px;
    padding:0;
}

/* Hamburger Button */

.menu-btn{
    display:block;
    position:fixed;
    top:18px;
    right:18px;
    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--accent);
    color:white;
    font-size:28px;
    cursor:pointer;
    z-index:10000;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
}

/* Hide menu initially */

nav{
    position:fixed;
    top:0;
    right:-190px;
    width:180px;
    height:100vh;
    background:var(--accent);
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:22px;
    padding-top:90px;
    transition:.35s;
    z-index:9999;
}

nav.show{
    right:0;
}

nav a{
    width:100%;
    text-align:center;
    padding:12px 0;
    font-size:20px;
}

/* Heading */

.handwriting{

    white-space:normal;

    font-size:2.4rem;

    text-align:center;

    line-height:1.25;

    padding:25px 20px;

}

/* Gallery */

.section{

    margin:20px 15px;

}

.gallery{

    grid-template-columns:1fr;

    gap:20px;

    padding:20px;

}

.gallery img{

    height:auto;

}

/* About */

.section1{

    margin:20px 15px;

}

h2{

    font-size:18px;

    line-height:1.8;

    padding:15px;

}

/* Hero */

.hero-image{

    width:95%;

    margin:30px auto;

}

}