:root {
        --royal-blue: #3c4958;
        --gold: #cdb589;
        --deep-gold: #9e7e17;
        --white: #ffffff;
        --bg-gray: #f4f4f4;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    html, body {
		max-width: 100%;
		overflow-x: hidden;
	}
	body { 
        font-family: 'Open Sans', sans-serif; 
        background-color: var(--white); 
        color: #333; 
        overflow-x: hidden; 
    }

    h1, h2, h3 { font-family: 'Cinzel'; letter-spacing: 2px; }

    /* --- Hero Section --- */
	.hero {
		min-height: 100vh;
		width: 100%;
		background: linear-gradient(rgba(60, 73, 88, 1), rgba(40, 53, 68, 1));
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
		border-bottom: 8px solid var(--gold);
		padding: 60px 20px; /* Essential: prevents content from overflowing the screen height */
		overflow: hidden; /* Safety net for animations */
	}

	.hero-logo {
		width: 180px; /* Slightly smaller for better balance */
		height: auto;
		margin-bottom: 30px;
	}

	.hero-title {
		font-family: 'Cinzel';
		font-size: clamp(2.5rem, 10vw, 5rem);
		line-height: 1.1;
		color: var(--gold);
		text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
		margin-bottom: 20px;
	}

	.hero-subtitle {
		font-family: 'Cinzel';
		font-size: clamp(1rem, 4vw, 1.5rem);
		color: var(--white);
		letter-spacing: 4px;
		text-transform: uppercase;
		opacity: 0.9;
		font-weight: 400;
	}

    /* --- Global Layout --- */
    section { padding: 100px 8%; text-align: center; }
    .section-title { margin-bottom: 60px; color: var(--royal-blue); font-size: 2.5rem; }
    .section-title::after { 
        content: ''; display: block; width: 80px; height: 4px; 
        background: var(--gold); margin: 15px auto; 
    }

    /* --- Work Grid --- */
    .work-grid {
        display: flex; flex-wrap: wrap; justify-content: center;
        gap: 30px; max-width: 1400px; margin: 0 auto;
    }

    .work-card {
        width: 300px; background: var(--white);
        border: 1px solid #e0e0e0; border-bottom: 4px solid var(--gold);
        display: flex; flex-direction: column;
        transition: transform 0.3s ease; overflow: hidden; text-align: left;
    }

    .work-card:hover { transform: translateY(-10px); border-color: var(--royal-blue); }
    .work-img { width: 300px; height: 300px; object-fit: cover; }
    .work-content { padding: 20px; flex-grow: 1; }
    .work-content h3 { color: var(--royal-blue); font-size: 1.1rem; margin-bottom: 12px; }
    .work-content ul { list-style: none; padding-left: 0; }
    .work-content ul li { margin-bottom: 8px; font-size: 0.9rem; position: relative; padding-left: 20px; }
    .work-content ul li::before { content: '◈'; position: absolute; left: 0; color: var(--gold); }
    
    .row-break { flex-basis: 100%; height: 0; display: none; }

    /* --- About Us --- */
    .about { background: var(--bg-gray); display: flex; flex-direction: column; align-items: center; padding: 100px 15%; }
    .about-owners { display: flex; justify-content: center; gap: 40px; margin-bottom: 60px; flex-wrap: wrap; }
    .owner-card { display: flex; flex-direction: column; align-items: center; width: 280px; }
    .owner-portrait { 
        width: 100%; height: 350px; object-fit: cover; border: 5px solid var(--gold); 
        box-shadow: 0 15px 30px rgba(0,0,0,0.1); margin-bottom: 15px; 
    }
    .owner-name { font-family: 'Cinzel', serif; color: var(--royal-blue); font-size: 1.4rem; font-weight: bold; margin-bottom: 5px; }
    .owner-title { color: var(--gold); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; }
    .about-content { max-width: 800px; margin: 0 auto; }
    .about-content p { line-height: 1.8; font-size: 1.1rem; margin-bottom: 20px; color: #444; }
    .bible-verse { font-family: 'Cinzel', serif; color: var(--royal-blue); font-weight: bold; margin-top: 30px; letter-spacing: 1px; }

    /* --- Ratings --- */
    .ratings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1200px; margin: 0 auto; }
    .rating-container {
        background: var(--white); border: 1px solid #e0e0e0; border-top: 4px solid var(--gold);
        padding: 15px 10px; box-shadow: 0 8px 15px rgba(0,0,0,0.05);
        transition: transform 0.3s ease; text-align: center;
    }
    .rating-container:hover { transform: translateY(-8px); border-color: var(--royal-blue); }
    .rating-item { font-family: 'Cinzel', serif; font-weight: bold; color: var(--royal-blue); font-size: 1.1rem; }
    .stars { color: var(--gold); display: block; font-size: 1.5rem; margin-top: 10px; letter-spacing: 3px; }

    /* --- Logo Slider --- */
    .slider-container {
        overflow: hidden; padding: 50px 0; background: var(--royal-blue);
        border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold);
        width: 100%; position: relative;
    }
    .logo-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
    .logo-track img { height: 60px; width: auto; margin: 0 50px; flex-shrink: 0; opacity: 0.6; transition: 0.3s; }
    .logo-track img:hover { opacity: 1; }
    .slider-container:hover .logo-track { animation-play-state: paused; }

    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    /* --- Contact --- */
    .contact-container { 
        display: flex; justify-content: center; gap: 10%; 
        text-align: left; max-width: 1400px; margin: 0 auto; 
    }
	.contact-container a {
        color: var(--gold);
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        border-bottom: 1px solid transparent;
        padding-bottom: 2px;
        display: inline-block; /* Ensures the border stays under the text */
    }
	.contact-container a:hover {
        color: var(--royal-blue);
        border-bottom: 1px solid var(--gold);
        transform: translateY(-1px); /* Subtle "lift" effect */
    }
	.details p strong {
        color: var(--royal-blue);
        text-transform: uppercase;
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-right: 8px;
    }
    .contact-form { flex: 0 1 30%; display: flex; flex-direction: column; }
    .details { flex: 0 1 30%; }
    .contact-form input, .contact-form textarea { 
        width: 100%; padding: 15px; margin-bottom: 20px; 
        border: 1px solid #ddd; background: #fdfdfd; font-family: inherit; 
    }
    .contact-form button { 
        background: var(--royal-blue); color: var(--gold); padding: 18px 45px; 
        border: none; font-family: 'Cinzel'; cursor: pointer; font-weight: bold; 
        transition: 0.3s; align-self: flex-start; 
    }
    .contact-form button:hover { background: var(--gold); color: var(--white); }
    .details h3 { margin-bottom: 30px; color: var(--royal-blue); }
    .details p { margin-bottom: 15px; font-size: 1.1rem; }

    /* --- Footer --- */
    footer {
        background-color: #001a4d; color: var(--white); padding: 30px 0;
        border-top: 4px solid var(--gold); text-align: center;
        font-size: 0.9rem; letter-spacing: 1px;
    }
    .copyright { opacity: 0.8; }
    #honeypot { display: none !important; visibility: hidden; }

    /* --- MEDIA QUERIES --- */

    @media (min-width: 1024px) {
        .row-break { display: block; }
    }

    @media (max-width: 1024px) {
        .ratings-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 992px) {
        .contact-container { flex-direction: column; align-items: center; gap: 50px; }
        .contact-form, .details { flex: 0 1 100%; width: 100%; max-width: 500px; }
        .contact-form button { width: 100%; }
        section { padding: 60px 5%; }
    }

    @media (max-width: 600px) {
        .hero h1 { font-size: 2.5rem; }
        .hero img { width: 120px; }
        .owner-card, .owner-portrait { width: 100%; max-width: 300px; }
        .ratings-grid { grid-template-columns: 1fr; }
        .about { padding: 60px 8%; }
    }
	/* 404 */
	.error-container {
		height: calc(100vh - 100px); /* Adjusts for footer height */
		background: linear-gradient(rgba(60, 73, 88, 1), rgba(40, 53, 68, 1));
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		color: var(--gold);
		text-align: center;
		padding: 0 5%;
	}

	.error-container h1 { font-size: 8rem; margin: 0; }
	.error-container h2 { font-size: 2rem; margin-bottom: 20px; text-transform: uppercase; }
	.error-container p { font-size: 1.1rem; color: var(--white); margin-bottom: 30px; max-width: 600px; line-height: 1.6; }
	
	.timer-text { font-style: italic; opacity: 0.8; font-size: 0.9rem; }
	
	.back-home {
		color: var(--gold);
		text-decoration: none;
		border: 2px solid var(--gold);
		padding: 12px 30px;
		font-family: 'Cinzel';
		font-weight: bold;
		transition: 0.3s;
	}

	.back-home:hover {
		background: var(--gold);
		color: var(--white);
	}

	.error-logo {
		width: 150px;
		margin-bottom: 30px;
		cursor: pointer;
		transition: transform 0.3s ease;
	}

	.error-logo:hover { transform: scale(1.05); }