/* ============================================================
   CORE PAGES STYLES
   Used by: about-us.php, portfolio.php, contact-us.php, our-team.php, locate-us.php
   ============================================================ */

/* Page Hero Section */
.page-hero {
    background: linear-gradient(135deg, #2596be 0%, #f9a5b7 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.page-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* About Section */
.about-section {
    padding: 3rem 0;
}

.about-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.about-card:hover {
    box-shadow: 0 8px 16px rgba(37, 150, 190, 0.1);
    transform: translateY(-4px);
}

.about-card h3 {
    color: #2596be;
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

/* Portfolio/Project Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(37, 150, 190, 0.15);
}

.portfolio-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.portfolio-info {
    padding: 1.5rem;
    background: white;
}

.portfolio-title {
    font-weight: bold;
    font-size: 1.1rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: #2596be;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    transition: all 0.3s ease;
}

.team-member-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
}

.team-member-name {
    font-size: 1.1rem;
    font-weight: bold;
    color: #111827;
    margin-bottom: 0.25rem;
}

.team-member-role {
    color: #2596be;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.team-member:hover {
    transform: translateY(-8px);
}

/* Contact Form Styles */
.contact-form {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #111827;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2596be;
    box-shadow: 0 0 0 3px rgba(37, 150, 190, 0.1);
}

/* Google Map Container */
.map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 400px;
    margin: 2rem 0;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Custom Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: #2596be #F3F4F6;
}

*::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

*::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #F3F4F6 0%, #E5E7EB 100%);
    border-radius: 10px;
    margin: 5px 0;
}

*::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2596be 0%, #f9a5b7 100%);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    box-shadow: inset 0 0 6px rgba(37, 150, 190, 0.3);
    transition: all 0.3s ease;
}

*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a6fa0 0%, #f07896 100%);
    background-clip: content-box;
    box-shadow: inset 0 0 10px rgba(37, 150, 190, 0.5);
}

*::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #0d3d5c 0%, #e6425f 100%);
    background-clip: content-box;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    height: 100%;
    overflow-y: scroll;
}

body {
    scroll-behavior: smooth;
    min-height: 100vh;
    overflow-y: auto;
}

main {
    min-height: 100vh;
}

::-webkit-scrollbar-corner {
    background: #F3F4F6;
}

/* Textarea scrollbar */
textarea::-webkit-scrollbar {
    width: 10px;
}

textarea::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 5px;
}

textarea::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2596be 0%, #f9a5b7 100%);
    border-radius: 5px;
    box-shadow: inset 0 0 4px rgba(37, 150, 190, 0.3);
}

textarea::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1a6fa0 0%, #f07896 100%);
    box-shadow: inset 0 0 6px rgba(37, 150, 190, 0.5);
}
