/* Alaska Forge — Custom Styles */

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

/* Custom selection color */
::selection {
    background-color: #C0603A;
    color: #FDF8F3;
}

/* Geometric shapes for hero */
.geo-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(192, 96, 58, 0.08) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: float-slow 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(245, 230, 211, 0.5) 0%, transparent 70%);
    bottom: 15%;
    left: 5%;
    animation: float-slow 6s ease-in-out infinite reverse;
}

.geo-square {
    position: absolute;
    pointer-events: none;
    background: rgba(192, 96, 58, 0.06);
    border-radius: 20px;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 45%;
    transform: rotate(15deg);
    animation: rotate-slow 12s linear infinite;
}

.geo-triangle {
    position: absolute;
    pointer-events: none;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 50px 86px 50px;
    border-color: transparent transparent rgba(192, 96, 58, 0.08) transparent;
    bottom: 20%;
    right: 10%;
    animation: float-slow 7s ease-in-out infinite;
}

.geo-triangle::after {
    content: '';
    position: absolute;
    top: 20px;
    left: -25px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 25px 43px 25px;
    border-color: transparent transparent rgba(245, 230, 211, 0.5) transparent;
}

.geo-bar {
    position: absolute;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(192, 96, 58, 0.1), transparent);
    height: 2px;
    width: 200px;
    bottom: 30%;
    left: -2%;
    transform: rotate(-5deg);
}

.geo-dot {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.geo-dot-1 {
    width: 12px;
    height: 12px;
    background: #C0603A;
    opacity: 0.2;
    top: 30%;
    left: 38%;
    animation: pulse-dot 3s ease-in-out infinite;
}

.geo-dot-2 {
    width: 8px;
    height: 8px;
    background: #C0603A;
    opacity: 0.15;
    bottom: 25%;
    right: 15%;
    animation: pulse-dot 3s ease-in-out infinite 1s;
}

.geo-dot-3 {
    width: 6px;
    height: 6px;
    background: #E8D5C0;
    opacity: 0.4;
    top: 50%;
    right: 25%;
    animation: pulse-dot 3s ease-in-out infinite 2s;
}

/* Animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate-slow {
    from { transform: rotate(15deg); }
    to { transform: rotate(375deg); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0.4; }
}

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

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.revealed,
.reveal-left.revealed {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger children */
.reveal-up:nth-child(1) { transition-delay: 0ms; }
.reveal-up:nth-child(2) { transition-delay: 100ms; }
.reveal-up:nth-child(3) { transition-delay: 200ms; }
.reveal-up:nth-child(4) { transition-delay: 300ms; }

/* Navbar styles */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 20px rgba(61, 43, 31, 0.08);
}

/* Mobile menu */
#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}

/* Mobile menu lines animation */
.menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #C0603A;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #C0603A;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile link hover */
.mobile-link {
    transition: opacity 0.2s;
}

.mobile-link:hover {
    opacity: 0.7;
}

/* Image hover effects */
img {
    display: block;
    max-width: 100%;
}

/* Print styles */
@media print {
    #navbar, .geo-circle, .geo-square, .geo-triangle, .geo-bar, .geo-dot {
        display: none !important;
    }
    body {
        background: white !important;
        color: black !important;
    }
}
