/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
h1 {
    background: linear-gradient(135deg, #B30000 0%, #8A0000 100%);
    display: inline-block;
    border-radius: 30px;
    font-family: "Roboto", Tahoma, Sans-serif;
    font-weight: bold;
    font-size: 15pt;
    color: #fff;
    padding: 12px 25px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

h1:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(179, 0, 0, 0.4);
}

h1::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0.3) 0%,
        rgba(255,255,255,0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

h1:hover::after {
    left: 100%;
}
h2 {
    background: linear-gradient(135deg, #B30000 0%, #8A0000 100%);
    display: inline-block;
    border-radius: 30px;
    font-family: "Roboto", Tahoma, Sans-serif;
    font-weight: bold;
    font-size: 14pt;
    color: #fff;
    padding: 10px 20px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

h2:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(179, 0, 0, 0.4);
}

h2::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255,255,255,0.2) 0%,
        rgba(255,255,255,0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.3s ease;
}

h2:hover::after {
    left: 100%;
}

h3 {
    background: #ffffff;
    display: inline-block;
    border-radius: 25px;
    font-family: "Roboto", Tahoma, Sans-serif;
    font-weight: bold;
    font-size: 15pt;
    color: #000;
    padding: 8px 8px; 
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.elementor-heading-title {
    line-height: 1;
    margin: 0;
    padding: 0;
    padding: 5px 10px 5px 10px;
}

/* Button Styles */
button, 
[type="submit"], 
[type="button"] {
    border: 2px solid #b30000;
    color: white;
    background-color: #b30000;
    transition: all 0.3s ease;
    border-radius: 8px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    cursor: pointer;
    white-space: nowrap;
}

button:hover,
[type="submit"]:hover,
[type="button"]:hover {
    background-color: #990000;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(179, 0, 0, 0.2);
}

button:active,
[type="submit"]:active,
[type="button"]:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Elementor Pagination Styles */
.elementor-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.elementor-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.elementor-pagination .page-numbers.current {
    background-color: #B30000;
    color: white;
}

.elementor-pagination .page-numbers:hover:not(.current) {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.elementor-pagination .page-numbers.prev,
.elementor-pagination .page-numbers.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
}

.elementor-pagination .page-numbers.prev:hover,
.elementor-pagination .page-numbers.next:hover {
    background-color: #B30000;
    color: white;
}

.elementor-screen-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Responsive Styles */
@media (max-width: 767px) {
    .elementor-pagination .page-numbers:not(.prev):not(.next):not(.current) {
        display: none;
    }
    .elementor-pagination .page-numbers.prev,
    .elementor-pagination .page-numbers.next {
        padding: 0 20px;
    }
}

/* Improved Link Styles */
a {
    color: #8A0000;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

a:hover {
    color: #B30000;
}

a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background-color: #B30000;
    transform: scaleX(1);
    transform-origin: left;
    animation: underline 0.3s ease-out;
}

@keyframes underline {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

a:active,
a:focus {
    outline: 2px solid #B30000;
    outline-offset: 2px;
}
