/*
Theme Name: The Standard Medical Rooms
Theme URI: https://thestandardmedicalrooms.com/
Author: Gemini CLI
Author URI: https://gemini.google.com/
Description: A modern, single-page landing page theme for The Standard Medical Rooms.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: the-standard-medical-theme
*/

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 60px 0;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 20px 0;
    transition: padding 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.shrunk {
    padding: 10px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.custom-logo {
    height: 50px;
    width: auto;
    transition: height 0.3s ease;
}

.shrunk .custom-logo {
    height: 40px;
}

.site-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-address p {
    font-size: 0.85rem;
    font-weight: 500;
    color: #666;
    margin: 0;
}

.contact-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #222;
    color: #fff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, transform 0.3s ease, padding 0.3s ease;
}

.shrunk .contact-btn {
    padding: 8px 20px;
}

.contact-btn:hover {
    background-color: #444;
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 85vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #222;
}

.hero-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out; /* Smooth, slow 2-second cross-fade */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.slide .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.6rem;
    font-weight: 400;
    opacity: 0.95;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- Practitioners Section --- */
.practitioners-intro {
    text-align: center;
    margin-bottom: 40px;
}

.practitioners-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222;
}

.practitioner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.practitioner-tile {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.practitioner-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.practitioner-tile img {
    width: 600px;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.practitioner-tile img.fit-contain {
    object-fit: contain;
    background-color: #fff;
}

.practitioner-tile:hover img {
    transform: scale(1.05);
}

/* --- Footer --- */
.site-footer {
    padding: 40px 0;
    background-color: #f9f9f9;
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    border-top: 1px solid #eee;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .site-address {
        text-align: center;
    }
    .practitioner-grid {
        grid-template-columns: 1fr;
    }
}
