/*
Theme Name: AMVIN Group Theme
Theme URI: https://amvingroup.com
Author: Your Name
Author URI: https://yoursite.com
Description: A professional WordPress theme for company group
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: amvingroup
Tags: business, corporate, furniture, manufacturing, portfolio
*/

/* Additional custom styles beyond Tailwind */

@font-face {
  font-family: "LibreBaskervilleRegular";
  src: url("/wp-content/uploads/fonts/LibreBaskerville-Regular.woff2") format("woff2"),
       url("/wp-content/uploads/fonts/LibreBaskerville-Regular.woff") format("woff"),
       url("/wp-content/uploads/fonts/LibreBaskerville-VariableFont_wght.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'LibreBaskervilleRegular', sans-serif !important;
}

.amvin-bg-gray {
  background-color: #58595b;
}

.amvin-bg-orange {
  background-color: #f04e23;
}

/* Menu Styling */
.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 18px;
    font-weight: 400;
    text-transform: capitalize;
}

.menu li {
    position: relative;
}

.menu > li {
    display: inline-block;
}

.menu a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #f04e23;
}

/* Dropdown Menu */
.menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 0rem;
    min-width: 16rem;
    padding: 0.5rem 0;
    z-index: 1000;
    list-style: none;
    margin: 1rem 0 0 0;
    font-size: 16px;
}

.menu .sub-menu.show {
    display: block;
}

.menu .sub-menu li {
    display: block;
}

.menu .sub-menu a {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 14px;
    /* color: #58595b; */
    color: #000;
}

.menu .sub-menu a:hover {
    color: #fff;
    background: #f04e23;
}

/* Mobile Menu Styling */
@media (max-width: 1023px) {
    .menu > li {
        display: block;
    }
    
    .menu .sub-menu {
        position: static;
        display: none;
        box-shadow: none;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }
    
    .menu .menu-item-has-children.active > .sub-menu {
        display: block;
    }
}

/* Custom Logo */
.custom-logo {
    max-height: 60px;
    width: auto;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Search Form Styling */
.search-form {
    display: flex;
    gap: 0.5rem;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    border-color: #f04e23;
}

.search-form button {
    padding: 0.75rem 2rem;
    background: #f04e23;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-form button:hover {
    background: #b45309;
}

/* WordPress Core Styles */
.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;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.5rem;
}

.sticky {
    /* Styles for sticky posts */
}

.bypostauthor {
    /* Styles for post author */
}

/* Gallery Styles */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Comments */
.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.comment-author {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.comment-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.75;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 3rem 0;
}

.page-numbers {
    padding: 0.5rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.25rem;
    text-decoration: none;
    color: #58595b;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: #f04e23;
    color: white;
    border-color: #f04e23;
}

/* Widgets */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.widget a {
    color: #58595b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #f04e23;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* Accessibility */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.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;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}