/*
Theme Name: Bouillon Gavroche
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: Custom WordPress theme built from scratch.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: my-custom-theme
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-theme, responsive, accessibility-ready
*/

/* ==================================================
   CSS RESET
================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

/* ==================================================
   VARIABLES
================================================== */

:root {
    --color-primary: #2563eb;
    --color-primary-dark: #1d4ed8;
    --color-secondary: #64748b;
    --color-text: #222222;
    --color-background: #ffffff;
    --color-border: #e5e7eb;

    --container-width: 1200px;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --border-radius: 8px;

    --transition-fast: 0.2s ease;
}

/* ==================================================
   TYPOGRAPHY
================================================== */

@font-face {
  font-family: 'Rabilone';
  src: url('assets/fonts/Rabilone.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Bell Gothic Std Light';
  src: url('assets/fonts/BellGothicStd-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: 'Beautiful Every Time';
  src: url('assets/fonts/BeautifulEveryTime.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.section-title {
  font-family: 'Rabilone', serif;
  font-weight:400;
}

.handwritten {
  font-family: 'Beautiful Every Time', cursive;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

.text-center{
    text-align:center;
}

.font-red{
    color: #e5211a;
}

.font-white{
    color: #fff;
}

.section-title{
    letter-spacing: 6px;
}

.font-h-17,
.font-h-17 p{
    line-height:2.5;
}

.font-24{
    font-size:24px;
}

.font-28{
    font-size:28px;
}

.font-45{
    font-size:45px;
}

.font-32{
    font-size:32px;
}

.font-ls-0{
    letter-spacing: 0!important;
}

/* ==================================================
   LAYOUT
================================================== */

.bg-red{
    background-color: #e5211a;
}

.mb-0{
    margin-bottom:0;
}

.mb-10{
    margin-bottom:10px;
}

.mb-90{
    margin-bottom:90px;
}

.pl-0{
    padding-left:0;
}

.pr-10{
    padding-right:10px;
}

.py-5{
    padding-top:60px;
    padding-bottom:60px;
}

.py-150{
    padding-top:150px;
    padding-bottom:150px;
}

.px-0{
    padding-left:0;
    padding-right:0;
}

.px-5{
    padding-left:60px;
    padding-right:60px;
}

.v-center {
    display: flex;
    align-items: center;   /* Vertical alignment */
    justify-content: flex-end;  /* Horizontal alignment to the right */
}

.border-right{
    border-right:1px solid #000;
}

.shadow{
    box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

body, 
html{
    overflow-y: auto;
}

body{
	margin: 0;
	padding: 0;
	font-family: 'Bell Gothic Std Light', Arial, sans-serif;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: #000;
	background-color: hsla(0, 40%, 92%, .055);
}

.section-1{
    margin-bottom:30px;
}

.section-2{
    height:600px;
    overflow:hidden;
    margin-bottom:30px;
}

.section-3{
    margin-bottom:30px;
}

.section-3 .img{
    max-width:500px;
    margin:0 auto;
}

.section-3 .section-content{
   margin-left:25%;
   position:relative;
}

.section-3 .section-content .french-wine{
    position:absolute;
    z-index:9999;
    bottom:-150px;
    left:-230px;
}

.section-3 ul{

}

.section-3 ul li{
    text-align:right;
    border-bottom:1px solid #000;
    padding:10px 0;
    font-size:24px;
}

.section-4{
    margin-bottom:30px;
}

.section-4 .section-content{
    padding-top:30px;
    padding-right:60px;
    padding-bottom:30px;
    padding-left:60px;
}

.section-4 .section-content p{
    font-size:24px;
}

.section-5{
    position:relative;
    top:-120px;
}

.section-5 .section-content{
    position:relative;
}

.section-5 .section-content .img{
    position:relative;
    z-index:-1;
}

.section-5 .section-content .french-baguette{
    position:absolute;
    top:-100px;
    right:-70px;
    z-index:9999;
}

.section-6 {
    position:relative;
    top:-120px;
} 

.section-6 .section-content{
    position:relative;
}

.section-6 .section-content .beef-bourguignon{
    position:absolute;
    top:-440px;
    right:80px;
    z-index:9999;
}

.section-7 .section-content{
    /*padding-top:60px;*/
}

.section-7 .section-content .section-title{
    letter-spacing: 0;
}

.section-8 .section-content{
    margin-left:60px;
    margin-right:60px;
}


.section-8  .section-content .main-information-text {
    align-items: center;
    display: flex;
    margin: 15px 0;
}

.section-8 .section-content .main-information-text img{
    margin-right:15px;
}


/* ==================================================
   HEADER
================================================== */

.header{
    margin-top:30px;
}

.header-social{
    text-align:right;
    display: flex;
    justify-content: end; /* Align horizontally */
    align-items: center; 
    height:100%;
}

.header-social a{
    display:inline-block;
    padding:0 5px;
}

.header-logo{
    width:550px;
    margin-top:20px;
    margin-right:auto;
    margin-bottom:15px;
    margin-left:auto;
}


/* ==================================================
   IMAGES
================================================== */

.img{
	position:relative;
	width:100%;
	overflow:hidden;
	display:block;
}

.img img{
	position:absolute;
	top:0;
	right:0;
	bottom:0;
	left:0;
	height:100%;
	width:100%;
	object-fit: cover;
}

.img-banner{
	padding-top: 45%;
}

.img-wide{
	padding-top: 56.25%;
}

.img-default{
	padding-top: 75%;   /* Aspect Ratio Height */
}

.img-sq{
	padding-top: 100%;   /* Half of your width */; 
}

.img-380{
    height:380px;
}

.img-480{
    height:480px;
}

/* ==================================================
   BUTTONS
================================================== */

.btn {
    background-color: #e5211a;
        border-radius: 10px;
        color: #fff;
        display: inline-block;
        font-size: 18px;
        margin: 18px auto;
        padding: 12px 23px;
        text-transform: uppercase;
}


.button,
.wp-block-button__link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.button:hover,
.wp-block-button__link:hover {
    background: var(--color-primary-dark);
}

/* ==================================================
   POSTS
================================================== */

.post-card {
    margin-bottom: 2rem;
}

.post-title {
    margin-bottom: 0.5rem;
}

.post-meta {
    color: var(--color-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* ==================================================
   FORMS
================================================== */

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* ==================================================
   FOOTER
================================================== */

.footer{
    margin-top:60px;
    padding-bottom:30px;
}

.footer-logo{
    margin:30px auto;
    width:150px;
}

.footer p{
    margin-bottom:0px;
}

/* ==================================================
   WORDPRESS CORE CLASSES
================================================== */

.alignleft {
    float: left;
    margin-right: 1rem;
}

.alignright {
    float: right;
    margin-left: 1rem;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 0.875rem;
    color: var(--color-secondary);
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .main-navigation ul {
        flex-direction: column;
    }
}