/*
Theme Name:   Akkar Media
Theme URI:    https://akkar.media
Description:  Kadence child theme for Akkar Media agency website
Author:       Akkar Media
Author URI:   https://akkar.media
Template:     kadence
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:  akkar-media
*/

/* Override Kadence default colors */
:root {
    --global-palette1: #e63946;
    --global-palette2: #0a0a0a;
    --global-palette3: #333333;
    --global-palette4: #555555;
    --global-palette5: #f8f8f8;
    --global-palette6: #ffffff;
    --global-palette7: #0a0a0a;
    --global-palette8: #666666;
    --global-palette9: #e63946;
    --global-palette-highlight: #e63946;
    --global-palette-highlight-alt: #c5303c;
    --global-palette-btn: #ffffff;
    --global-palette-btn-hover: #ffffff;
    --global-palette-btn-bg: #e63946;
    --global-palette-btn-bg-hover: #c5303c;
}

a:hover, a:focus, a:active {
    color: inherit !important;
    text-decoration: none !important;
}

/* ==========================================================================
   Shared Components
   ========================================================================== */

.section-label {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #e63946;
    margin-bottom: 10px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 50px;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-radius: 4px;
    transition: opacity 0.2s ease;
}

.hero-btn {
    transition: transform 0.2s ease;
}

.hero-btn:hover {
    transform: scale(1.05);
}

.hero-btn-primary {
    background: #e63946;
    color: #fff;
}

.hero-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero-btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

.hero-btn-dark {
    background: #0a0a0a;
    color: #fff;
}

.home-cta {
    background: #0a0a0a;
    padding: 80px 30px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.home-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
}

.home-cta p {
    font-size: 18px;
    color: #aaa;
    margin: 0 0 30px;
}

/* Page Hero (inner pages) */
.page-hero {
    background: #0a0a0a;
    padding: 100px 30px 80px;
    text-align: center;
    margin: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Remove Kadence single-content margins on page-hero elements */
.single-content .page-hero,
.single-content .page-hero h1,
.single-content .page-hero p,
.single-content .page-hero span,
.single-content .home-cta h2,
.single-content .home-cta p {
    margin-top: 0;
    margin-bottom: 0;
}

.single-content .page-hero h1.page-hero-title {
    margin: 0 0 15px;
}

.single-content .page-hero p.page-hero-subtitle {
    margin: 0;
}

.single-content .home-cta h2 {
    margin: 0 0 15px;
}

.single-content .home-cta p {
    margin: 0 0 30px;
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px;
    letter-spacing: -1px;
}

.page-hero-subtitle {
    font-size: 19px;
    color: #aaa;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .page-hero-title { font-size: 38px; }
}

@media (max-width: 600px) {
    .page-hero { padding: 70px 20px 60px; }
    .page-hero-title { font-size: 32px; }
    .page-hero-subtitle { font-size: 16px; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Button Overrides
   ========================================================================== */

button:hover, button:focus, button:active,
.button:hover, .button:focus, .button:active,
.wp-block-button__link:hover, .wp-block-button__link:focus, .wp-block-button__link:active,
.wp-element-button:hover, .wp-element-button:focus, .wp-element-button:active,
input[type=button]:hover, input[type=button]:focus, input[type=button]:active,
input[type=submit]:hover, input[type=submit]:focus, input[type=submit]:active {
    background: inherit !important;
    box-shadow: none !important;
    transform: scale(1.05);
    transition: transform 0.2s ease;
}
