/**
 * Main stylesheet for House Concepts theme
 */

/* Variables */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f1f1f1;
    --text-color: #333333;
    --heading-font: sans-serif;
    --body-font: sans-serif;
    --container-width: 1440px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
}

/* Top Bar */
.top-bar {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.your-house {
    font-weight: 600;
    font-size: 14px;
}

.location {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location i {
    color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding {
    display: flex;
    align-items: center;
    flex: 1;
    position: relative;
}

.custom-logo-link {
    display: block;
}

.custom-logo {
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-buy-classes {
    background-color: #ffffff;
    color: #000000;
    text-transform: uppercase;
    padding: 8px 15px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-buy-classes:hover {
    background-color: rgba(255,255,255,0.9);
}

.btn-account {
    color: #ffffff;
    font-size: 24px;
}

/* Main Navigation */
.main-navigation-container {
    background-color: #000000;
    position: fixed;
    margin-top: 2px;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: block;
}

.main-navigation-container.active {
    transform: translateX(0);
}

.main-navigation {
    padding: 40px 70px;
}

.main-navigation ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 32px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--secondary-color);
    padding: 0;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    transition: transform 0.3s ease;
}

.menu-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X menu icon when open */
.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Shop House ID arrow */
.menu-item-house-id a {
    display: flex;
    align-items: center;
}

.menu-item-house-id a:after {
    content: "→";
    margin-left: 15px;
    font-size: 28px;
}

/* Base Layout */
body {
    font-family: var(--body-font);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

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

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 15px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
}

.hero-buttons {
    margin-top: 30px;
}

/* Tagline Section */
.tagline-section {
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.tagline-heading {
    font-size: 36px;
    margin-bottom: 20px;
}

.tagline-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
}

/* Studios Grid */
.studios-section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 36px;
    margin-bottom: 40px;
    text-align: center;
}

.studios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.studio-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.studio-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.studio-logo {
    max-width: 80px;
    z-index: 2;
}

.studio-logo img {
    max-width: 100%;
    height: auto;
}

.studio-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}

.studio-button:hover {
    background-color: #333;
}

.buy-button-container {
    text-align: center;
    margin-top: 40px;
}

/* Private Training Section */
.private-training-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--accent-color);
}

.private-training-content {
    display: flex;
    gap: 120px;
}

.private-training-text {
    flex: 1;
}

.private-training-image {
    flex: 1;
}

.private-training-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.section-description {
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Facility Images */
.facility-images-section {
    padding: var(--spacing-md) 0;
}

.facility-images-grid {
    display: flex;
    flex-wrap: wrap;
}

.facility-image-item {
    flex: 1;
    min-width: 25%;
}

.facility-image-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* CTA Blocks */
.cta-blocks-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-blocks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.cta-block {
    text-align: center;
}

.cta-image {
    margin-bottom: 20px;
}

.cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
    max-height: 200px;
    width: 200px;
    object-fit: cover;
}

.cta-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.cta-description {
    margin-bottom: 20px;
    font-size: 16px;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f1f1f1;
}

/* App Download Section */
.app-download-section {
    padding: var(--spacing-lg) 0;
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    color: var(--secondary-color);
    position: relative;
}

.app-download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.app-download-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
}

.app-text {
    flex: 1;
}

.app-store-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.app-store-link img {
    max-width: 150px;
    height: auto;
}

.app-image {
    flex: 1;
    text-align: center;
}

.app-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    color: #000000;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}

.footer-col {
    flex: 1;
    padding: 0 15px;
    min-width: 220px;
    margin-bottom: 30px;
}

.footer-col h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: none;
    letter-spacing: 0;
}

