/*
    WEB DESIGN AND TECHNOLOGIES - STYLE SPECIFICATIONS
    FEATURES LISTING:
    A. First feature: Dynamic World Clock API Integration (index.html)
    B. Second feature: Interactive Content Filtering (experience.html)
    C. Third feature: Live Industry News Feed (news.html)
    D. Fourth feature: Client Consultation Form (contact.html)
*/

/* 1. Global Reset & Foundations */
* {
    box-sizing: border-box; /* Fixes layout breaking on inputs/images */
}

/* GLOBAL STRUCTURE TAG: BODY */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    color: #333;
    background: #f4f7f6;
}

/* 2. GLOBAL STRUCTURE TAG: HEADER & NAV */
header {
    background: #002d62;
    color: white;
    padding: 30px 15px;
    text-align: center;
    width: 100%;
}

/* TEXT TAG: H1 */
header h1 {
    margin: 0;
    font-size: 2.2rem;
}

/* GLOBAL STRUCTURE TAG: NAV */
nav {
    margin-top: 20px;
}

/* GLOBAL STRUCTURE TAG: UL (Unordered List) */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* TEXT TAG: A (Anchor/Link) */
nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    padding: 5px 10px;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcc00; /* Subtle highlight for navigation */
}

/* 3. GLOBAL STRUCTURE TAG: SECTION */
section {
    padding: 40px 20px;
    max-width: 900px;
    margin: 30px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-height: 450px;
}

/* 4. Home Page: Headshot & Clocks */
/* TEXT TAG: IMG */
.profile-img {
    float: right;
    width: 180px; /* Forces professional size */
    height: auto;
    margin: 0 0 20px 20px;
    border-radius: 8px;
    border: 3px solid #002d62;
}

/* GLOBAL STRUCTURE TAG: DIV (bio-wrapper clearfix) */
.bio-wrapper::after {
    content: "";
    clear: both;
    display: table;
}

/* FEATURE A: Dynamic World Clock container styling */
#clocks-container {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #e9ecef;
    border-radius: 6px;
    margin-top: 30px;
    border: 1px solid #dee2e6;
    font-size: 0.85rem;
    clear: both;
}

/* 5. GLOBAL STRUCTURE TAG: TABLE (Credentials page) */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

/* TEXT TAG: TH (Table Header) */
th, td {
    padding: 12px;
    border: 1px solid #ddd;
    text-align: left;
}

th {
    background-color: #002d62;
    color: white;
}

/* FEATURE B: Interactive Content Filtering - experience item styling */
.item {
    border-left: 5px solid #002d62;
    padding: 15px;
    margin-bottom: 20px;
    background: #fdfdfd;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* 6. FEATURE D: Client Consultation Form styling */
/* GLOBAL STRUCTURE TAG: FORM */
.form-group {
    margin-bottom: 15px;
}

/* TEXT TAG: LABEL */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #002d62;
}

/* TEXT TAG: INPUT, TEXTAREA, SELECT */
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* TEXT TAG: BUTTON */
button {
    background: #002d62;
    color: white;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    font-weight: bold;
    border-radius: 4px;
    width: 100%;
}

button:hover {
    background: #004085;
}
