/* Additional custom styles for Smooth Ambition */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Custom selection color */
::selection {
    background: var(--plum-light);
    color: white;
}

/* Subtle gradient overlay on gallery items */
.gallery-item {
    overflow: hidden;
}

/* Contact form focus styles */
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #8E44AD;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.1);
}

/* Hamburger animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navbar background transition */
nav {
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Service card hover glow */
.service-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* About accent block pulse */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.about-accent-block {
    animation: pulse 3s ease-in-out infinite;
}

/* Hero accent float */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-accent {
    animation: float 4s ease-in-out infinite;
}

.hero-dot {
    animation: float 3s ease-in-out infinite reverse;
}

/* Testimonial card border glow */
.testimonial-card:hover {
    box-shadow: 0 20px 60px rgba(91, 44, 111, 0.15);
}

/* Footer link underline on hover */
.footer-col ul li a {
    position: relative;
}

.footer-col ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber);
    transition: width 0.3s;
}

.footer-col ul li a:hover::after {
    width: 100%;
}
