/* Custom Styles for Tyler Szumada Real Estate Website */

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

/* Geometric Background Shapes */
.geo-shape {
    position: absolute;
    opacity: 0.06;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: #be185d;
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.geo-square-1 {
    width: 200px;
    height: 200px;
    background: #f59e0b;
    bottom: 10%;
    left: 5%;
    transform: rotate(15deg);
}

.geo-circle-2 {
    width: 150px;
    height: 150px;
    background: #be185d;
    border-radius: 50%;
    bottom: 20%;
    right: 15%;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 100px solid transparent;
    border-right: 100px solid transparent;
    border-bottom: 173px solid #f59e0b;
    top: 40%;
    left: 3%;
    transform: rotate(-20deg);
}

.geo-rect-1 {
    width: 120px;
    height: 80px;
    background: #be185d;
    top: 60%;
    right: 5%;
    transform: rotate(30deg);
    border-radius: 12px;
}

/* Service Card Hover Effects */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #be185d, #f59e0b);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Mobile Menu Animation */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6px;
}

/* Mobile Menu States */
#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Navbar Scroll State */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

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

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

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

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

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

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

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

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .geo-shape {
        display: none;
    }
}
