/* HarborStay - Luxurious Hotel App Website */
/* Design System: Material Design with Luxurious Color Palette */

:root {
    --primary-burgundy: #722F37;
    --primary-dark: #4A1E23;
    --accent-gold: #D4AF37;
    --accent-gold-light: #F5E6A3;
    --deep-purple: #4A2040;
    --cream: #FDF8F0;
    --warm-white: #FFFEF9;
    --charcoal: #2D2D2D;
    --soft-gray: #6B6B6B;
    --light-gray: #E8E4E0;
    --shadow-color: rgba(74, 30, 35, 0.15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Playfair Display', Georgia, serif;
    background-color: var(--warm-white);
    color: var(--charcoal);
    margin: 0;
    padding: 0;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; letter-spacing: -0.5px; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }

p {
    font-family: 'Lato', 'Helvetica Neue', sans-serif;
    color: var(--soft-gray);
    font-size: 1.05rem;
}

a {
    color: var(--primary-burgundy);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

/* Navigation */
nav {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-dark) 100%);
    padding: 0 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px var(--shadow-color);
}

nav .nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
    gap: 2rem;
}

nav .brand-logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-gold) !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative !important;
    transform: none !important;
    left: auto !important;
}

nav .brand-logo .logo-icon {
    font-size: 1.3rem;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    flex-shrink: 0;
}

nav ul li a {
    color: var(--cream) !important;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

nav ul li a:hover {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-gold) !important;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--accent-gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(145deg, var(--cream) 0%, var(--warm-white) 50%, var(--light-gray) 100%);
    padding: 120px 2rem 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.03) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 50%;
    transform: rotate(-15deg);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: left;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.hero-content h1 span {
    color: var(--accent-gold);
}

.hero-content .tagline {
    font-size: 1.3rem;
    color: var(--soft-gray);
    margin-bottom: 2rem;
    font-style: italic;
}

.hero-content .description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-dark) 100%);
    color: var(--cream) !important;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: all 0.4s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-color);
    color: var(--accent-gold-light) !important;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: rgba(114, 47, 55, 0.08);
    color: var(--primary-burgundy) !important;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--primary-burgundy);
    transition: all 0.4s ease;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 2px 8px rgba(74, 30, 35, 0.1);
}

.btn-secondary:hover {
    background: var(--primary-burgundy);
    color: var(--cream) !important;
}

.btn-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Device Mockup */
.hero-device {
    display: flex;
    justify-content: center;
    align-items: center;
}

.device-mockup {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.device-frame {
    position: relative;
    background: linear-gradient(145deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 35px;
    padding: 12px;
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 10px 20px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.device-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 20px;
    background: #0a0a0a;
    border-radius: 0 0 15px 15px;
    z-index: 10;
}

.device-screen {
    border-radius: 25px;
    overflow: hidden;
    background: #000;
}

.device-screen img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

/* Screenshot Section */
.screenshots-section {
    padding: 80px 2rem;
    background: var(--warm-white);
    max-height: 500px;
    overflow: hidden;
}

.screenshots-section .section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.screenshots-section h2 {
    margin-bottom: 0.5rem;
}

.screenshot-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    height: 350px;
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
}

.carousel-device {
    max-width: 200px;
    position: relative;
}

.carousel-device .device-frame {
    padding: 8px;
    border-radius: 25px;
}

.carousel-device .device-frame::before {
    width: 60px;
    height: 15px;
    top: 5px;
}

.carousel-device .device-screen {
    border-radius: 18px;
}

.carousel-device .device-screen img {
    max-height: 300px;
    cursor: pointer;
    transition: transform 0.3s ease;
    filter: blur(5px);
}

.carousel-device .device-screen img.loaded {
    filter: blur(0);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-burgundy);
    color: var(--cream);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.carousel-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-gold);
    transform: scale(1.2);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--cream);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-gold);
}

/* Features Section */
.features-section {
    padding: 100px 2rem;
    background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%);
}

