/* ===== Custom Styles for Morgan Hall ===== */

/* Geometric Hero Shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
}

.shape-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.08) 0%, transparent 70%);
    top: -10%;
    right: -5%;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.15) 0%, transparent 70%);
    bottom: 10%;
    left: 5%;
    animation: float-slow 15s ease-in-out infinite reverse;
}

.shape-rect-1 {
    width: 120px;
    height: 120px;
    background: rgba(251, 191, 36, 0.06);
    border: 2px solid rgba(251, 191, 36, 0.12);
    border-radius: 20px;
    top: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation: spin-slow 30s linear infinite;
}

.shape-line-1 {
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.3), transparent);
    top: 40%;
    left: -5%;
    transform: rotate(-15deg);
}

.shape-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.2) 1px, transparent 1px);
    background-size: 12px 12px;
    bottom: 20%;
    right: 30%;
}

/* Experience Section Shapes */
.exp-shape {
    position: absolute;
    pointer-events: none;
}

.shape-diamond-1 {
    width: 200px;
    height: 200px;
    background: rgba(251, 191, 36, 0.05);
    border: 2px solid rgba(251, 191, 36, 0.1);
    border-radius: 20px;
    top: 15%;
    left: 5%;
    transform: rotate(45deg);
    animation: spin-slow 25s linear infinite;
}

.shape-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.08) 0%, transparent 70%);
    bottom: -10%;
    right: -5%;
    animation: float-slow 18s ease-in-out infinite;
}

.shape-stripe-1 {
    width: 300px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(251, 191, 36, 0.15), transparent);
    top: 30%;
    right: -5%;
    transform: rotate(30deg);
}

/* CTA Section Shapes */
.cta-shape {
    position: absolute;
    pointer-events: none;
}

.shape-rect-2 {
    width: 250px;
    height: 250px;
    background: rgba(251, 191, 36, 0.04);
    border-radius: 30px;
    top: 10%;
    right: -3%;
    transform: rotate(20deg);
    animation: float-slow 22s ease-in-out infinite reverse;
}

.shape-circle-3 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(190, 24, 93, 0.1) 0%, transparent 70%);
    bottom: 5%;
    left: 10%;
    animation: float-slow 16s ease-in-out infinite;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll2 {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.animate-scroll {
    animation: scroll 30s linear infinite;
}

.animate-scroll2 {
    animation: scroll2 30s linear infinite;
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(40px);
    }
    
    .reveal[data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Room Cards */
.room-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.room-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Navbar */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbbf24;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-link {
    position: relative;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #fdf2f8;
}

::-webkit-scrollbar-thumb {
    background: #be185d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9d174d;
}

/* Selection */
::selection {
    background: rgba(190, 24, 93, 0.2);
    color: #500724;
}

/* Focus visible */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}
