Theme Name: Medinostic HealthCare
Theme URI: https://medinostic.com
Author: Medinostic Team
Author URI: https://medinostic.com
Description: Professional healthcare solutions website theme for Medinostic HealthCare
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: medinostic
Tags: healthcare, medical, corporate, custom
*/

/* ============================================
   1. BASE RESET
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   2. WORDPRESS REQUIRED CLASSES
   ============================================ */

/* Admin Bar Spacing */
body.admin-bar {
    padding-top: 32px !important;
}

body.admin-bar nav {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar {
        padding-top: 46px !important;
    }
    body.admin-bar nav {
        top: 46px !important;
    }
}

/* Alignment Classes */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.alignwide {
    margin-left: -2rem;
    margin-right: -2rem;
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

/* Screen Reader Text */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal !important;
    white-space: nowrap;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #6B46C1;
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 99999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* WordPress Caption */
.wp-caption {
    max-width: 100%;
    margin-bottom: 1rem;
}

.wp-caption img {
    display: block;
    width: 100%;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: #6b7280;
    text-align: center;
    padding: 0.5rem;
}

/* Gallery */
.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.gallery-item {
    flex: 1 1 calc(33.333% - 0.5rem);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* WordPress Posts Pagination */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    color: #6B46C1;
    border: 2px solid #6B46C1;
    margin: 0 4px;
    transition: all 0.3s ease;
}

.page-numbers.current,
.page-numbers:hover {
    background: #6B46C1;
    color: white;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    color: inherit;
}

a {
    color: #6B46C1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5ED4F4;
}

/* ============================================
   4. IMAGES & MEDIA
   ============================================ */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

video {
    max-width: 100%;
}

iframe {
    border: none;
    max-width: 100%;
}

/* ============================================
   5. FORMS (WordPress Default Support)
   ============================================ */

input,
textarea,
select,
button {
    font-family: inherit;
    font-size: inherit;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #ffffff;
    color: #1a1a1a;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #6B46C1;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.1);
}

button,
input[type="submit"],
input[type="button"] {
    cursor: pointer;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #6B46C1, #5ED4F4);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.3);
}

/* ============================================
   6. TABLES
   ============================================ */

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

th, td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid #e5e7eb;
}

th {
    background: #f8f9fa;
    font-weight: 600;
    color: #1a1a1a;
}

tr:hover {
    background: #f8f9fa;
}

/* ============================================
   7. UTILITY CLASSES
   ============================================ */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.hidden { display: none !important; }
.visible { display: block !important; }

.flex { display: flex; }
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   8. WORDPRESS NOTICES & ERRORS
   ============================================ */

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    list-style: none;
}

.woocommerce-error {
    background: #fee2e2;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}

.woocommerce-info {
    background: #dbeafe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}

.woocommerce-message {
    background: #dcfce7;
    border-left: 4px solid #22c55e;
    color: #166534;
}

/* ============================================
   9. PRINT STYLES
   ============================================ */

@media print {
    nav,
    .hero-video-bg,
    .floating-social,
    .page-loader,
    .hamburger,
    .theme-toggle-switch {
        display: none !important;
    }

    body {
        padding-top: 0 !important;
        color: #000 !important;
        background: #fff !important;
    }

    a {
        color: #000 !important;
        text-decoration: underline;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    img {
        page-break-inside: avoid;
        max-width: 100% !important;
    }
}

/* ============================================
   10. SCROLLBAR STYLING
   ============================================ */

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #6B46C1, #5ED4F4);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6B46C1;
}

/* ============================================
   11. SELECTION COLOR
   ============================================ */

::selection {
    background: rgba(107, 70, 193, 0.2);
    color: #6B46C1;
}

::-moz-selection {
    background: rgba(107, 70, 193, 0.2);
    color: #6B46C1;
}