/*
Theme Name: Sutherland Theme
Theme URI: https://su.ther.land
Author: Blair Sutherland
Author URI: https://www.linkedin.com/in/blairsutherland
Description: A custom, modern, one-page theme for Sutherland holding company, based on the su.ther.land brand.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: one-column, custom-background, custom-logo, custom-menu, featured-images, full-width-template, theme-options
Text Domain: sutherland
*/

/* Define the custom fonts and colors from our brand guidelines */
:root {
    --navy: #0A2342;
    --gold: #D4AF37;
    --charcoal: #333333;
    --white: #FFFFFF;
    --light-grey: #F8F9FA; /* Bootstrap's bg-light color */
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--charcoal);
}

/* --- Header & Logo --- */
.navbar {
    transition: background-color 0.3s ease;
}

.navbar-brand.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 1.75rem; /* Equivalent to text-3xl */
    line-height: 1.1;
    letter-spacing: -0.05em; /* Equivalent to tracking-tighter */
    color: var(--white);
    text-decoration: none;
}

.logo span {
    color: var(--gold);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 1);
}

.nav-link.btn-contact {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem; /* rounded-lg */
    transition: background-color 0.3s;
}

.nav-link.btn-contact:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

/* --- Hero Section --- */
.hero-bg {
    background-image: linear-gradient(rgba(10, 35, 66, 0.7), rgba(10, 35, 66, 0.7)), url('img/hero-bg.jpeg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    color: var(--white);
}

.hero-bg h1 {
    font-weight: 700; /* font-bold */
}

.hero-bg p {
    font-size: 1.25rem; /* text-xl */
    opacity: 0.9;
}

/* --- Custom Button --- */
.btn-custom-gold {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    padding: 0.75rem 2rem; /* py-3 px-8 */
    border-radius: 0.5rem; /* rounded-lg */
    text-decoration: none;
    transition: all 0.3s;
}

.btn-custom-gold:hover {
    background-color: var(--gold);
    color: var(--navy);
}

/* --- General Sections --- */
.section-subheading {
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    text-transform: uppercase;
    letter-spacing: 0.1em; /* tracking-widest */
    color: var(--gold);
}

.section-heading {
    font-weight: 300; /* font-light */
    color: var(--navy);
}

.section-heading strong {
    font-weight: 600; /* font-semibold */
}

#philosophy p {
    font-size: 1.125rem; /* text-lg */
    line-height: 1.7; /* leading-relaxed */
}

/* --- Portfolio Cards --- */
.portfolio-card {
    border: none;
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
    transition: box-shadow 0.3s ease;
}

.portfolio-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-2xl */
}

.card-img-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    height: 12rem; /* h-48 */
    object-fit: cover;
}

.card-title {
    color: var(--navy);
    font-weight: 600; /* font-semibold */
}

.card-link {
    color: var(--gold);
    font-weight: 600; /* font-semibold */
    text-decoration: none;
    transition: color 0.3s;
}

.card-link:hover {
    color: var(--navy);
}

/* --- Team Section --- */
.team-member-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Makes the image circular */
    border: 4px solid var(--gold);
    margin-bottom: 1.5rem;
}

.team-member-link, .team-member-link:hover {
    text-decoration: none;
    color: inherit; /* Inherit color from parent */
    display: block; /* Make the link fill the column */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 0.5rem;
}

.team-member-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

/* --- Contact Form --- */
.form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.25rem rgba(212, 175, 55, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--navy);
}

.btn-custom-gold[type="submit"] {
    width: 100%;
}

@media (min-width: 768px) {
    .btn-custom-gold[type="submit"] {
        width: auto; /* Revert to auto width on medium screens and up */
    }
}

/* --- Footer --- */
footer {
    background-color: var(--navy);
    color: var(--white);
}

footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--white);
}

footer .logo {
    font-size: 1.5rem; /* text-2xl */
}
