/* Custom styles for Simmons Hall */

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(250, 250, 245, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(61, 106, 46, 0.1);
}

/* Mobile menu */
.mobile-link {
    display: block;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: #3d6a2e;
}

/* Mobile menu open */
body.menu-open {
    overflow: hidden;
}

/* Geometric shapes */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

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

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: #3d6a2e;
    border-radius: 50%;
    bottom: 20%;
    left: -50px;
    opacity: 0.06;
}

.geo-circle-3 {
    width: 120px;
    height: 120px;
    background: #9dc18a;
    border-radius: 50%;
    top: 40%;
    right: 5%;
    opacity: 0.1;
}

.geo-square-1 {
    width: 100px;
    height: 100px;
    background: #3d6a2e;
    top: 15%;
    right: 15%;
    opacity: 0.06;
    transform: rotate(45deg);
}

.geo-square-2 {
    width: 60px;
    height: 60px;
    background: #52853e;
    bottom: 15%;
    left: 10%;
    opacity: 0.08;
    transform: rotate(20deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid #3d6a2e;
    top: 60%;
    left: 5%;
    opacity: 0.05;
    transform: rotate(-15deg);
}

/* Dark section shapes */
.geo-circle-4 {
    width: 500px;
    height: 500px;
    background: #52853e;
    border-radius: 50%;
    top: -200px;
    left: -200px;
    opacity: 0.1;
}

.geo-square-3 {
    width: 150px;
    height: 150px;
    background: #74a35c;
    bottom: -50px;
    right: 10%;
    opacity: 0.08;
    transform: rotate(30deg);
}

.geo-triangle-2 {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid #52853e;
    top: 20%;
    right: 5%;
    opacity: 0.06;
    transform: rotate(10deg);
}

.geo-circle-5 {
    width: 300px;
    height: 300px;
    background: #74a35c;
    border-radius: 50%;
    bottom: -100px;
    right: -50px;
    opacity: 0.12;
}

.geo-square-4 {
    width: 80px;
    height: 80px;
    background: #9dc18a;
    top: 10%;
    left: 5%;
    opacity: 0.08;
    transform: rotate(45deg);
}

/* Room card hover */
.room-card {
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-4px);
}

/* Feature card hover */
.feature-card {
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-2px);
}

/* Scroll reveal (below fold only) */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .room-card:hover,
    .feature-card:hover {
        transform: none;
    }
}

/* Mobile menu transitions */
#mobile-menu {
    transition: transform 0.3s ease;
}

/* Button focus states */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #3d6a2e;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: #c6dbb8;
    color: #1f3619;
}
