/* Custom styles for Northend Rentals */

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

/* Base styles */
body {
    font-family: 'Inter', sans-serif;
    color: #1A1A1A;
    background-color: #F4F1EA;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

.font-sans {
    font-family: 'Inter', sans-serif;
}

/* Hero Section */
.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 90vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

/* Thin line accents */
.thin-line {
    height: 1px;
    background: #E3DED3;
}

/* Property Cards */
.property-card {
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.property-card:hover .property-img img {
    transform: scale(1.05);
}

.property-img img {
    transition: transform 0.6s ease;
}

/* Buttons */
.btn-primary {
    background-color: #C0593C;
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #A84A32;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #1A1A1A;
    border: 1px solid #1A1A1A;
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: #1A1A1A;
    color: white;
}

/* Navigation */
.nav-link {
    position: relative;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 400;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.nav-link:hover {
    color: #C0593C;
}

/* Mobile Menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: #1A1A1A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: #C0593C;
}

/* Form Elements */
input, textarea, select {
    font-family: 'Inter', sans-serif;
    border: 1px solid #E3DED3;
    background: white;
    transition: border-color 0.3s ease;
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #C0593C;
}

/* Scroll Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-content {
        padding: 3rem 1.5rem;
        order: 2;
    }
    
    .hero-image {
        height: 50vh;
        order: 1;
    }
}

/* Focus styles for accessibility */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid #C0593C;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .hero-image, .property-img, iframe {
        display: none;
    }
    
    body {
        background: white;
    }
    
    .btn-primary, .btn-outline {
        border: 1px solid #1A1A1A;
        background: transparent;
        color: #1A1A1A;
    }
}
