/* Custom Styles for Elastic Horizon Static Site */
/* Sophisticated & Playful - Serif Fonts Only */

/* ========================================
   GLOBAL STYLES & PLAYFUL INTERACTIONS
   ======================================== */

/* Custom Cursor for Interactive Elements */
body {
    cursor: default;
}

a, button, .portfolio-item, .filter-button, .feature-box, .testimonial-card {
    cursor: pointer;
}

/* Subtle Page Entrance */
body {
    animation: pageLoad 0.8s ease-out;
}

@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   HEADER & LOGO STYLES
   ======================================== */

/* Header with animated gradient background */
#main-header {
    position: relative;
    overflow: hidden;
}

#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

#et-top-navigation {
    display: flex;
    align-items: center;
}

/* Elastic red background with mouse-reactive radial glow */
.header-gradient-bg {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: #DD3333;
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
    background-size: 200% 200%;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
                background-position 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 0;
    will-change: transform, background-position;
}

/* Subtle breathing animation when not interacting */
@keyframes elastic-breathe {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.02) translate(0.5%, 0.5%);
    }
}

/* Elastic pattern overlay with mouse-reactive movement */
.header-pattern-overlay {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.02) 10px,
            rgba(255, 255, 255, 0.02) 20px);
    background-size: 50px 50px;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1;
    will-change: transform;
}

@keyframes pattern-slide {
    0% { background-position: 0 0; }
    100% { background-position: 40px 40px; }
}

/* Logo Styles */
.logo_container {
    display: flex;
    align-items: center;
    height: 60px;
    position: relative;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    position: relative;
}

.logo-image-header {
    height: 40px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.logo-link:hover .logo-image-header {
    filter: brightness(0) invert(1) drop-shadow(0 2px 8px rgba(255, 255, 255, 0.4));
}

/* Navigation Styles */
#top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    align-items: center;
}

#top-menu li {
    position: relative;
}

#top-menu a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 18px;
    display: block;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

/* Subtle sliding background effect on hover */
#top-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
    z-index: -1;
}

#top-menu a:hover::before {
    left: 0;
}

/* Subtle shimmer effect on hover */
#top-menu a::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 20%;
    height: 200%;
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(25deg);
    transition: left 0.6s ease;
    opacity: 0;
}

#top-menu a:hover::after {
    left: 120%;
    opacity: 1;
}

#top-menu a:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Subtle scale effect on active press */
#top-menu a:active {
    transform: translateY(0) scale(0.98);
}

/* Current menu item styling */
#top-menu .current-menu-item a {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Mobile Menu */
.mobile_menu_bar {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.95);
    padding: 6px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.mobile_menu_bar:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

@media (max-width: 980px) {
    .mobile_menu_bar {
        display: block;
    }

    #et-top-navigation nav {
        display: none;
    }

    #et-top-navigation nav.mobile-active {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #C62828;
        box-shadow: 0 8px 20px rgba(0,0,0,0.3);
        z-index: 1000;
        border-radius: 0 0 15px 15px;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    #top-menu {
        flex-direction: column;
    }

    #top-menu li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    #top-menu li:last-child {
        border-bottom: none;
    }

    #top-menu a {
        padding: 15px 25px;
        border-radius: 0;
    }

    .sub-menu {
        position: static !important;
        box-shadow: none !important;
        padding-left: 20px !important;
    }

    /* Logo responsive adjustments */
    .logo_container {
        height: 50px;
    }

    .logo-image-header {
        height: 32px;
    }

    #main-header .container {
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .logo-image-header {
        height: 28px;
    }

    .mobile_menu_bar {
        top: 15px;
        right: 15px;
    }

    #main-header .container {
        padding: 8px 10px;
    }
}

/* ========================================
   REFINED PAGE DESIGN
   ======================================== */

