/* CSS Variables for Theming */
:root {
    --primary-color: #1f2e48;
    /* Royal Blue */
    --accent-color: #C5A059;
    /* Gold */
    --accent-light: #e6c88a;
    --text-dark: #1a1a1a;
    --text-light: #ffffff;
    --text-muted: #666666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --shadow: 0 10px 30px rgba(31, 46, 72, 0.1);
    --transition: all 0.3s ease;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    /* faint pattern background */
    background-image: radial-gradient(#1f2e480d 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Container limits width for mobile view but centers on desktop */
.card-container {
    width: 100%;
    max-width: 480px;
    /* Typical mobile max-width for this type of card */
    background: var(--card-bg);
    min-height: 100vh;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    z-index: 10;
}

/* Desktop Polish */
@media (min-width: 768px) {
    body {
        align-items: center;
        padding: 2rem 0;
    }

    .card-container {
        min-height: auto;
        border-radius: 24px;
        overflow: hidden;
    }
}

/* ==================
   Header Section
   ================== */
.hero-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.logo-area {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #2a3d5e);
    border-radius: 50%;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(31, 46, 72, 0.2);
    border: 3px solid var(--accent-color);
    overflow: hidden;
    /* Ensure image respects border-radius */
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder i {
    font-size: 2rem;
    color: var(--accent-color);
}

.business-name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.establishment {
    font-size: 0.9rem;
    color: var(--accent-dark);
    /* darker gold or just muted text */
    font-weight: 400;
    margin-top: 0.5rem;
    font-style: italic;
}

.tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 300;
}

/* ==================
   Proprietor
   ================== */
.proprietor-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(to right, rgba(197, 160, 89, 0.1), transparent, rgba(197, 160, 89, 0.1));
    border-radius: 12px;
}

.proprietor-info .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.proprietor-info .name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* ==================
   Actions
   ================== */
.actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    align-items: center;
    /* Center the text */
}

.contact-pill-link {
    text-decoration: none;
    width: 100%;
    /* Ensure it takes full width/flex behavior if needed */
    /* Or display inline-block depending on layout, but wrapper is flex */
}

.contact-number-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    background: rgba(31, 46, 72, 0.05);
    /* Light primary bg */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid rgba(197, 160, 89, 0.3);
    /* Subtle gold border */
}

.contact-number-wrapper i {
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-top: 3px;
    /* Visual correction to align with text baseline */
}

.contact-number-display {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-bottom: 0;
    /* Remove bottom margin as it's now in wrapper */
}

.btn {
    width: 100%;
    /* Make buttons full width in container */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 4px 12px rgba(31, 46, 72, 0.3);
}

.btn-primary:hover {
    background: #2a3d5e;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(31, 46, 72, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #1fab52;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* ==================
   Details Grid
   ================== */
.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

/* Increased breakpoint to 480px to keep single column on most mobile devices */
/* Single column layout maintained for all screens to prevent text overflow */
/* Media query removed to keep 'mobile' look on desktop */

.detail-card {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.detail-card:hover {
    border-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.detail-card .icon {
    width: 40px;
    height: 40px;
    background: rgba(31, 46, 72, 0.05);
    color: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.detail-card .info {
    display: flex;
    flex-direction: column;
}

.detail-card .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

.detail-card .value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ==================
   Footer
   ================== */
.footer-section {
    margin-top: auto;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 2rem;
}

.address-box {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.address-box i {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.web-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    /* Bolder */
    font-size: 1.2rem;
    /* Bigger */
    border-bottom: 3px solid var(--accent-color);
    /* Thicker line */
    padding-bottom: 4px;
    transition: var(--transition);
    margin-top: 1rem;
}

.web-link:hover {
    color: var(--accent-color);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

/* ==================
   Decorative
   ================== */
.bg-decoration {
    position: fixed;
    z-index: -1;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}

.top {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: -100px;
    left: -100px;
}

.bottom {
    width: 250px;
    height: 250px;
    background: var(--accent-color);
    bottom: -50px;
    right: -50px;
}

/* ==================
   Animations
   ================== */
.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}