/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding-top: 20px;
} 

h1, h2 {
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease-in-out;
}

a:hover {
    color: #3498db;
}
/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #34495e;
    color: white;
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

.navbar ul li {
    margin: 0 20px;
}

.navbar .nav-link {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
}

.navbar .nav-link:hover {
    background-color: #2980b9;
    color: #ecf0f1;
}

.intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    text-align: center;
}

.intro-content {
    flex: 1;
    padding-right: 40px;
}

.intro h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #7f8c8d;
}

/* For buttons and images in About and Gallery sections Home Page*/

.btn {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background-color 0.3s;
    display: inline-block; 
    margin-top: 20px; 
    text-align: center;
}

.btn:hover {
    background-color: #2980b9;
}

.button-container {
    text-align: center; 
    display: block; 
    width: 100%; 
}
.btn-learn-more {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #2c3e50; 
    display: inline-block;
    margin-top: 20px;
}

.btn-learn-more:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
    transform: translateY(-3px); 
}


.btn-learn-more:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(44, 62, 80, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

.parent-container {
    text-align: center; 
    display: block; 
    width: 100%; 
}

.btn-learn-more-2 {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid #2c3e50; 
    display: inline-block; 
    margin-top: 40px;
    text-align: center; 
}

.btn-learn-more-2:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(44, 62, 80, 0.5);
}

.btn-learn-more-2:hover {
    background-color: #ecf0f1;
    color: #2c3e50;
    transform: translateY(-3px); 
}


/* Main Section */
.intro-img {
    width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

section {
    padding: 80px 0;
}

/* Intro Biography Page */

.biography-header {
    background: 
        linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%), 
        url("images/Background_2.jpg");
        background-size: cover;
        background-position: center top;
        padding: 40px 20px;
        text-align: center;
        border-radius: 15px;
        margin-bottom: 30px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        color: #2c3e50; 
}


.biography-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.biography-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    font-weight: 500; /* Slightly bolder than normal (400) */
    max-width: 700px;
    margin: 0 auto;
}

/* About Section */
.about {
    text-align: center;
    background-color: #ecf0f1;
    padding: 60px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.1);
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

.about p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 35px;
    color: #7f8c8d;
}

/* End Section */

.end {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    text-align: center;
}

.end-content {
    flex: 1;
    padding-right: 40px;
}

.end h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}


.end p {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #7f8c8d;
}


/* Gallery Page */
.gallery-header {
    background: 
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 60%, rgba(255, 255, 255, 1) 100%), 
    url("images/Background.jpg");
    background-size: cover;
    background-position: center top;
    padding: 40px 20px;
    text-align: center;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #2c3e50; 
}

.gallery-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.gallery-header p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    transition: transform 0.3s ease;
}

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

.gallery-item figure {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.gallery-item figcaption {
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    font-family: 'Playfair Display', serif;
    color: #2c3e50;
}

/* Footer */
footer {
    background-color: #34495e;
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 0.9rem;
    margin-top: 5px;
}

footer a {
    color: #3498db;
}

footer a:hover {
    text-decoration: underline;
}