.footer-hours p,
.footer-contact p,
.footer-address p {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-app-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn img {
    max-height: 35px;
    width: auto;
}

.footer-middle {
    margin-bottom: 40px;
}

.footer-middle h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}
.footer-contact {
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.social-icons {
    display: flex;
    gap: 8px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border-radius: 50%;
    color: #000;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.copyright p {
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    text-decoration: underline;
}

.back-to-top-container {
    text-align: right;
}

.back-to-top-link {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-to-top-link i {
    font-size: 12px;
}
.back-to-top-link .arrow-up-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .private-training-content {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }
    .footer-row {
        display: grid;
                grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-col {
        width: 100%;
        min-width: 100%;
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .back-to-top-container {
        width: 100%;
        text-align: left;
        margin-top: 10px;
    }
}

/* Responsive Header Styles */
@media (max-width: 768px) {
    .your-house {
        font-size: 12px;
    }
    
    .location {
        font-size: 12px;
    }
    
    .site-header {
        padding: 10px 0;
    }
    
   
    
    .btn-buy-classes {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .btn-account {
        font-size: 20px;
    }
    
    .main-navigation-container {
        width: 75%;
    }
    
    .main-navigation {
        padding: 80px 30px 30px;
    }
    
    .main-navigation a {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .your-house {
        display: none;
    }
    
    .btn-buy-classes {
        padding: 7px 15px;
        font-size: 11px;
    }
    
    .main-navigation-container {
        width: 100%;
    }
    
    .main-navigation {
        padding: 30px 50px;
    }
    
    .main-navigation a {
        font-size: 26px;
    }
}

@media (min-width: 769px) {
    .main-navigation-container {
        width: 500px;
    }
} 

/* Body when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Menu overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* X menu icon with smoother animation */
.menu-toggle[aria-expanded="true"] .menu-icon {
    transform: rotate(180deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
} 

/* Account Popup */
.account-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.account-popup.active {
    opacity: 1;
    visibility: visible;
}

.account-popup-content {
    background-color: #fff;
    max-width: 800px;
    width: 100%;
    border-radius: 8px;
    padding: 40px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.account-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.account-popup-close:hover {
    transform: rotate(90deg);
}

.account-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    font-weight: 600;
    color: #777;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: #000;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.account-tab-content {
    padding: 20px 0;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.account-form h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #000;
    outline: none;
}

.form-checkbox {
    display: flex;
    align-items: center;
}

.form-checkbox input {
    margin-right: 10px;
}

.btn-submit {
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background-color: #333;
}

.form-message {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    background-color: #e7f5ea;
    color: #0c6b34;
    display: block;
}

.form-message.error {
    background-color: #f9e1e5;
    color: #d93025;
    display: block;
}

.form-help {
    font-size: 12px;
    color: #777;
    margin-top: 5px;
} 

/* Password Strength Meter */
.password-strength-meter {
    margin-top: 10px;
    display: none;
}

.password-strength-meter.active {
    display: block;
}

.strength-meter-bar {
    height: 4px;
    background-color: #eee;
    margin: 5px 0;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.strength-meter-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-meter-fill.very-weak {
    width: 20%;
    background-color: #ff4d4d;
}

.strength-meter-fill.weak {
    width: 40%;
    background-color: #ffa64d;
}

.strength-meter-fill.medium {
    width: 60%;
    background-color: #ffff4d;
}

.strength-meter-fill.strong {
    width: 80%;
    background-color: #4dff4d;
}

.strength-meter-fill.very-strong {
    width: 100%;
    background-color: #1a8cff;
}

.strength-text {
    font-size: 12px;
    margin-top: 5px;
    text-align: right;
    font-weight: 500;
}

.strength-text.very-weak {
    color: #ff4d4d;
}

.strength-text.weak {
    color: #ffa64d;
}

.strength-text.medium {
    color: #999900;
}

.strength-text.strong {
    color: #29a329;
}

.strength-text.very-strong {
    color: #1a8cff;
}

/* Forgot Password Link */
.forgot-password {
    margin-top: 5px;
    text-align: right;
}

.forgot-password a {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #000;
    text-decoration: underline;
}

/* Back to Login Link */
.back-to-login {
    margin-top: 20px;
    text-align: center;
}

.back-to-login a {
    font-size: 14px;
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-to-login a:hover {
    color: #000;
    text-decoration: underline;
} 

/* OTP Inputs */
.otp-inputs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.otp-input {
    width: 45px;
    height: 55px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 24px;
    font-weight: 500;
    padding: 0;
    transition: border-color 0.3s ease;
}

.otp-input:focus {
    border-color: #000;
    outline: none;
}

.resend-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 10px;
}

.btn-text {
    background: none;
    border: none;
    color: #000;
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.btn-text:hover {
    opacity: 1;
}

.btn-text:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: none;
}

.resend-timer {
    font-size: 14px;
    color: #666;
}

/* Email Suggestions */
.email-input-container {
    position: relative;
}

.email-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 150px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.email-suggestions.active {
    display: block;
}

.email-suggestion {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.email-suggestion:hover,
.email-suggestion.focused {
    background-color: #f5f5f5;
} 

/* My Account Page */
.house-my-account {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.house-my-account h2 {
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.house-my-account h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #000;
}

.house-account-info {
    margin-top: 30px;
}

.house-account-info p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
}

.house-account-info a {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.house-account-info a:hover {
    background-color: #333;
}

.house-my-account-not-logged-in {
    text-align: center;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.house-my-account-not-logged-in p {
    font-size: 18px;
    margin-bottom: 20px;
}

.open-login-popup {
    color: #000;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
}

.open-login-popup:hover {
    text-decoration: none;
}

.account-button-logged-in i.fas.fa-user-check {
    color: #4CAF50;
} 

/* Elementor Compatibility */
.elementor-page .site-main {
    padding: 0;
}

.site-main-fullwidth {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-width);
}

/* Remove default margins on Elementor pages */
.elementor-page .entry-content {
    margin: 0;
}

/* Fix Elementor column widths on mobile */
@media (max-width: 767px) {
    .elementor-column {
        width: 100%;
    }
} 