/* Global styles */
body {
    font-family: 'Georgia', serif;
    margin: 0;
    background: linear-gradient(135deg, #2E2C31, #37353E, #1E1C22);
    color: #E7F2EF;
    line-height: 1.6;
}

/* header */
header {
    background: linear-gradient(90deg, #2E2C31, #1F1D23);
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    border-bottom: 2px solid #A1C2BD;
}

header h1 {
    color: #A1C2BD;
    margin: 0;
    font-size: 42px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

/* navigation menu */
nav {
    background-color: #2A292F;
    padding: 15px 0;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    overflow: auto; /* contain floats */
}

nav a {
    float: left;
    margin: 0 12px;
    text-decoration: none;
    color: #E7F2EF;
    font-weight: 600;
    padding: 12px 18px;
    border-radius: 8px;
    transition: all 0.4s ease;
}

nav a:hover {
    background: linear-gradient(135deg, #A1C2BD, #8FB5AC);
    color: #2E2C31;
    box-shadow: 0 4px 10px rgba(161,194,189,0.5);
}

/* content section*/
.content {
    padding: 40px 30px;
    max-width: 750px;
    margin: 5% auto;
    background: rgba(70, 68, 78, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    overflow: auto; /* contain floats */
}

/* intro section having image */
.intro-container img {
    float: left;
    width: 160px;
    height: 160px;
    margin-right: 25px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 14px rgba(0,0,0,0.5);
    transition: transform 0.4s;
}

.intro-container img:hover {
    transform: scale(1.08) rotate(2deg);
}

.intro-container p {
    font-size: 18px;
    line-height: 1.8;
}

/* form */
form {
    overflow: auto; 
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: #E7F2EF;
    color: #2E2C31;
    transition: box-shadow 0.3s;
    margin-bottom: 15px;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 10px #A1C2BD;
}

input[type="submit"] {
    background: linear-gradient(135deg, #A1C2BD, #8FB5AC);
    color: #2E2C31;
    border: none;
    padding: 12px 18px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
}

input[type="submit"]:hover {
    background: linear-gradient(135deg, #8FB5AC, #7AA29C);
    transform: translateY(-2px);
}

/* gallery */
.gallery-container {
    max-width: 1100px;
    margin: 5% auto;
    padding: 25px;
    background: rgba(70, 68, 78, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    overflow: auto; 
}

.gallery img {
    float: left;
    width: 220px;
    margin: 10px;
    border: 3px solid #A1C2BD;
    border-radius: 10px;
    transition: transform 0.4s, box-shadow 0.4s;
}

.gallery img:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(161,194,189,0.6);
}

/* footer*/
footer {
    text-align: center;
    padding: 25px;
    color: #aaa;
    font-size: 15px;
    background-color: #2A292F;
    margin-top: 50px;
    border-top: 1px solid #444;
}

/* Clearfix utility */
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