.features-container {
    max-width: 1100px;
    margin: 0 auto;
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-row.reverse {
    direction: rtl;
}

.feature-row.reverse > * {
    direction: ltr;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--deep-purple) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.feature-content {
    text-align: left;
}

.feature-content h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.feature-content p {
    line-height: 1.8;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-card {
    background: var(--warm-white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px var(--shadow-color);
    text-align: center;
    max-width: 300px;
}

/* CTA Section */
.cta-section {
    padding: 100px 2rem;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--deep-purple) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--cream);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: var(--accent-gold-light);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: var(--accent-gold);
    color: var(--primary-dark) !important;
}

.cta-section .btn-primary:hover {
    background: var(--accent-gold-light);
}

/* Footer */
footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 60px 2rem 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-section h4 {
    color: var(--accent-gold);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #d0ccc8;
    font-size: 1rem;
    line-height: 1.7;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #d0ccc8;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: #b0acac;
    font-size: 0.95rem;
}

/* Content Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--deep-purple) 100%);
    padding: 140px 2rem 80px;
    text-align: center;
}

.page-header h1 {
    color: var(--cream);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--accent-gold-light);
    font-size: 1.1rem;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 2rem;
}

.content-container h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-burgundy);
    font-size: 1.6rem;
}

.content-container h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
    font-size: 1.3rem;
}

.content-container p {
    text-align: left;
    margin-bottom: 1rem;
}

.content-container ul, .content-container ol {
    text-align: left;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-container li {
    margin-bottom: 0.5rem;
    color: var(--soft-gray);
    font-family: 'Lato', sans-serif;
}

.content-container a {
    color: var(--primary-burgundy);
    text-decoration: underline;
}

.content-container a:hover {
    color: var(--accent-gold);
}

/* Contact Form */
.contact-section {
    padding: 60px 2rem;
    background: var(--cream);
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-card {
    background: var(--warm-white);
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 40px var(--shadow-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    text-align: left;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--warm-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-burgundy);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input[type="file"] {
    padding: 0.75rem;
    cursor: pointer;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-submit .btn-primary {
    width: 100%;
    max-width: 300px;
    padding: 1rem 2rem;
}

.form-message {
    display: none;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

/* Privacy Accept Button */
.privacy-accept-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-dark) 100%);
    padding: 1.5rem 2rem;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -5px 30px var(--shadow-color);
}

.privacy-accept-container .btn-accept {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gold);
    color: var(--primary-dark) !important;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.privacy-accept-container .btn-accept:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn-group {
        justify-content: center;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-row.reverse {
        direction: ltr;
    }

    .feature-content {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    nav .nav-wrapper {
        flex-wrap: wrap;
        height: auto;
        padding: 1rem 0;
    }

    nav .brand-logo {
        font-size: 1.2rem;
    }

    nav ul {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        padding: 0.75rem 1rem;
        justify-content: flex-start;
    }

    .mobile-nav-toggle {
        display: block;
    }

    .hero {
        padding: 100px 1.5rem 60px;
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .device-mockup {
        max-width: 220px;
    }

    .screenshots-section {
        padding: 60px 1rem;
        max-height: 400px;
    }

    .screenshot-carousel {
        height: 280px;
    }

    .carousel-device {
        max-width: 160px;
    }

    .carousel-device .device-screen img {
        max-height: 240px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .features-section {
        padding: 60px 1.5rem;
    }

    .cta-section {
        padding: 60px 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 120px 1.5rem 60px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .content-container {
        padding: 40px 1.5rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    nav {
        padding: 0 1rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content .tagline {
        font-size: 1.1rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    h2 {
        font-size: 1.75rem;
    }

    .device-mockup {
        max-width: 200px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 90px 2rem 40px;
    }

    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .device-mockup {
        max-width: 180px;
    }

    .screenshots-section {
        max-height: 300px;
        padding: 40px 2rem;
    }

    .screenshot-carousel {
        height: 200px;
    }

    .carousel-device .device-screen img {
        max-height: 180px;
    }
}

/* Animation effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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