/* General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background: #A23612;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

section {
    padding: 2em;
    margin: 1em auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

        .highlight {
            background-color: #ffecd1;
            padding: 10px;
            border-left: 5px solid #cc3300;
            margin: 10px 0;
        }

h2 {
    color: #A23612;
    border-bottom: 2px solid #561029;
    padding-bottom: 0.5em;
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 0.5em 0;
}






/* Photo gallery container and layout */
.photo-gallery2 {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

/* Individual photo link container */
.photo-gallery2 {
    position: relative;
    text-align: center;
}

/* Photo link styling */
.photo-link {
    display: inline-block;
    text-decoration: none;
    width: 23%;
}

/* Photo container for overlay text */
.photo-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

/* Image styles */
.photo-gallery img, .photo-gallery2 img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s, filter 0.3s;
}

/* Hover effect for images */
.photo-link:hover img {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.2);
    animation: white-flash 0.3s;
}

/* Overlay text styling */
.photo-text {
    position: absolute;
    bottom: 2mm;
    left: 0;
    right: 0;
    padding: 3px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.8em;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s;
	 border-bottom-left-radius: 10px; /* Rounds the bottom-left corner */
    border-bottom-right-radius: 10px; /* Rounds the bottom-right corner */
}

/* Hover effect for overlay text */
.photo-link:hover .photo-text {
    background: rgba(0, 0, 0, 0.7);
}

/* Keyframe animation for white flash */
@keyframes white-flash {
    0% {
        filter: brightness(2);
    }
    100% {
        filter: brightness(1);
    }
}

/* Responsive layout for tablets */
@media (max-width: 768px) {
    .photo-link {
        width: 46%;
    }
}

/* Responsive layout for mobile devices */
@media (max-width: 480px) {
    .photo-link {
        width: 100%;
    }
}



        .photo-gallery1 {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(30%, 1fr));
            gap: 5px;
            padding: 2px 0;
        }
        .photo-gallery1 img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }

        .box {
            background-color: #fff;
            border: 2px solid #6b2a2a;
            border-radius: 10px;
            padding: 20px;
            margin-bottom: 30px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }


        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 10px;
        }

        .gallery img {
            width: 100%;
            height: auto;
            border: 2px solid #800000;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }




.cta-button {
    display: inline-block;
    padding: 0.5em 1em;
    color: #fff;
    background: #561029;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #7a293f;
}
        /* WhatsApp Button */
        .whatsapp-button {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #3b4a05;
            color: white;
            font-size: 18px;
            padding: 10px 15px;
            border-radius: 50%;
            box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
            text-align: center;
            text-decoration: none;
            z-index: 1000;
        }
        .whatsapp-button:hover {
            background-color: #1ebe57;
        }

footer {
    text-align: center;
    padding: 1em;
    background: #A23612;
    color: #fff;
    margin-top: 2em;
}

footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 0.5em;
}

footer a:hover {
    text-decoration: underline;
}

/* Fix for Profile Section Layout */
#about .profile-intro {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on small screens */
    align-items: center;
    gap: 2rem; /* Adds space between text and image */
}

#about .profile-text {
    flex: 2; /* Text takes up 2/3 of the space */
    min-width: 300px; /* Prevents text from getting too squished */
}

#about .profile-image {
    flex: 1; /* Image takes up 1/3 of the space */
    text-align: center;
}

/* Fix for Large Photo */
.profile-image img {
    width: 100%; /* Makes the image responsive */
    max-width: 400px; /* Sets a maximum size (adjust as you like) */
    height: auto; /* Maintains aspect ratio */
    border-radius: 8px; /* Optional: nice rounded corners */
}

/* =================================
   HEADER & LINK STYLES
   ================================= */
header {
    /* This ensures all text, including links, defaults to your header's main color */
    color: #ffffff; /* (Or whatever your header text color is) */
}

header a {
    color: inherit; /* Inherits the color from the header (e.g., white) */
    text-decoration: none; /* Removes the underline */
}

header a:hover {
    text-decoration: underline; /* Adds underline on hover for usability */
}


/* =================================
   PROFILE IMAGE & LAYOUT (From previous fix)
   ================================= */
#about .profile-intro {
    display: flex;
    flex-wrap: wrap; 
    align-items: center;
    gap: 2rem; 
}

#about .profile-text {
    flex: 2; 
    min-width: 300px; 
}

#about .profile-image {
    flex: 1; 
    text-align: center;
}

.profile-image img {
    width: 100%; 
    max-width: 400px; 
    height: auto; 
    border-radius: 8px; 
}



