/* Roy's Stow Travel - Custom Styles */

:root {
    --color-sand: #D4B896;
    --color-ocean: #2C6E8A;
    --color-ocean-dark: #1d4f65;
    --color-offwhite: #FAF7F2;
    --color-gold: #C49A3C;
    --color-gold-dark: #a67f2e;
    --color-dark: #2c2c2c;
    --color-text: #4a4a4a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-offwhite);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 700;
}

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

a:hover {
    color: var(--color-ocean-dark);
}

/* Navbar */
.navbar-brand-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-ocean) !important;
    font-weight: 700;
}

.navbar-brand-tagline {
    font-size: 0.7rem;
    color: var(--color-gold);
    display: block;
    margin-top: -4px;
    letter-spacing: 1px;
}

.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 0.8rem 0;
}

.navbar .nav-link {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--color-ocean);
}

.navbar .nav-link.active {
    border-bottom: 2px solid var(--color-gold);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-dark) 100%);
    color: #fff;
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,170.7C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-section h1 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 2.8rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Page Hero (smaller for subpages) */
.page-hero {
    padding: 3.5rem 0;
}

.page-hero h1 {
    font-size: 2.4rem;
}

/* Cards */
.service-card {
    background: #fff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.service-card .card-body {
    padding: 2rem;
}

.service-card .card-title {
    font-family: var(--font-heading);
    color: var(--color-ocean);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.service-card .card-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* Destination Cards */
.destination-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-3px);
}

.destination-card .card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--color-sand), var(--color-ocean));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
}

.destination-card .card-body {
    padding: 1.5rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--color-ocean);
    border-color: var(--color-ocean);
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--color-ocean-dark);
    border-color: var(--color-ocean-dark);
    transform: translateY(-1px);
}

.btn-gold {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
    color: #fff;
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background-color: var(--color-gold-dark);
    border-color: var(--color-gold-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-outline-ocean {
    border: 2px solid var(--color-ocean);
    color: var(--color-ocean);
    padding: 0.6rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-ocean:hover {
    background-color: var(--color-ocean);
    color: #fff;
}

/* Sections */
.section-padding {
    padding: 5rem 0;
}

.section-light {
    background-color: #fff;
}

.section-sand {
    background-color: var(--color-sand);
    background: linear-gradient(135deg, rgba(212,184,150,0.15) 0%, rgba(212,184,150,0.3) 100%);
}

.section-heading {
    font-family: var(--font-heading);
    color: var(--color-ocean);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.section-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-gold);
    margin-top: 0.8rem;
}

.section-heading-center::after {
    margin-left: auto;
    margin-right: auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-ocean) 0%, var(--color-ocean-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Footer */
.site-footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.8);
    padding: 3rem 0 1.5rem;
}

.site-footer h5 {
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.site-footer a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Contact Form */
.contact-form {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-form .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--color-ocean);
    box-shadow: 0 0 0 0.2rem rgba(44,110,138,0.15);
}

.contact-info-card {
    background: var(--color-ocean);
    color: #fff;
    border-radius: 12px;
    padding: 2.5rem;
}

.contact-info-card h3 {
    color: #fff;
    font-family: var(--font-heading);
}

.contact-info-card .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-info-card .info-item i {
    font-size: 1.2rem;
    margin-right: 1rem;
    margin-top: 0.2rem;
    color: var(--color-gold);
}

/* Content Area */
.content-area {
    padding: 3rem 0;
}

.content-area h2 {
    color: var(--color-ocean);
    font-family: var(--font-heading);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-area ul {
    padding-left: 1.5rem;
}

.content-area ul li {
    margin-bottom: 0.5rem;
}

/* Alert Styles */
.alert-success {
    background-color: rgba(44,110,138,0.1);
    border-color: var(--color-ocean);
    color: var(--color-ocean-dark);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .navbar-brand-text {
        font-size: 1.1rem;
    }
}

/* Admin Styles */
.admin-sidebar {
    background: var(--color-dark);
    min-height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: 1rem;
    transition: transform 0.3s ease;
}

.admin-sidebar .sidebar-brand {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 1rem;
}

.admin-sidebar .sidebar-brand h5 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0;
}

.admin-sidebar .sidebar-brand small {
    color: var(--color-gold);
    font-size: 0.7rem;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.admin-sidebar .nav-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.05);
}

.admin-sidebar .nav-link.active {
    color: #fff;
    background: rgba(44,110,138,0.3);
    border-left-color: var(--color-gold);
}

.admin-sidebar .nav-link i {
    width: 20px;
    margin-right: 0.75rem;
}

.admin-content {
    margin-left: 250px;
    padding: 2rem;
    min-height: 100vh;
    background: #f4f6f9;
}

.admin-topbar {
    background: #fff;
    padding: 1rem 2rem;
    margin: -2rem -2rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Dashboard Cards */
.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-left: 4px solid var(--color-ocean);
}

.stat-card.gold { border-left-color: var(--color-gold); }
.stat-card.success { border-left-color: #28a745; }
.stat-card.info { border-left-color: #17a2b8; }

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.stat-card .stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Tables */
.admin-table {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.admin-table .table {
    margin: 0;
}

.admin-table .table thead th {
    background: var(--color-offwhite);
    border: none;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-text);
    padding: 1rem;
}

.admin-table .table td {
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

.submission-unread {
    background-color: rgba(44,110,138,0.05);
    font-weight: 500;
}

/* Status Badges */
.badge-status-new { background-color: #17a2b8; }
.badge-status-contacted { background-color: var(--color-ocean); }
.badge-status-qualified { background-color: var(--color-gold); }
.badge-status-converted { background-color: #28a745; }
.badge-status-lost { background-color: #dc3545; }

/* Notes Timeline */
.notes-timeline {
    position: relative;
    padding-left: 2rem;
}

.notes-timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.note-item {
    position: relative;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.note-item::before {
    content: '';
    position: absolute;
    left: -1.75rem;
    top: 1.2rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-ocean);
}

.note-item .note-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.show {
        transform: translateX(0);
    }

    .admin-content {
        margin-left: 0;
    }
}
