/*
Theme Name: My Custom HTML Theme
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: WordPress theme converted from HTML
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: my-custom-html-theme
*/

/* ===== RESET STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

header {
    background: #222;
    color: #fff;
    padding: 0rem;
}

/* Site Title Styling */
header h1 {
    background-color: #fff; /* White section */
    color: #000; /* Black text */
    padding: 0.2rem;
    margin: 0;
}


/* ===== MAIN NAV MENU ===== */
nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
    padding: 0;
    margin: 0;
    background: #222;
}

nav ul li {
    position: relative; /* Needed for dropdowns */
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1rem;
    display: block;
    transition: background 0.3s ease;
}

/* Hover effect */
nav ul li a:hover {
    background: #0073aa;
}

/* Active (current) menu item */
nav ul li.current-menu-item > a,
nav ul li.current_page_item > a {
    background: #005177;
}

/* ===== DROPDOWN MENU ===== */
nav ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    min-width: 180px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 999;
}

nav ul ul li a {
    padding: 0.6rem 1rem;
    background: #333;
}

nav ul ul li a:hover {
    background: #0073aa;
}

/* Show dropdown on hover */
nav ul li:hover > ul {
    display: block;
}

/* Optional: Dropdown arrow for menu items with children */
nav ul li.menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.7rem;
}

/* ===== MAIN CONTENT ===== */
main {
    padding: 2rem;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

/* ===== BUTTONS ===== */
button, .btn {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 0.5rem;
	   margin: 0.5rem 0.75rem 0.5rem 0;
    border-radius: 4px;
    cursor: pointer;

	 white-space: nowrap; /* Prevent text from breaking */
    display: inline-block;
    min-width: 100px;
	  text-decoration: none;
}

button:hover, .btn:hover {
    background-color: #005177;
}

/* ===== PARAGRAPH SPACING ===== */
p {
    margin-bottom: 1rem; /* keep paragraph spacing */
    text-align: justify; /* align text to both sides */
}

/* ===== HEADING SPACING ===== */
h2 {
    margin-top: 0rem;   /* Space above section heading */
    margin-bottom: 0.5rem; /* Space below heading */
}

h3 {
    margin-top: 1.5rem; /* Space above subheading */
    margin-bottom: 0.75rem; /* Space below subheading */
}

/* Container for text + photo */
.content-with-photo {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

/* Text area */
.content-with-photo .text-content {
    flex: 2;
}

/* Photo area */
.content-with-photo .photo-content {
    flex: 1;
}

.content-with-photo .photo-content img {
    max-width: 250px;
    height: auto;
    border-radius: 8px;
}

/* Mobile: stack vertically */
@media (max-width: 350px) {
    .content-with-photo {
        flex-direction: column;
        text-align: center;
    }
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
	  align-items: center;
	  padding-bottom: 0.rem;
}

/* LinkedIn Button Styling */
.linkedin-btn {
    background-color: #0077b5; /* LinkedIn blue */
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
}

.linkedin-btn:hover {
    background-color: #005582; /* Darker blue on hover */
}

/* LinkedIn Icon Spacing */
.linkedin-btn i {
    margin-right: 0.5rem;
}