/* Unified Serif Typography - Sophisticated & Playful */
body {
    font-family: var(--font-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #2c2c2c;
}

p, label, input, textarea, button {
    font-family: var(--font-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.2;
    transition: all 0.3s ease;
}

h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    line-height: 1.3;
    transition: all 0.3s ease;
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    line-height: 1.4;
    font-family: var(--font-accent);
    transition: all 0.3s ease;
}

p {
    font-weight: 400;
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    line-height: 1.8;
    color: #4a4a4a;
}

/* Tighter Section Styling */
.et_pb_section {
    padding: 80px 0;
    position: relative;
    width: 100%;
    text-align: center;
}

/* Ensure content is centered */
.et_pb_row {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Ensure columns are centered within rows */
.et_pb_column {
    margin: 0 auto;
}

.et_pb_column_4_4 {
    width: 100%;
    text-align: center;
}

.et_pb_column_1_2 {
    width: 48%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1%;
    text-align: left;
}

.et_pb_column_1_3 {
    width: 30%;
    display: inline-block;
    vertical-align: top;
    margin: 0 1.5%;
    text-align: center;
}

/* Hero Slider Section - Sophisticated & Playful */
.hero-slider-section {
    background: transparent;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    height: 90vh;
}

/* Slider Container */
.hero-slider {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
}

/* Individual Slides */
.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0.0, 0.2, 1),
                visibility 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Slide Background with Ken Burns effect */
.hero-slide-bg {
    position: absolute;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.hero-slide.active .hero-slide-bg {
    animation: kenBurns 12s ease-out forwards;
}

@keyframes kenBurns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}

/* Slide Overlay */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 245, 240, 0.85) 0%,
        rgba(255, 232, 232, 0.75) 100%);
    z-index: 1;
}

