/*
Theme Name: House Canteen
Theme URI: http://housecanteen.applejacksites.com
Author: James Fulton - SGD
Author URI: https://sgd.com.au
Description: A simple one-page theme for House Canteen at Opera Bar
Version: 1.26
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: house-canteen
*/

/* District Pro Font Family */
@font-face {
    font-family: 'District Pro';
    src: url('fonts/district-pro-thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'District Pro';
    src: url('fonts/district-pro-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'District Pro';
    src: url('fonts/district-pro-book.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'District Pro';
    src: url('fonts/district-pro-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'District Pro';
    src: url('fonts/district-pro-demibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}

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

html {
    height: 100%;
}

html::after {
    content: '';
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: #A1B9C0;
    z-index: -2;
}

body {
    font-family: 'District Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #b8c5c9;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

body::after {
    display: none;
}

body::before {
    content: '';
    position: fixed;
    bottom: 50%;
    left: 0;
    right: 0;
    width: 100%;
    height: 120px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 Q50,36 100,60 T200,60 T300,60 T400,60 L400,120 L0,120 Z' fill='%23A1B9C0'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: 400px 120px;
    z-index: -1;
    pointer-events: none;
    transform: translateY(40px);
}

.decorative-flower {
    position: fixed;
    width: 140px;
    height: 140px;
    z-index: 1;
    top: calc(60% + 50px);
    transform: translateY(-50%);
    opacity: 1;
}

.decorative-flower.left {
    left: calc(50% - 500px);
}

.decorative-flower.right {
    right: calc(50% - 500px);
}

.decorative-flower img {
    width: 100%;
    height: 100%;
}

.container {
    max-width: 800px;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.logo {
    width: 300px;
    height: 300px;
    margin: 20px auto clamp(60px, 5vw, 160px);
}

.logo img {
    width: 100%;
    height: 100%;
}

.title {
    margin-bottom: clamp(10px, 5vw, 30px);
}

.title .at {
    font-size: 42px;
    font-style: italic;
    color: #f5f3ed;
    font-weight: 300;
    margin-right: 20px;
}

.title .opera-bar {
    font-size: 58px;
    font-weight: 800;
    color: #f5f3ed;
    letter-spacing: 8px;
    text-transform: uppercase;
}

.content {
    padding: clamp(40px, 5vw, 200px) 40px clamp(30px, 5vw, 60px);
}

.open-hours {
    font-size: 38px;
    font-weight: 700;
    color: #271E63;
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.hours-detail {
    font-size: 22px;
    color: #271E63;
    margin-bottom: 40px;
    letter-spacing: 1px;
	font-weight: 500;
}

.description {
    font-size: 17px;
    line-height: 1.8;
    color: #271E63;
    max-width: 650px;
    margin: 0 auto clamp(30px, 5vw, 50px);
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: #f5f3ed;
    color: #271E63;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #271E63;
    transition: left 0.4s ease;
    z-index: -1;
    border-radius: 30px;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: #f5f3ed;
}

@media (max-width: 1440px) {
	.logo {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 1100px) {
    .decorative-flower.left {
        left: 20px;
    }

    .decorative-flower.right {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .title .at {
        font-size: 32px;
    }

    .title .opera-bar {
        font-size: 42px;
        letter-spacing: 4px;
    }

    .decorative-flower {
        width: 90px;
        height: 90px;
    }

    .open-hours {
        font-size: 28px;
    }

    .hours-detail {
        font-size: 18px;
    }

    .description {
        font-size: 15px;
        padding: 0 10px;
    }

    .content {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
	.logo {
        width: 160px;
        height: 160px;
		margin-top: 10px;
    }

    .decorative-flower {
        display: none;
    }

    .title .opera-bar {
        font-size: 32px;
        letter-spacing: 2px;
    }
}