/* ==========================================
   AGAMI CONSOLIDATED STYLES
   All CSS for Agami Portfolio Page
   ========================================== */

/* Import Base CSS */
@import url('../../../assets/css/plugins.css');
@import url('../../../assets/css/style.css');

/* Override base heading sizes for this demo */
:root {
    --font-size-h1: 80px;
}

/* Adjustable size for the Hello heading (change this value to tweak size) */
:root {
    --helloWeAre-size: 43px;
}

:root {
    --bannerText-size: 200px;
}

/* Ensure the banner text variable is applied to the banner link and
   to any split-character wrappers produced by dsnGrid.spltting.Char */
#bannerText,
.main-slider .slide-content [data-dsn-split="chars"],
.dsn-chars-wrapper,
[data-dsn-split="chars"] {
    font-size: var(--bannerText-size);
    line-height: 1;
    display: inline-block;
}

/* ==========================================
   AGAMI CUSTOM STYLES
   Custom styles for Agami Portfolio Page
   ========================================== */

/* Hero Section Custom Styles */
.dsn-hero-parallax-slider .slide-content {
    z-index: 2;
}

.dsn-hero-parallax-slider .slide-content h2 {
    font-weight: 700;
    letter-spacing: 2px;
}

/* Make slider titles large (override conflicting .title rules) */
.main-slider .slide-content .title,
.dsn-hero-parallax-slider .slide-content .title,
.content-slider .slide-content .title {
    font-size: 80px;
    line-height: 1;
    font-weight: 700;
}

@media (max-width: 991px) {
    .main-slider .slide-content .title,
    .dsn-hero-parallax-slider .slide-content .title,
    .content-slider .slide-content .title {
        font-size: 48px;
    }
}

@media (max-width: 767px) {
    .main-slider .slide-content .title,
    .dsn-hero-parallax-slider .slide-content .title,
    .content-slider .slide-content .title {
        font-size: 32px;
    }
}

/* Reduce inner padding for the about section (smaller gutters inside the grid) */
.about-section {
    padding: 20px 16px;
}

@media (max-width: 991px) {
    .about-section {
        padding: 12px 10px;
    }
}

/* About Section Custom Styles */
.about-section .box-right .title-block {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.about-section .experience {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-section .experience:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-section .exp-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--theme-color);
}

/* Accordion Custom Styles */
.dsn-accordion .accordion__item {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dsn-accordion .accordion__item:hover {
    border-color: var(--theme-color);
}

.dsn-accordion .accordion__question {
    cursor: pointer;
    padding: 20px 0;
}

.dsn-accordion .accordion__answer {
    padding: 0 0 20px 65px;
}

/* Video Section Custom Styles */
.section-video .dsn-btn {
    padding: 20px 40px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.section-video .dsn-btn:hover {
    transform: scale(1.05);
}

.section-video .title {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 10px;
    opacity: 0.8;
}

.section-video .title.animate-left {
    animation: slideInLeft 1s ease-out;
}

.section-video .title.animate-right {
    animation: slideInRight 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 0.8;
        transform: translateX(0);
    }
}

/* Navigation Enhancements */
.main-navigation .nav-item a {
    transition: all 0.3s ease;
}

.main-navigation .nav-item a:hover {
    color: var(--theme-color);
}

/* Footer Custom Styles */
#dsn_footer .title-h2 {
    font-size: 2.5rem;
    line-height: 1.4;
}

#dsn_footer .dsn-socials li a {
    transition: all 0.3s ease;
}

#dsn_footer .dsn-socials li a:hover {
    transform: translateY(-3px);
    color: var(--theme-color);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .section-video .title {
        font-size: 48px;
        letter-spacing: 5px;
    }

    .about-section .exp-number {
        font-size: 3rem;
    }

    #dsn_footer .title-h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .section-video .title {
        font-size: 32px;
        letter-spacing: 3px;
    }

    .about-section .box-right .title-block {
        font-size: 1.25rem;
    }

    .about-section .exp-number {
        font-size: 2.5rem;
    }

    .dsn-accordion .accordion__answer {
        padding: 0 0 20px 0;
    }
}

/* Custom Animations */
.dsn-up {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Colors - Can be customized */
:root {
    --agami-primary: #007bff;
    --agami-secondary: #6c757d;
    --agami-accent: #ff6b6b;
}

/* Section Spacing */
.section-margin {
    margin-top: 120px;
    margin-bottom: 120px;
}

@media (max-width: 991px) {
    .section-margin {
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

@media (max-width: 767px) {
    .section-margin {
        margin-top: 60px;
        margin-bottom: 60px;
    }
}

/* Letter Animation Styles */
.letter {
    opacity: 0;
    transition: opacity 0.3s ease;
    display: inline-block;
}

/* Increase specific about-section heading size */
#helloWeAreText {
    font-size: var(--helloWeAre-size);
    line-height: 1;
    letter-spacing: 0.02em;
    font-weight: 700;
}

@media (max-width: 991px) {
    #helloWeAreText {
        font-size: 40px;
    }
}

@media (max-width: 767px) {
    #helloWeAreText {
        font-size: 28px;
    }
}