/* Slide Content */
.hero-slide-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.hero-slide .et_pb_row {
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    animation: slideContentIn 1s ease-out 0.3s backwards;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reset animation on active slide */
.hero-slide.active .hero-content {
    animation: slideContentIn 1s ease-out 0.3s backwards;
}

.hero-headline {
    font-family: var(--font-display);
    color: #DD3333;
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 4px 12px rgba(221, 51, 51, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-headline:hover {
    transform: scale(1.02) translateY(-3px) rotate(-0.5deg);
    text-shadow: 0 6px 16px rgba(221, 51, 51, 0.3);
}

.hero-subheadline {
    color: #4a4a4a;
    font-family: var(--font-primary);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    line-height: 1.7;
    max-width: 750px;
    margin: 0 auto 50px;
}

/* Hero CTA Button */
.hero-cta {
    margin-top: 40px;
}

.hero-cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: linear-gradient(135deg, #DD3333 0%, #C62828 100%);
    color: #fff;
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(221, 51, 51, 0.4);
    position: relative;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.hero-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.hero-cta-button:hover {
    transform: translateY(-5px) scale(1.08) rotate(-2deg);
    box-shadow: 0 12px 35px rgba(221, 51, 51, 0.5);
    color: #fff;
}

.hero-cta-button:active {
    transform: translateY(-2px) scale(1.02);
}

/* Slider Navigation Buttons */
.hero-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
    padding: 0 20px;
}

.hero-nav-btn {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav-btn span {
    font-size: 2rem;
    color: #DD3333;
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

.hero-nav-prev {
    left: 20px;
}

.hero-nav-next {
    right: 20px;
}

.hero-nav-btn:hover {
    background: #DD3333;
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(221, 51, 51, 0.4);
}

.hero-nav-btn:hover span {
    color: #fff;
    transform: scale(1.2);
}

.hero-nav-btn:active {
    transform: scale(0.95);
}

/* Slider Indicators */
.hero-slider-indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #DD3333;
    background: transparent;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
}

.hero-indicator.active {
    width: 40px;
    border-radius: 10px;
    background: #DD3333;
    box-shadow: 0 2px 8px rgba(221, 51, 51, 0.4);
}

.hero-indicator:hover {
    transform: scale(1.3) rotate(45deg);
    background: rgba(221, 51, 51, 0.5);
}

.hero-indicator.active:hover {
    transform: scale(1.05);
    border-radius: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider-section {
        height: 85vh;
        min-height: 85vh;
    }

    .hero-slider {
        height: 85vh;
    }

    .hero-nav-btn {
        width: 45px;
        height: 45px;
    }

    .hero-nav-btn span {
        font-size: 1.5rem;
    }

    .hero-nav-prev {
        left: 10px;
    }

    .hero-nav-next {
        right: 10px;
    }

    .hero-slider-indicators {
        bottom: 30px;
    }

    .hero-cta-button {
        padding: 15px 35px;
        font-size: 1rem;
    }

    .scroll-indicator-wrapper {
        padding: 35px 0 50px;
    }

    .scroll-link {
        padding: 15px 28px;
        font-size: 0.9rem;
    }

    .scroll-text {
        font-size: 0.85rem;
    }

    .scroll-arrow {
        font-size: 1.5rem;
    }

    .et_pb_column_1_2,
    .et_pb_column_1_3 {
        width: 100%;
        display: block;
        margin: 0 0 30px 0;
    }
}

/* Playful Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    padding-bottom: 18px;
    margin-bottom: 15px;
}

.section-header h2::after {
    content: '~';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #DD3333;
    font-weight: 300;
}

.section-header p {
    font-weight: 300;
    font-style: italic;
    color: #666;
}

/* About Section */
.about-section {
    background: #ffffff;
    text-align: center;
}

.about-section .et_pb_row {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.about-section .et_pb_column_1_2 {
    display: inline-block;
    vertical-align: top;
    text-align: center;
    width: 48%;
    margin: 0 1%;
}

.about-section .et_pb_text {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
}

.about-story h3,
.about-craft h3 {
    color: #DD3333;
    margin-bottom: 18px;
    font-size: 1.5rem;
}

.about-story p,
.about-craft p {
    font-weight: 300;
}

.feature-box {
    padding: 35px 25px;
    background: #FFF5F0;
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 51, 51, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-box:hover::before {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-6px) scale(1.02) rotate(-1deg);
    box-shadow: 0 10px 25px rgba(221, 51, 51, 0.15);
}

.feature-icon {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 600;
    font-style: italic;
    text-transform: lowercase;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.feature-box:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

.feature-box h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    font-family: var(--font-accent);
}

.feature-box p {
    font-weight: 400;
    font-size: 0.9rem;
}

/* Centered Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px 0;
    max-width: 1100px;
    margin: 0 auto;
    justify-items: center;
}

.portfolio-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    max-width: 380px;
    position: relative;
}

.portfolio-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(221, 51, 51, 0.03) 0%, rgba(255, 184, 77, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.portfolio-item:hover::after {
    opacity: 1;
}

.portfolio-item:hover {
    transform: translateY(-12px) rotate(-2deg) scale(1.03);
    box-shadow: 0 20px 45px rgba(221, 51, 51, 0.25);
}

/* Alternate hover direction for variety */
.portfolio-item:nth-child(even):hover {
    transform: translateY(-12px) rotate(2deg) scale(1.03);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    padding-bottom: 75%;
    background: linear-gradient(135deg, #FFF5F0 0%, #FFE8E8 100%);
}

.portfolio-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.08);
}

.portfolio-content {
    padding: 25px;
}

.portfolio-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 8px;
    font-family: var(--font-accent);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-content h3 {
    color: #DD3333;
}

.portfolio-category {
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-style: italic;
}

/* Centered Filter Buttons */
.portfolio-filters {
    text-align: center;
    margin-bottom: 40px;
}

.filter-button {
    font-family: var(--font-accent);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.filter-button::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #DD3333;
    transition: all 0.4s ease;
    transform: translateX(-50%);
}

.filter-button:hover::before {
    width: 80%;
}

.filter-button:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 15px rgba(221, 51, 51, 0.35);
}

.filter-button.active {
    background: #DD3333 !important;
    color: white !important;
    border-color: #DD3333 !important;
    transform: translateY(-3px);
}

.filter-button.active::before {
    display: none;
}

/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #FFF5F0 0%, #ffffff 100%);
}

.testimonials-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonials-container .et_pb_column_1_2 {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(221, 51, 51, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(221, 51, 51, 0.04) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
    transform: scale(0.5);
}

.testimonial-card:hover::before {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card:hover {
    transform: translateY(-8px) rotate(-2deg) scale(1.02);
    box-shadow: 0 15px 40px rgba(221, 51, 51, 0.2);
    border-color: rgba(221, 51, 51, 0.3);
}

.testimonial-card:nth-child(even):hover {
    transform: translateY(-8px) rotate(2deg) scale(1.02);
}

.testimonial-card p {
    font-weight: 400;
    font-style: italic;
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.7;
    font-family: var(--font-primary);
}

/* Contact Section */
.contact-section {
    background: #ffffff;
}

.contact-form-container {
    max-width: 650px;
    margin: 40px auto;
    padding: 50px;
    background: linear-gradient(135deg, #FFF5F0 0%, #ffffff 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: var(--font-accent);
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.95rem;
    font-weight: 400;
    border: 2px solid rgba(221, 51, 51, 0.15);
    border-radius: 8px;
    font-family: var(--font-primary);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #DD3333;
    box-shadow: 0 0 0 4px rgba(221, 51, 51, 0.12);
    transform: translateY(-2px);
}

.form-group:focus-within label {
    color: #DD3333;
    transform: translateX(2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 160px;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #DD3333 0%, #C62828 100%);
    color: #fff;
    border: none;
    padding: 16px 35px;
    font-family: var(--font-accent);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(221, 51, 51, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 30px rgba(221, 51, 51, 0.45);
}

.btn-submit:active {
    transform: translateY(-2px) scale(0.98);
}

.form-status {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    display: none;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.95rem;
    animation: slideInUp 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* CTA Buttons */
.cta-button,
.et_pb_button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #DD3333 0%, #C62828 100%);
    color: #fff;
    font-family: var(--font-accent);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(221, 51, 51, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cta-button::after,
.et_pb_button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.cta-button:hover::after,
.et_pb_button:hover::after {
    width: 250px;
    height: 250px;
}

.cta-button:hover,
.et_pb_button:hover {
    transform: translateY(-4px) scale(1.05) rotate(-1deg);
    box-shadow: 0 10px 30px rgba(221, 51, 51, 0.45);
    color: #fff;
}

/* Footer */
#main-footer {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #e0e0e0;
    padding: 60px 0 40px;
}

.footer-nav a {
    font-family: var(--font-primary);
    color: #e0e0e0;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-nav a:hover {
    color: #DD3333;
    transform: translateY(-3px) scale(1.05);
}

.copyright {
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 0.85rem;
    color: #a0a0a0;
    font-style: italic;
}

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

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

/* Button Hover Effects */
.et_pb_button:hover,
a.et_pb_button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Page Sections Spacing */
.et_pb_section {
    width: 100%;
}

.et_pb_row {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    position: relative;
}

/* Scroll Indicator Wrapper */
.scroll-indicator-wrapper {
    background: linear-gradient(to bottom,
        rgba(255, 245, 240, 0.3) 0%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 1) 100%);
    padding: 50px 0 70px;
    text-align: center;
    position: relative;
    z-index: 5;
    margin-top: -2px;
}

/* Scroll Indicator */
.scroll-indicator {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.scroll-indicator:hover {
    transform: scale(1.15) translateY(5px);
}

.scroll-link {
    color: #DD3333;
    font-family: var(--font-accent);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 245, 240, 0.9);
    padding: 18px 35px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(221, 51, 51, 0.2);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(221, 51, 51, 0.1);
}

.scroll-link:hover {
    background: rgba(255, 245, 240, 1);
    box-shadow: 0 8px 25px rgba(221, 51, 51, 0.35);
    transform: translateY(-3px);
    border-color: rgba(221, 51, 51, 0.3);
}

.scroll-text {
    font-size: 0.95rem;
    margin-bottom: 8px;
    display: block;
}

.scroll-arrow {
    font-size: 1.75rem;
    display: block;
    transition: all 0.3s ease;
}

.scroll-link:hover .scroll-arrow {
    transform: translateY(5px) scale(1.2);
}

/* Smooth Transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Portfolio Overlay Enhancement */
.portfolio-overlay {
    background: linear-gradient(135deg, rgba(221, 51, 51, 0.96) 0%, rgba(198, 40, 40, 0.96) 100%);
    backdrop-filter: blur(3px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.portfolio-item:hover .portfolio-overlay {
    backdrop-filter: blur(4px);
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    color: #ffffff;
    font-weight: 700;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

.portfolio-overlay p {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    font-family: var(--font-primary);
    transform: translateY(10px);
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

.view-details-btn {
    font-family: var(--font-accent);
    font-weight: 700;
    letter-spacing: 0.8px;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(10px);
}

.portfolio-item:hover .view-details-btn {
    transform: translateY(0);
}

.view-details-btn:hover {
    transform: scale(1.1) rotate(-3deg) translateY(0);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Section fade-in effect */
.et_pb_section {
    animation: fadeIn 0.8s ease-out;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

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

/* Selection Color */
::selection {
    background: rgba(221, 51, 51, 0.2);
    color: #2c2c2c;
}

::-moz-selection {
    background: rgba(221, 51, 51, 0.2);
    color: #2c2c2c;
}

/* ========================================
   PLAYFUL & UNEXPECTED INTERACTIONS
   ======================================== */

/* Subtle breathing animation for hero slider overlay */
.hero-slide-overlay {
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.95;
    }
}

/* Section headers with playful decorative element */
.section-header h2 {
    position: relative;
    transition: all 0.4s ease;
}

.section-header:hover h2 {
    transform: scale(1.02);
}

.section-header h2::after {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-header:hover h2::after {
    transform: translateX(-50%) scale(1.3) rotate(10deg);
}

/* Playful image tilt on hover */
.portfolio-image img,
.testimonial-card img {
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Staggered fade-in for portfolio items */
.portfolio-item {
    animation: fadeInScale 0.6s ease-out backwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }
.portfolio-item:nth-child(7) { animation-delay: 0.7s; }
.portfolio-item:nth-child(8) { animation-delay: 0.8s; }
.portfolio-item:nth-child(9) { animation-delay: 0.9s; }
.portfolio-item:nth-child(10) { animation-delay: 1s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Playful contact form container */
.contact-form-container {
    transition: all 0.4s ease;
}

.contact-form-container:hover {
    transform: scale(1.01);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
}

/* About section feature boxes staggered entrance */
.feature-box {
    animation: slideInUp 0.6s ease-out backwards;
}

.feature-box:nth-child(1) { animation-delay: 0.2s; }
.feature-box:nth-child(2) { animation-delay: 0.4s; }
.feature-box:nth-child(3) { animation-delay: 0.6s; }

/* Testimonial entrance animation */
.testimonial-card {
    animation: fadeInUp 0.8s ease-out backwards;
}

.testimonials-container .et_pb_column_1_2:nth-child(1) .testimonial-card {
    animation-delay: 0.2s;
}

.testimonials-container .et_pb_column_1_2:nth-child(2) .testimonial-card {
    animation-delay: 0.4s;
}

/* Playful link interactions */
a {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Unexpected color shift on link hover */
#top-menu a:hover {
    letter-spacing: 1px;
}

/* Subtle page transitions on scroll */
.et_pb_section {
    transition: all 0.3s ease;
}

/* Footer links with playful bounce */
.footer-nav li {
    transition: all 0.3s ease;
}

.footer-nav li:hover {
    transform: scale(1.1);
}

/* Hero subheadline with subtle shift */
.hero-subheadline {
    transition: all 0.4s ease;
}

.hero-content:hover .hero-subheadline {
    transform: translateY(2px);
    opacity: 0.9;
}

/* Contact form fields with playful focus */
.form-group {
    transition: all 0.3s ease;
}

.form-group:focus-within {
    transform: translateX(3px);
}

/* Mobile menu with playful entrance */
#top-menu-nav.mobile-active {
    animation: menuSlide 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes menuSlide {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
